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

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

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