Cuboid & Cube Volume Calculator
Enter width, height, and depth to calculate volume, surface area, and diagonal of a cuboid or cube.
Cuboid & Cube Formulas
Cuboid
V = a × b × c
S = 2(ab + bc + ca)
Diagonal = √(a² + b² + c²)
Cube
V = a³
S = 6a²
Diagonal = √3 × a
Worked Examples
A 3 x 4 x 5 box has a volume of 60, a surface area of 94 and a space diagonal of √50 ≈ 7.0711.
A cube of side 2 has volume 8, surface area 24 and diagonal 2√3 ≈ 3.4641.
Units and Limits
Volume comes out in cubic units and surface area in square units of whatever you enter, so keep a single unit throughout. The formulas assume a perfect rectangular box; tapered or rounded containers need their own volume models, and wall thickness reduces the usable capacity.
Frequently Asked Questions
- How is the surface area calculated?
- It is 2(lw + lh + wh) - six faces in three equal pairs, so a 3 x 4 x 5 box gives 2(12 + 15 + 20) = 94.
- What is the space diagonal?
- The longest distance inside the box, from one corner to the opposite one: √(l² + w² + h²).
- How many litres does my box hold?
- One cubic metre is 1,000 litres and one cubic decimetre is one litre, so divide a volume in cm³ by 1,000 to get litres.