Cuboid volume
Cuboid volume V = a·b·c: enter length, width and depth to get the volume plus base area, surface area, face diagonal and space diagonal; values are rounded to 6 decimals and any non-positive edge is rejected.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Result
One quantity per line, ready to copy.
Enter a length to calculate
What this tool does
- Check the volume of a box or package and get the surface area for cardboard, paint or film estimates.
- Compare volume against surface for different dimension sets to find the cheapest shape.
- Verify the formulas: surface 2(ab+bc+ca), space diagonal √(a²+b²+c²).
- The page draws the cuboid and labels its dimensions — length a, width b, height c and the space diagonal at a glance.
Example
Input
1
Output
Cuboid volume (length 1, width 1, height 1): 1 Base area a·b: 1 Surface area 2(ab+bc+ca): 6 Face diagonal √(a²+b²): 1.414214 Space diagonal √(a²+b²+c²): 1.732051 Length unit u, area u², volume u³
For 2×3×4 the volume is 24, the surface 52, the face diagonal √13 ≈ 3.605551 and the space diagonal 5 — all exact.
Frequently asked questions
Is a cube a special case?
Yes — set all three values equal and you get a cube: volume a³ and surface 6a².
What is the space diagonal for?
It is the straight-line distance between two opposite corners inside the box, useful for fitting a long pole or a tilted item. For 2×3×4 it is exactly 5.
What if one edge is 0?
It reports an error. With a zero edge the cuboid flattens into a plane and the volume is 0 — the formula still evaluates but the answer is meaningless, so non-positive input is rejected.
Keywords:cuboid volumebox volume