ThisCalculator

Everyday

Volume of a Rectangular Prism: Definition & Formula

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.

The volume of a rectangular prism is the amount of three-dimensional space it occupies, measured in cubic units. You calculate it by multiplying the prism’s length, width, and height together. This calculator takes those three dimensions and instantly returns the volume in your choice of cubic units.

Formula

The volume of a rectangular prism is given by the simple product of its three dimensions:

V = l × w × h

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

All three dimensions must be in the same unit before multiplying. If they are not, convert them first. The result is always in cubic units of that same unit.

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 values: V = 5 × 3 × 2
  3. Multiply: 5 × 3 = 15, then 15 × 2 = 30
  4. Result: V = 30 m³

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

What Is a Rectangular Prism?

A rectangular prism is a three-dimensional shape with six faces, all of which are rectangles. Opposite faces are identical and parallel. It is also called a cuboid. Common examples include a shoebox, a brick, a room, or a fish tank. When all six faces are squares, it is a special case called a cube, and the formula simplifies to V = a³, where a is the side length.

The key property is that all angles are right angles (90°). This makes the volume calculation straightforward because you can simply multiply the three perpendicular edge lengths. For other prisms (e.g., triangular), you would need the base area and height, but for a rectangular prism the base area is just length × width.

Why the Formula Works

Imagine filling the prism with unit cubes—cubes that are 1 unit long on each side. Along the length you can fit l cubes, along the width w cubes, so the bottom layer holds l × w cubes. Stacking h layers high gives l × w × h cubes total. Each cube represents one cubic unit of volume.

This geometric reasoning applies to any rectangular prism, no matter the size. It also explains why volume is measured in cubic units (like m³, ft³, or cm³) rather than square units—you are counting three-dimensional cubes, not flat squares.

How to Use the Calculator

Enter the length, width, and height in any consistent unit (meters, feet, inches, etc.). The calculator multiplies them and gives the volume in the cube of that unit. For example, if you enter centimeters, you get cubic centimeters (cm³).

If you need a different unit for the result, you can either convert the inputs first or convert the final volume. To convert volume: 1 m³ = 1,000,000 cm³, 1 ft³ = 1,728 in³, and 1 m³ ≈ 35.3147 ft³.

The calculator is useful for checking homework, planning a fish tank, estimating concrete for a slab, or any task that requires the space inside a box-shaped object.

Common Mistakes and Misconceptions

  • Mixing units: Multiplying 5 m × 30 cm × 2 m gives a wrong number unless you convert 30 cm to 0.3 m first.
  • Confusing volume with surface area: Surface area is the total area of all six faces (2lw + 2lh + 2wh), not the space inside.
  • Using the wrong dimension: The height must be perpendicular to the base, not a slanted edge.
  • Forgetting to cube the unit: Write m³, not m, in the final answer.
  • Rounding too early: If you round intermediate steps, the final volume can be off. Keep full precision until the end.

Another misconception is that volume equals capacity. For a thin-walled container, capacity (how much it holds) is approximately the same as the interior volume, but if the walls are thick, you must measure the inside dimensions, not the outside.

Real-World Applications

Knowing how to find the volume of a rectangular prism is useful in many everyday situations:

  • Shipping and storage: Calculating how many boxes fit in a truck or warehouse.
  • Aquariums: Determining water volume (1 L = 1000 cm³) for fish and filtration.
  • Construction: Estimating concrete volume for a rectangular footing or slab.
  • Moving: Comparing the cubic footage of furniture to a moving truck’s capacity.
  • Science experiments: Measuring displacement or density of rectangular objects.

In each case, the same formula applies. Just ensure all measurements are in the same unit.

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 prisms can have the same surface area but different volumes. You need at least two dimensions plus the surface area, or all three dimensions, to solve for volume.

What if the prism is not a perfect rectangle?

If the shape has slanted sides or non-right angles, it is not a rectangular prism, and this formula does not apply. For a general prism, you would use V = base area × height, where the base area depends on the shape.

Does the order of multiplication matter?

No, multiplication is commutative, so l × w × h gives the same result regardless of order. However, you must use the correct three perpendicular edges.

Can I use this formula for a cube?

Yes. A cube is a rectangular prism with all sides equal. The formula becomes V = s × s × s = s³, where s is the side length.

How do I convert volume from cubic inches to gallons?

One US gallon equals 231 cubic inches. So divide the volume in cubic inches by 231 to get gallons. For metric, 1 liter = 1000 cubic centimeters.

Why is the volume in cubic units?

Because you are measuring three dimensions (length, width, height), the unit is raised to the third power. Just as area is length × width (square units), volume is length × width × height (cubic units).

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.