About this calculator
Choose the type and enter the sizes.
How to use it
- Choose cuboid or triangular prism.
- Enter the dimensions.
- Read the results.
The formula
- base area
- for a triangle, by Heron’s formula
Worked example
A 10 × 6 × 4 box
- Volume 240; TSA 248.
- Four walls 128; space diagonal ≈ 12.33.
What the result means
The four-walls area (LSA) is what you paint in a room, without floor and ceiling.
Worked examples: a sump tank and a room
An underground water sump measures 2 m × 1.5 m × 1.2 m inside. Enter these as length, width and height. The volume is 3.6 m³, which holds 3,600 litres (1 m³ = 1,000 litres). The inner surface to waterproof, including floor and lid, is the TSA of 14.4 m².
A room is 12 ft × 10 ft with a 10 ft ceiling. The four-walls area is 440 sq ft and the ceiling adds 12 × 10 = 120 sq ft, so 560 sq ft to paint before subtracting doors and windows. The space diagonal is 18.55 ft.
Triangular prisms in practice
The triangular option takes the three sides of the triangular end and the length of the prism. For a concrete wedge or ramp with a right-angled end, find the sloping side first with Pythagoras.
Example: a ramp has a rise of 0.6 m, a run of 0.8 m and a length of 2 m. The sloping side is √(0.36 + 0.64) = 1 m. Enter 0.6, 0.8, 1 and length 2: the end area is 0.24 m² and the volume of concrete is 0.48 m³.
Useful volume conversions
- 1 m³ = 1,000 litres, and 1,000 cm³ = 1 litre.
- 1 cubic foot ≈ 28.32 litres.
- 1 m³ ≈ 35.31 cubic feet.
Assumptions
- All lengths in the same unit.
Limitations
- Results are rounded to 10 significant figures.
Frequently asked questions
What is the volume of a cuboid?
Length × width × height.
What is the TSA of a cuboid?
2(lw + wh + hl).
How do I find a triangular prism’s volume?
Triangle area × length.
How many litres does a 1 m × 1 m × 1 m tank hold?
Its volume is 1 m³, which is exactly 1,000 litres.
Is a cube a prism?
Yes. A cube is a cuboid with all edges equal, so enter the same value for length, width and height.
What is the surface area of an open-top box?
Add the base and the four walls: l × w + 2h(l + w). That is the TSA minus the area of the missing top, l × w.
Last reviewed on 12 October 2026. How we calculate and check. Found a mistake? Tell us.

