Cube and Cuboid Calculator
Volume, surface area and space diagonal of a box (cuboid) or cube from its length, width and height.
Volume = length × width × height; surface area adds the six faces, 2(lw + lh + wh); the longest diagonal through the box is √(l² + w² + h²).
How the cube and cuboid calculator works
Volume = length × width × height; surface area adds the six faces, 2(lw + lh + wh); the longest diagonal through the box is √(l² + w² + h²). A cube has all three equal.
Formula: V = lwh; A = 2(lw + lh + wh); d = √(l² + w² + h²)
Worked examples
| Inputs | Volume | Note |
|---|---|---|
| 4 × 3 × 2 | 24 | volume 24, area 52 |
| 10 cm cube | 1,000 | 1,000 cm³ = 1 liter |
FAQFrequently asked questions
What is a cuboid?
A box with six rectangular faces — a rectangular prism. A cube is the special case with square faces.
How many liters is a cubic meter?
1,000. A 1 m cube holds 1,000 liters of water (a tonne).
Will a rod fit inside the box?
If it is shorter than the space diagonal √(l² + w² + h²).
How much wrapping paper do I need?
At least the surface area 2(lw + lh + wh), plus overlap.
What is the volume in cubic feet?
Enter the sides in feet; the result is then in cubic feet.
Where these figures come from
- NIST Digital Library of Mathematical Functions — reference definitions for elementary and special functions
- Wolfram MathWorld — definitions and formulas for every topic on this page
- NIST/SEMATECH e-Handbook of Statistical Methods — the statistical formulas (mean, variance, z, confidence intervals, sample size)
- Common Core State Standards — Mathematics — the terms and methods taught in US schools
Last checked: September 2026. Formulas are fixed by mathematics and do not change with tax years or regulations.