Maths & numbers

Cuboid calculator

Calculate a rectangular box’s volume, surface and space diagonal.

Cuboid calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

What if? Vary one input and watch the result

Pick an input and a result, choose a range, and Toolmoz runs this calculation at each step on your device. Every other input stays as you entered it.

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

For a closed rectangular cuboid, volume = lwh, surface = 2(lw+lh+wh) and space diagonal = √(l²+w²+h²). All dimensions must share a unit.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Length
5
Width
4
Height
3

Example result

Volume
60
Surface area
94
Space diagonal
7.07106781187