Rectangular Prism Calculator
Volume, surface area and space diagonal of a box (rectangular prism).
A rectangular prism — a box — has the friendliest volume in geometry: V = l × w × h. A 2 × 3 × 4 box holds 24 cubic units. The surface area counts the three pairs of faces, 2(lw + lh + wh) = 2 × (6 + 8 + 12) = 52 square units for the same box: that is the cardboard in a carton, the paint on a cabinet, or the glass in an aquarium (minus the open top face, lw, if it has one).
All three dimensions in the same unit. Surface area counts all six faces of a closed box; leave one face out by subtracting it if your box is open-topped.
Quick answers
How do you find the volume of a rectangular prism?
V = l × w × h. A 2 × 3 × 4 box holds 24 cubic units.
In centimetres, divide by 1,000 for litres: 24,000 cm³ is 24 litres.
How do you find the surface area of a box?
A = 2(lw + lh + wh) — the three face pairs. For 2 × 3 × 4 that is 2 × 26 = 52 square units.
Open-topped? Subtract the missing face (l × w) from the closed total.
How to use
- Enter length, width and height, all in the same unit.
- Read the volume (l × w × h) as the headline result.
- Use the surface area for material, wrap or paint on a closed box.
- Check the space diagonal when the question is whether a long item fits inside.
About this tool
The space diagonal √(l² + w² + h²) ≈ 5.385 for this box is the longest straight object that fits inside — the fishing-rod-in-a-box and will-it-fit question. In practice the prism pair (volume + surface) drives shipping and storage decisions: volume against a carrier’s capacity, surface when you are wrapping or cladding. Litres fall out of centimetres by dividing cubic centimetres by 1,000: a 20 × 30 × 40 cm box is 24,000 cm³ = 24 litres.
Frequently asked questions
What is the volume of a 2 × 3 × 4 box?
V = 2 × 3 × 4 = 24 cubic units. Its closed surface area is 52 square units and its space diagonal is √29 ≈ 5.385.
How is the surface area of a box worked out?
Add the three distinct face areas and double: 2(lw + lh + wh). For 2 × 3 × 4: faces of 6, 8 and 12, doubled to 52.
How much surface does an open-top box have?
Subtract the top face (l × w) from the closed surface area. The 2 × 3 × 4 box open-topped has 52 − 6 = 46 square units of material.
What is the longest item that fits in a box?
The space diagonal √(l² + w² + h²), measured corner to opposite corner through the interior — about 5.385 for a 2 × 3 × 4 box. Real items also need clearance for their own thickness.
First time embedding? Read the step-by-step guide →
More free tools
Percentage Calculator
Work out percentages, increases and discounts in one click.
Age Calculator
Find your exact age in years, months and days.
BMI Calculator
Check your Body Mass Index in seconds.
Tip Calculator
Split the bill and work out the tip in seconds.
Discount Calculator
See the sale price and how much you save, instantly.
Scientific Calculator
Full scientific calculator: trig, logs, powers, factorial. Free, private, runs in your browser.