Rectangular Prism Calculator
Calculate volume, surface area, space diagonal and edge length for a rectangular prism
Prism volume
How we calculated it
About the Rectangular Prism Calculator
Rectangular Prism Calculator finds volume, surface area and related dimensions for a box-shaped solid with rectangular faces. It is useful for cartons, rooms, storage containers and construction quantities where length, width and height define the geometry.
The calculator assumes straight sides and right angles. Irregular containers, tapered shapes and rounded corners can have different actual volume.
How to Use the Rectangular Prism Calculator
- Enter length.
- Enter width.
- Enter height.
- Calculate volume or surface area and use internal dimensions for capacity or external dimensions for outside size.
How the Calculation Works
For a rectangular prism with length l, width w and height h, volume V = l×w×h. The three dimensions must first be expressed in compatible linear units, and the resulting unit is cubed because the calculation measures three-dimensional capacity or solid volume.
Total surface area A = 2(lw+lh+wh) because each of the three distinct rectangular face pairs appears twice. The space diagonal is d = √(l²+w²+h²), which gives the straight-line distance between opposite corners through the interior of the prism.
Worked examples
Rectangular Prism Calculator Worked Examples
Default
A 10 × 6 × 4 box has a volume of 240, a surface area of 248, a space diagonal of 12.3288 and a total edge length of 80.
Room
A 12 × 10 × 8 ft room has 960 ft³ of air and a diagonal of 17.5499 ft.
Tall box
A 2 × 2 × 10 box holds 40 and fits a rod up to 10.3923 long.
Box measurements
Space diagonal = √(l² + w² + h²).
| Dimensions | Volume | Surface area | Space diagonal | Edge length |
|---|---|---|---|---|
| 10 × 6 × 4 | 240 | 248 | 12.3288 | 80 |
| 1 × 1 × 1 | 1 | 6 | 1.7321 | 12 |
| 5 × 4 × 3 | 60 | 94 | 7.0711 | 48 |
| 12 × 10 × 8 | 960 | 592 | 17.5499 | 120 |
| 2 × 2 × 10 | 40 | 88 | 10.3923 | 56 |
| 20 × 15 × 10 | 3,000 | 1,300 | 26.9258 | 180 |
How the calculator works
Volume = length × width × height. Surface area = 2(lw + lh + wh), the six faces. The space diagonal, the longest straight line inside the box from one corner to the opposite corner, is √(l² + w² + h²). Total edge length adds all 12 edges: 4(l + w + h). It also shows the base area.
Practical uses
Volume gives a box's capacity or the amount of concrete for a slab. Surface area gives the cardboard, paint or insulation needed. The space diagonal tells you the longest pole or rod that fits inside, which is longer than any single side. Edge length is useful for framing or trimming a box.
Common Mistakes
- Missing faces. There are six faces, in three matching pairs.
- Using the face diagonal. The space diagonal goes through the box.
- Mixed units. Use one unit for all dimensions.
Result guide
Understanding Your Rectangular Prism Calculator Result
Volume measures three-dimensional capacity, while surface area measures the total area of the six faces. They use cubic and square units respectively. If a box has wall thickness, calculate internal and external prisms separately rather than subtracting one dimension only. Thickness affects both opposing faces in each dimension, so internal length, width and height each decrease by twice the wall thickness before internal capacity is calculated.
Before you rely on the answer
Assumptions and Limitations
- All faces are rectangular and meet at right angles.
- Dimensions use the same unit before multiplication.
- Internal versus external measurements match the intended result.
Practical tip
Using This Result in Practice
For packaging, calculate internal volume and external shipping dimensions separately. Wall thickness can make a meaningful difference when many boxes are stacked or freight is charged by dimensional size.
Related calculations
Useful Calculations to Continue With
If the object is not a rectangular prism, use the Volume Calculator to choose the appropriate shape.
If you need to compare surface area across several solids, use the Surface Area Calculator where appropriate.
Common questions
Rectangular Prism Calculator FAQ
What is the volume of a box?
Length × width × height.
What is the surface area?
2(lw + lh + wh).
What is the space diagonal?
√(l² + w² + h²).
How many edges does a box have?
12.
Is a cube a rectangular prism?
Yes, with all sides equal.
