Cuboid Calculator
Calculate cuboid volume, surface area, space diagonal, edge length and more. Enter length, width, height to get instant results.
About
Errors in cuboid measurement propagate fast. A 2% mistake in one edge dimension compounds into a 6% error in volume because V scales with three independent linear inputs. This calculator computes volume V, total surface area A, space diagonal d, all three face diagonals, and total edge length E from exact length l, width w, and height h values. Results use standard Euclidean geometry with no approximation beyond floating-point precision of IEEE 754 double format (~15 significant digits).
The tool assumes a perfect rectangular parallelepiped with all right-angle corners. Real-world objects deviate from this due to manufacturing tolerances, thermal expansion, and surface irregularities. For critical applications such as shipping container packing, concrete formwork, or HVAC duct sizing, measure each dimension at multiple points and use the worst-case value. The volume-to-surface-area ratio VรทA is included because it governs heat transfer rates, material efficiency, and cost optimization in packaging design.
Formulas
All cuboid properties derive from three independent edge lengths. The primary formulas used in this calculator:
V = l ร w ร h
A = 2(lw + lh + wh)
d = โl2 + w2 + h2
E = 4(l + w + h)
Alateral = 2h(l + w)
Rcircum = 12 โl2 + w2 + h2
Where l = length, w = width, h = height, V = volume, A = total surface area, d = space diagonal, E = total edge length, Rcircum = circumsphere radius. The space diagonal is the three-dimensional extension of the Pythagorean theorem. The volume-to-surface-area ratio VรทA has units of length and indicates how efficiently the shape encloses space relative to its material cost.
Reference Data
| Property | Formula | Unit (if l,w,h in m) | Notes |
|---|---|---|---|
| Volume | l ร w ร h | m3 | Interior capacity |
| Surface Area | 2(lw + lh + wh) | m2 | Total outer area of 6 faces |
| Space Diagonal | โl2 + w2 + h2 | m | Longest internal distance |
| Face Diagonal (lรw) | โl2 + w2 | m | Diagonal of top/bottom face |
| Face Diagonal (lรh) | โl2 + h2 | m | Diagonal of front/back face |
| Face Diagonal (wรh) | โw2 + h2 | m | Diagonal of left/right face |
| Total Edge Length | 4(l + w + h) | m | Sum of all 12 edges |
| Perimeter (base) | 2(l + w) | m | Bottom face perimeter |
| V/A Ratio | VA | m | Thermal/material efficiency index |
| Number of Vertices | 8 | - | Fixed topological constant |
| Number of Edges | 12 | - | Fixed topological constant |
| Number of Faces | 6 | - | All rectangular |
| Euler Characteristic | V โ E + F = 2 | - | 8 โ 12 + 6 = 2 |
| Circumsphere Radius | 12โl2 + w2 + h2 | m | Radius of enclosing sphere |
| Insphere Radius | 12 min(l, w, h) | m | Radius of largest inscribed sphere |
| Aspect Ratio (l:w:h) | l : w : h | - | Normalized to smallest dimension |
| Lateral Surface Area | 2h(l + w) | m2 | Excludes top and bottom faces |
| Base Area | l ร w | m2 | Single face (top or bottom) |