1. Home
  2. Construction
  3. Volume Calculator
Construction

Volume Calculator

Measure the volume of a rectangular prism.

Your numbers

m
m
m

Results update as you type. Nothing you enter is sent anywhere.

Result

2 m³

Volume = length × width × height. Rectangular prism; SI length inputs, no waste applied.

Formula used

Volume = length × width × height

The Volume Calculator finds the volume of a rectangular box or space in cubic meters from length, width and height. Use it for raised beds, planters, trenches, storage bins, tanks, shipping crates and room air volume. It applies no waste allowance, so the answer is the exact geometric space.

How to use the Volume calculator

  1. Enter Length in meters.
  2. Enter Width in meters, at right angles to the length.
  3. Enter Height in meters. For a bed or trench, this is the depth of fill, not the height of the sides if you will not fill to the top.
  4. Read the volume in m³. Multiply by 1,000 for liters, by 35.3147 for cubic feet or by 1.30795 for cubic yards.

How the volume calculation works

FormulaVolume = length × width × height

Choosing the right height

The height you enter should be the height of what you are measuring, not the container. A raised bed with 30 cm sides that you fill to 25 cm holds less soil than the box's full volume. For a trench, use the dug depth; for room air, use floor to ceiling.

For containers, measure the inside dimensions. Wall thickness matters more than it seems: a planter 60 cm wide outside with 2 cm walls is 56 cm inside, and that 7% difference applies to two dimensions at once.

Converting to liters, cubic feet and cubic yards

One cubic meter is exactly 1,000 liters. Bagged soil and compost are usually labeled in liters or cubic feet, while bulk materials in the US are sold by the cubic yard. One cubic foot is about 0.0283 m³ (28.3 L) and one cubic yard is about 0.7646 m³.

Because volume involves three dimensions, unit slips are cubed. Typing 30 for a 30 cm depth instead of 0.3 makes the result 100 times too large. If the answer looks far too big, check the height field first.

When to use a specialized calculator

For concrete, use the Concrete Calculator, which adds a waste allowance and explains ready-mix and bag conversions. For gravel or mulch spread over an area, the Gravel and Mulch calculators take area and depth directly. For loose materials, remember that volume and weight are different: suppliers that sell by the ton use a density for their specific product, which this calculator does not assume.

For round tanks or cylinders, use π × radius² × height instead, since this calculator only handles rectangular prisms. A water butt 0.6 m across and 0.9 m tall, for example, holds about π × 0.3² × 0.9 ≈ 0.254 m³, or 254 liters. For tapered shapes such as a sloped trench, averaging the top and bottom widths gives a reasonable estimate of the volume.

Worked examples

Soil for a raised garden bed, 2.4 × 1.2 m filled 30 cm deep

Length: 2.4 m · Width: 1.2 m · Height: 0.3 m

  1. Convert the depth: 30 cm ÷ 100 = 0.3 m.
  2. Volume: 2.4 × 1.2 × 0.3 = 0.864 m³.
  3. In liters: 0.864 × 1,000 = 864 L. In 50 L bags: 864 ÷ 50 = 17.28, so 18 bags.

Result: 0.864 m³

A storage box measured in feet, 6 × 3 × 2 ft

Length: 1.8288 m · Width: 0.9144 m · Height: 0.6096 m

  1. Convert each side: 6 × 0.3048 = 1.8288 m; 3 × 0.3048 = 0.9144 m; 2 × 0.3048 = 0.6096 m.
  2. Volume: 1.8288 × 0.9144 × 0.6096 ≈ 1.019406 m³.
  3. Check in feet: 6 × 3 × 2 = 36 ft³, and 36 × 0.0283168 ≈ 1.0194 m³.

Result: 1.019406 m³

Assumptions and limits

Rectangular prism; SI length inputs, no waste applied.

Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.

Frequently asked questions

How do I calculate cubic meters?

Multiply length × width × height, all in meters. A box 2 m long, 1 m wide and 0.5 m high holds 1 m³. Convert centimeters to meters first by dividing by 100.

How many liters are in a cubic meter?

Exactly 1,000. So a 0.864 m³ raised bed needs 864 liters of soil, and a 1,000-liter tank holds 1 m³.

How do I convert cubic feet to cubic yards?

Divide by 27, because a yard is 3 feet and 3 × 3 × 3 = 27. A 36 ft³ space is 1.33 yd³.

How much soil do I need for a raised bed?

Multiply the inside length and width by the depth you will fill. A 4 × 8 ft bed filled 10 inches deep is 4 × 8 × (10 ÷ 12) ≈ 26.7 ft³, about 0.99 yd³ or 0.755 m³. Loose soil settles after watering, so expect to top up.

How do I find the volume of a room?

Multiply floor length by width by ceiling height. A 5 × 4 m room with a 2.5 m ceiling holds 50 m³ of air. Ventilation figures such as air changes per hour are calculated from this volume.

Sources