ThisCalculator

Everyday

Mr J Volume of a Rectangular Prism? Formula & Examples

Updated · Standard formula, shown below

Volume 200.00 cm³
Length
10 cm
You entered
Width
5 cm
You entered
Height
4 cm
You entered

This calculator works out 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 (like cm³, m³, or in³) instantly. The formula is simple: multiply the three dimensions together.

Formula

The volume of a rectangular prism is found by multiplying its length, width, and height. In symbols:

V = l × w × h

Where:

  • V = volume (cubic units, e.g., cm³, m³, in³)
  • l = length (linear unit, e.g., cm, m, in)
  • w = width (linear unit)
  • h = height (linear unit)

All three dimensions must be in the same unit before multiplying. If you mix meters and centimeters, you’ll get a wrong answer.

Worked Example

Using the calculator defaults: length = 10 cm, width = 5 cm, height = 4 cm.

  1. Write the formula: V = l × w × h
  2. Plug in the numbers: V = 10 × 5 × 4
  3. Multiply: 10 × 5 = 50
  4. Then 50 × 4 = 200

So V = 200 cm³. That matches the calculator’s output of 200.00 cm³.

Why It Works: The Idea Behind the Formula

A rectangular prism is a 3D shape with six rectangular faces, like a shoebox or a brick. The volume measures how much space it occupies. Think of filling the prism with unit cubes (1 cm × 1 cm × 1 cm).

First, the length × width gives the area of the base – how many unit cubes fit in one layer. Then multiplying by the height tells you how many layers of those cubes stack up. So the formula is literally “number of cubes per layer” times “number of layers.”

This works for any rectangular prism, no matter the size – from a tiny dice to a shipping container. As long as the shape has straight edges and right-angle corners, the same multiplication applies.

When to Use This Calculation

You’ll need this in many everyday and academic situations:

  • Packing and shipping: figuring out how much space a box takes up in a truck or warehouse.
  • Construction: estimating concrete for a rectangular slab or the air volume of a room for heating/cooling.
  • Aquariums and pools: calculating water capacity (1 m³ = 1000 liters).
  • Math homework: a standard problem in geometry classes from middle school onward.
  • Gardening: finding how much soil or mulch to fill a raised bed.

For any of these, the key is to measure the three sides in the same unit, multiply, and then convert the cubic result if needed (e.g., to liters or gallons).

Common Mistakes and How to Avoid Them

The most frequent error is mixing units. If you measure length in feet and width in inches, you must convert first. For example, 2 ft = 24 in. Only then multiply.

Another mistake is confusing volume with surface area. Volume is the space inside (cubic units), while surface area is the total area of all six faces (square units). They are different numbers and different units.

A third error is rounding too early. If your measurements have decimals, keep them until the final step. Rounding each dimension first can change the result noticeably, especially for large prisms.

Finally, remember that order doesn’t matter – 10 × 5 × 4 is the same as 4 × 10 × 5. Just don’t accidentally add or subtract instead of multiplying.

Limits of the Formula

This formula applies only to rectangular prisms – shapes where all angles are 90° and opposite faces are parallel and equal. If the shape is slanted (an oblique prism) or has non-rectangular faces (like a cylinder or a triangular prism), this exact formula does not work. Those shapes need different formulas (e.g., base area × height for any prism, but the base area calculation differs).

Also, the formula assumes the prism is solid and filled completely. If it’s hollow, you’d need wall thickness to find the internal volume. And if the object is not a perfect rectangular prism – say it has rounded corners or indentations – the formula gives an approximation, not an exact number.

For real-world objects, always measure the inside dimensions for capacity, not the outside, unless you want the total space including walls.

Frequently Asked Questions

What is the difference between volume and capacity?

Volume is the amount of space an object occupies, measured in cubic units. Capacity is how much a container can hold, often measured in liters or gallons. For a rectangular prism, the volume of the interior (if hollow) equals its capacity. For a solid prism, capacity is zero because there’s no empty space.

Can I use this formula for a cube?

Yes. A cube is a special rectangular prism where length = width = height. So the formula becomes V = s³, where s is the side length. You can still use the calculator by entering the same number for all three inputs.

How do I convert cubic centimeters to liters?

1 liter = 1000 cubic centimeters (cm³). So divide the volume in cm³ by 1000. For example, 200 cm³ = 0.2 liters. For cubic meters, 1 m³ = 1000 liters.

What if I only know the volume and two dimensions?

You can rearrange the formula to find the missing dimension. If V = l × w × h, then h = V / (l × w). Just make sure all units are consistent. For instance, if volume is in cm³ and l and w are in cm, then h will be in cm.

Why is the answer in cubic units?

Because you are multiplying three linear measurements. Each dimension is a length (like cm). cm × cm × cm = cm³, which means “cubic centimeters.” This is a unit of volume, just as square centimeters (cm²) is a unit of area.

Does the order of length, width, height matter?

No. Multiplication is commutative, so 10 × 5 × 4 gives the same result as 5 × 4 × 10. However, by convention, length is the longest side, width the shorter horizontal side, and height the vertical side. But for volume, any labeling works.

Related

Formula used
in l | Length | cm | 10 | 0
in w | Width | cm | 5 | 0
in h | Height | cm | 4 | 0
out volume | Volume | cm³ | 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.