Right Rectangular Prism Volume: Formula & Calculator
- Surface area
- cm²
- Result
- Length
- 10 cm
- You entered
- Width
- 5 cm
- You entered
This calculator works out the volume of a right rectangular prism (a box) from its length, width, and height. Enter the three dimensions in any consistent unit, and you get the volume in cubic units, plus the surface area. The volume is simply length × width × height.
Formula
The volume of a right rectangular prism is given by:
V = l × w × h
Where:
- V = volume (cubic units, e.g., cm³, m³, in³, ft³)
- l = length of the base (same linear unit as w and h)
- w = width of the base (same unit)
- h = height (perpendicular distance between the two bases, same unit)
Because all faces are rectangles and meet at right angles, the volume is just the product of the three perpendicular edge lengths. No other factors or constants are needed.
Worked Example
Using the default values from the calculator above: length = 10 cm, width = 5 cm, height = 4 cm.
- Multiply length by width: 10 × 5 = 50 cm² (this is the area of the base).
- Multiply that base area by the height: 50 × 4 = 200 cm³.
So the volume is 200 cm³, which matches the calculator’s first output. The surface area would be 2 × (10×5 + 10×4 + 5×4) = 2 × (50 + 40 + 20) = 2 × 110 = 220 cm².
When to Use This Calculation
You need the volume of a right rectangular prism any time you have a box, tank, room, or container with flat rectangular sides and right-angle corners. Common real-world uses include:
- Finding how much water a rectangular aquarium or pool holds.
- Calculating the capacity of a shipping box or storage bin.
- Estimating the amount of concrete, soil, or gravel to fill a rectangular space.
- Determining the volume of a room for heating, cooling, or acoustics.
If the object is not a perfect rectangular prism (e.g., a cylinder, sphere, or irregular shape), this formula does not apply directly.
How to Read the Result
The volume is expressed in cubic units. If you input centimeters, the result is cubic centimeters (cm³). If you input feet, it’s cubic feet (ft³). To convert to liters or gallons, use these common conversions:
- 1 cm³ = 1 milliliter (mL); 1000 cm³ = 1 liter.
- 1 m³ = 1000 liters.
- 1 ft³ ≈ 7.48052 US gallons.
- 1 in³ ≈ 0.004329 US gallons.
For example, a tank that is 50 cm × 30 cm × 20 cm has a volume of 30,000 cm³, which equals 30 liters. In US gallons, that is about 7.93 gallons.
Common Mistakes and How to Avoid Them
The most frequent error is mixing units. If you measure length in meters, width in centimeters, and height in inches, your result is meaningless. Always convert all three dimensions to the same unit before multiplying.
Another common mistake is confusing volume with surface area. Volume is the space inside, measured in cubic units; surface area is the total area of all six faces, measured in square units. The calculator gives both, but they answer different questions.
Rounding too early can also cause errors. If you are converting units, keep full precision until the final step. For instance, 1 inch = 2.54 cm exactly, so a box 12 in × 12 in × 12 in is 30.48 cm × 30.48 cm × 30.48 cm, giving 28,316.8466 cm³. Rounding each dimension to 30 cm would give 27,000 cm³, a 4.6% error.
Limitations of the Formula
The formula V = l × w × h only works for right rectangular prisms. If the shape is a slanted (oblique) prism, the volume is still base area × height, but the height is the perpendicular distance between the bases, not the slant height. For a cylinder, use πr²h; for a sphere, use (4/3)πr³. If the object has irregular sides or curved surfaces, you may need calculus or water displacement to find the volume accurately.
Frequently Asked Questions
What is the difference between a rectangular prism and a cuboid?
They are the same shape. A cuboid is a convex polyhedron with six rectangular faces. A right rectangular prism is exactly that, with all faces rectangles and all angles 90°. The terms are used interchangeably.
How do I find the volume if I only know the surface area?
You cannot determine the volume from surface area alone. Many different combinations of length, width, and height can produce 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.
What if my box is not exactly rectangular?
If the sides are not perpendicular or the faces are not rectangles, the simple formula does not apply. For a trapezoidal prism, for example, you would calculate the area of the trapezoidal base and multiply by the height. For irregular shapes, use water displacement or 3D scanning.
Why is volume measured in cubic units?
Because volume is a three-dimensional measure. When you multiply three lengths, each measured in a linear unit, the result is in that unit cubed. For instance, cm × cm × cm = cm³, which represents a cube with sides of 1 cm.
Can I use this formula for a cube?
Yes. A cube is a special case of a right rectangular prism where all three edges are equal. If the side length is s, the volume is s × s × s = s³.
Related
Formula used
in l | Length | cm | 10 | 0 in w | Width | cm | 5 | 0 in h | Height | cm | 4 | 0 out vol | Volume | cm³ | l * w * h | 2 out sa | Surface area | cm² | 2 * (l * w + l * h + 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.