GEOMETRY

Diagonal calculator

Find the diagonal of a rectangle or the space diagonal of a rectangular box.

Calculated on your device

Enter your values

YOUR ANSWER

Results

Select Calculate to see results.

Calculation steps and assumptions

Calculate to see the steps for your inputs; the worked example below is available without JavaScript.

Worked example

A 3 × 4 rectangle has diagonal 5. A 3 × 4 × 12 box has space diagonal 13.

Inputs and units

Use the units shown in each label. For shared dimension selectors, all length fields use the same selected unit and areas use its square. Scientific notation such as 1e-3 is supported in numeric fields. Results are rounded for display.

Browse all calculators

INTERPRET THE ANSWER

Face diagonal versus space diagonal

A 3 × 4 rectangle has diagonal 5. Add a perpendicular box depth of 12 and the space diagonal becomes √(3² + 4² + 12²) = 13.

Assumptions and common mistakes

Measure perpendicular dimensions. A TV’s advertised diagonal alone does not determine its width without the aspect ratio.

Use the worked example above to check the input convention before entering your own values. Displayed decimals are rounded; extra digits do not increase the precision of your measurements. Read about calculation accuracy and corrections.

Continue with a related tool or guide