Rectangular Prism Volume & Surface Area
- Surface area
- m²
- Result
- Length
- 5 m
- You entered
- Width
- 3 m
- You entered
This calculator works out the volume and surface area of a rectangular prism (also called a cuboid) from its length, width, and height. You enter the three dimensions in any consistent unit, and you get the volume in cubic units and the total surface area in square units, along with the formulas used.
Formula
Volume: V = l × w × h
Surface area: A = 2(lw + lh + wh)
Where:
- l = length of the prism (same unit as width and height)
- w = width
- h = height
- V = volume, in cubic units (e.g., m³, cm³, ft³)
- A = total surface area, in square units (e.g., m², cm², ft²)
The volume formula counts how many unit cubes fit inside the prism. The surface area formula adds the areas of all six rectangular faces: the top and bottom (each l × w), the front and back (each l × h), and the two sides (each w × h), then doubles the sum because opposite faces are equal.
Worked Example
Using the default values from the calculator: length = 5 m, width = 3 m, height = 2 m.
Volume:
V = 5 × 3 × 2 = 30 m³
Surface area:
First compute each face pair:
- Top/bottom: 5 × 3 = 15 m² each, so 30 m² for both
- Front/back: 5 × 2 = 10 m² each, so 20 m² for both
- Sides: 3 × 2 = 6 m² each, so 12 m² for both
Total = 30 + 20 + 12 = 62 m²
The calculator returns 30.00 m³ and 62.00 m², matching the hand calculation.
When to Use Volume vs. Surface Area
Volume tells you how much space the prism occupies or how much it can hold. Use it for filling a box with soil, calculating the capacity of a fish tank, or estimating the concrete needed for a rectangular slab. Surface area tells you how much material covers the outside. Use it for wrapping a gift, painting a room, or ordering sheet metal for a duct.
A common real-world task combines both: if you know the volume of water a tank holds, you might still need surface area to estimate heat loss or the amount of insulation to buy. The two measurements answer different questions, so always check which one the problem asks for.
Common Mistakes and How to Avoid Them
- Mixing units: All three dimensions must be in the same unit before multiplying. If length is in meters and width in centimeters, convert first. A 2 m × 50 cm × 30 cm box is not 2 × 50 × 30; it is 2 × 0.5 × 0.3 = 0.3 m³.
- Forgetting the factor of 2 in surface area: Each face appears twice. A common error is computing lw + lh + wh without doubling, which gives half the true surface area.
- Confusing square and cubic units: Volume is always cubic (m³, ft³), surface area is always square (m², ft²). Writing “30 m²” for volume is a unit error that signals a misunderstanding.
- Rounding too early: If you round intermediate products, the final answer drifts. Keep full precision until the last step, then round to the desired decimal places.
- Using the wrong dimension for a face: The face that touches the ground is l × w, not l × h or w × h. Match each face to its two defining dimensions.
How to Read the Results
The volume result is the number of unit cubes that fit inside. For a 5 m × 3 m × 2 m prism, 30 m³ means you could fill it with 30 cubes of 1 m × 1 m × 1 m. If you are working in centimeters, the same prism measured as 500 cm × 300 cm × 200 cm gives 30,000,000 cm³, which equals 30 m³ (since 1 m³ = 1,000,000 cm³).
The surface area result is the total area of all six faces. For the same prism, 62 m² means you need 62 square meters of material to cover it completely, assuming no overlaps or waste. If you are painting only the outside of a closed box, this is your number; if the box has no lid, subtract the area of the missing top (l × w = 15 m²), giving 47 m².
Limits of the Formula
These formulas apply only to rectangular prisms, where all faces are rectangles and all angles are 90°. They do not apply to cubes with rounded edges, trapezoidal boxes, cylinders, or irregular shapes. For a cube (l = w = h), the formulas still work, but simplified versions exist: V = s³ and A = 6s², where s is the side length.
Real objects are rarely perfect. A shipping box has wall thickness, so the internal volume is smaller than the external volume. The surface area formula gives the external area; if you need the inside area (e.g., for lining a container), subtract the wall thickness from each dimension before calculating. The formulas assume flat faces and sharp corners, so for corrugated cardboard or molded plastic, add a small allowance for folds and rounded edges—typically 5–10% in practice, though the exact factor depends on the material.
Frequently Asked Questions
What is the difference between a rectangular prism and a cuboid?
They are the same shape. “Rectangular prism” is the geometric term; “cuboid” is more common in British English and in engineering contexts. Both refer to a six-faced solid where every face is a rectangle. A cube is a special case where all three dimensions are equal.
How do I find the volume if I only know the surface area?
You cannot determine a unique volume from surface area alone. Many different length–width–height combinations give the same surface area but different volumes. For example, a 1×1×10 prism has surface area 42 and volume 10, while a 2×3×3 prism also has surface area 42 but volume 18. You need at least one more constraint, such as a ratio between dimensions or a fixed height.
Can I use these formulas for a cube?
Yes. If all three dimensions are equal, the volume formula becomes V = s³ and the surface area formula becomes A = 6s². The general formulas still give the correct answer; they just involve repeated multiplication. For a cube with side 4 cm, V = 4×4×4 = 64 cm³ and A = 2(16+16+16) = 96 cm².
What units should I use?
Any consistent unit works. If you measure in meters, volume is in cubic meters and surface area in square meters. If you measure in inches, volume is in cubic inches and surface area in square inches. To convert between unit systems, convert each dimension first, then multiply. For example, 1 inch = 2.54 cm, so a 10 in × 5 in × 2 in box is 25.4 cm × 12.7 cm × 5.08 cm, giving a volume of about 1638.7 cm³.
Why do I need to double the sum in the surface area formula?
Because each of the three distinct face areas appears twice on the prism. The top and bottom are identical, the front and back are identical, and the two sides are identical. The formula lw + lh + wh counts only one of each pair; multiplying by 2 accounts for the opposite face.
How do I find the diagonal of a rectangular prism?
The space diagonal (from one corner to the opposite corner) is found with the 3D Pythagorean theorem: d = √(l² + w² + h²). For the default example, d = √(25 + 9 + 4) = √38 ≈ 6.16 m. This is not the same as the face diagonal, which uses only two dimensions.
Related
Formula used
in l | Length | m | 5 | 0 in w | Width | m | 3 | 0 in h | Height | m | 2 | 0 out vol | Volume | m³ | l * w * h | 2 out area | Surface area | m² | 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.