ThisCalculator

Everyday

Rectangular Prism Volume: Formula & Examples

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Rectangular Prism Volume: Formula & Examples

This calculator finds the volume of a rectangular prism (also called a cuboid or a box) when you enter its length, width, and height. You get the volume in cubic units, and the result updates instantly as you change any dimension.

Formula

The volume of a rectangular prism is the amount of space it occupies, calculated by multiplying its three dimensions together. In words: Volume = Length × Width × Height. In symbols: V = l × w × h, where V is the volume, l is the length, w is the width, and h is the height. All three dimensions must be in the same unit before multiplying; the volume is then in that unit cubed (e.g., cm × cm × cm = cm³).

Worked Example

Using the default values from the calculator: length = 5 m, width = 3 m, height = 2 m.

  1. Write the formula: V = l × w × h
  2. Substitute the numbers: V = 5 × 3 × 2
  3. Multiply: 5 × 3 = 15, then 15 × 2 = 30
  4. Result: V = 30 cubic meters (m³)

The calculator shows 30.00 m³, matching the step-by-step calculation.

When to Use This Formula

Use the rectangular prism volume formula whenever you need to know how much a box-shaped object can hold or how much space it takes up. Common real-world situations include:

  • Finding the capacity of a fish tank, shipping box, or storage container.
  • Calculating the volume of concrete needed for a rectangular slab or footing.
  • Determining the space inside a room (length × width × height) for air conditioning or heating estimates.
  • Working out the volume of a rectangular pool to estimate water needed.

The formula works for any right rectangular prism—every face is a rectangle and all angles are 90 degrees. If the shape is not a perfect rectangle (e.g., a cylinder or a pyramid), you need a different formula.

How to Read the Result

The result is in cubic units, which tells you how many unit cubes of that size fit inside the prism. For example, a volume of 30 m³ means 30 cubes of 1 m × 1 m × 1 m would fill the space. If you measured in centimeters, the volume is in cubic centimeters (cm³), which is often used for smaller objects like a shoebox. For liquids, 1 cm³ equals 1 milliliter, and 1,000 cm³ equals 1 liter. In the US customary system, common units are cubic inches (in³), cubic feet (ft³), and cubic yards (yd³). For example, a box that is 2 ft × 3 ft × 4 ft has a volume of 24 ft³.

Common Mistakes and How to Avoid Them

  • Mixing units: Always convert all three dimensions to the same unit before multiplying. If one side is in meters and another in centimeters, convert centimeters to meters (divide by 100) or meters to centimeters (multiply by 100) first.
  • Confusing volume with surface area: Volume is the space inside (l × w × h), while surface area is the total area of all six faces (2lw + 2lh + 2wh). They are different quantities with different units (cubic vs. square).
  • Using the wrong dimension: Make sure you have the length, width, and height—not the diagonal or the perimeter. The formula uses the three perpendicular edges that meet at a corner.
  • Rounding too early: If you have decimals, keep full precision until the final step, then round to the desired number of decimal places.

Limits of the Formula

This formula only applies to right rectangular prisms. It does not work for slanted boxes (oblique prisms) or shapes with curved surfaces like cylinders, spheres, or cones. Also, it assumes the prism is solid and has uniform dimensions; if the object has hollow sections or irregular internal structures, the formula gives the external volume, not the actual capacity. For a hollow box, you would subtract the volume of the empty space inside. Additionally, the formula gives the geometric volume, not the weight—to find mass, you need the density of the material.

Frequently Asked Questions

How do I find the volume if I only know the surface area?

You cannot determine the volume from surface area alone because many different rectangular prisms can have the same surface area but different volumes. You need at least two of the three dimensions, or the surface area plus one dimension, to solve for the others. For example, a cube with surface area 54 m² has side 3 m (since 6s² = 54), so volume = 27 m³, but a non-cube prism with the same surface area could have a different volume.

What if my box has different units for length, width, and height?

Convert all dimensions to the same unit before multiplying. For instance, if length is 2 m, width is 50 cm, and height is 0.5 m, convert 50 cm to 0.5 m, then multiply 2 × 0.5 × 0.5 = 0.5 m³. If you prefer to work in centimeters, convert 2 m to 200 cm and 0.5 m to 50 cm, giving 200 × 50 × 50 = 500,000 cm³, which is the same as 0.5 m³.

How do I convert cubic meters to liters?

1 cubic meter equals 1,000 liters. So multiply the volume in m³ by 1,000 to get liters. For example, 0.5 m³ × 1,000 = 500 liters. Similarly, 1 cm³ equals 1 milliliter, so 500,000 cm³ is 500,000 mL, which is 500 liters.

Can I use this formula for a cube?

Yes, a cube is a special rectangular prism where all three dimensions are equal. The formula becomes V = s³, where s is the side length. For example, a cube with side 4 cm has volume 4 × 4 × 4 = 64 cm³.

What is the difference between volume and capacity?

Volume is the total space occupied by an object, measured in cubic units. Capacity is the amount of liquid or substance a container can hold, often measured in liters or gallons. For a rectangular container, capacity is the internal volume—you would use the inside dimensions, not the outside. The formula is the same, but you must measure the interior dimensions.

Related

Formula used
in l | Length | m | 5 | 0
in w | Width | m | 3 | 0
in h | Height | m | 2 | 0
out V | Volume | m³ | l * w * h | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.