Easy CalculatorsOnline
A little less guesswork.

Geometry · EVERYDAY CLARITY

Cuboid space diagonal calculator

Find the corner-to-opposite-corner distance inside a box.

Units & number format

Number formatting changes the display; the interface and guides are in English. Dates use calendar controls; numeric lists use decimal points and comma or space separators.

01 · CALCULATE

Work out your numbers

Your inputs stay in this browser.

Example result · using the values shown

Space diagonal
13 units
Base diagonal5 units
See visual ↓

Uses three mutually perpendicular edges.

02 · SEE THE RESULT

Your numbers, pictured

Example visualization

Three perpendicular box edges

Three perpendicular box edgesDimensions are schematic; all lengths must use the same unit.3 units12 units4 units

Dimensions are schematic; all lengths must use the same unit.

03 · UNDERSTAND THE METHOD

How the cuboid space diagonal calculator works

The space diagonal crosses the inside of a cuboid between opposite corners. It differs from a face diagonal because it includes the box height as well as the two dimensions of its base. This calculator takes the measurements named in the form and reports the derived geometric quantity. Before entering a value, distinguish linear dimensions from squared areas and cubic volumes. Record all lengths in one consistent unit and identify which radius, height, axis, or coordinate the field actually describes.

The formula and its variables

d = √(l² + w² + h²)
length
Length. Use the unit or angle convention stated in the input label.
width
Width. Use the unit or angle convention stated in the input label.
height
Height. Use the unit or angle convention stated in the input label.

The calculation, step by step

  1. Identify the geometric configuration in the field labels and confirm that your measurements describe the same object or coordinate system. Check the shape restrictions stated below the form before calculating.
  2. First apply the Pythagorean theorem to length and width for the base diagonal. Apply it again to that base diagonal and the perpendicular box height.
  3. Keep intermediate products and trigonometric values unrounded. Read the main output with its units, then use the accompanying dimensions or comparison visual to check the relationship with your original inputs.

A worked example

For the example values length = 3; width = 4; height = 12, the calculated space diagonal is 13 units. Substitute these values into the displayed expression in the same order. This example provides a reproducible check of the unit convention; changing a radius, side, angle, or coordinate should lead to a new result using that same method.

Example inputs and calculated output
Length3
Width4
Height12
Space diagonal13 units

How to read the result and visual

The schematic identifies the three perpendicular edges. The space diagonal cannot be shorter than any of them and is longer than the base diagonal for positive height. The visual represents the entered example or your most recent valid calculation. Numerical comparisons within it use the stated units; a schematic outline helps identify dimensions but should not be treated as a measured drawing.

Assumptions, rounding, and limitations

All edges are mutually perpendicular. A skew box or an object needing clearance around its diagonal requires additional measurements. Browser arithmetic uses finite floating-point precision, and displayed decimals are rounded for readability. Extra decimal places do not increase the accuracy of the original measurements. For physical projects, apply tolerances and material requirements separately rather than treating an ideal geometric result as a finished design.

Frequently asked questions

How is a space diagonal different from a face diagonal?

A space diagonal crosses the interior between opposite vertices and uses length, width and height. A face diagonal lies on one rectangle.

Does the cuboid diagonal model work for a skew box?

No. Its three edges are mutually perpendicular. A skew shape or an object needing clearance requires additional geometry.

Reference sources

How we check calculations and what verification covers