Diagonal Calculator

Calculate the diagonal of a rectangle or square using the Pythagorean theorem. Input the width and height to get the diagonal length.

isCalculator Editorial Team Published by:
Reviewed by: Review Board
Last Updated:

Was this calculator helpful?

How to use this tool?

This calculator computes the diagonal length of a rectangle given its width and height.

  1. Enter Width in the first input field (e.g., 3).
  2. Enter Height in the second input field (e.g., 4).
  3. Click Calculate Diagonal.
  4. The result shows the diagonal length and the step-by-step formula using d = √(w² + h²).

Note: Inputs must be positive numbers. The result is displayed with 4 decimal places. No specific unit system is required—use any consistent unit (e.g., inches, cm).

Previous Results

Generate Charts
Result Inputs Date

Frequently Asked Questions

The diagonal d of a rectangle with width w and height h is given by d = √(w² + h²), derived from the Pythagorean theorem.

Yes. For a square, width and height are equal. The diagonal is side × √2.

The calculator works with any units as long as width and height are in the same unit. The result will be in that same unit.

Reviewed by Experts

Eurico José Kiala

Eurico José Kiala

Mathematician

Teacher

LinkedIn
João Lino

João Lino

Mathematician

LinkedIn
Quick Convert
Length Converter
0
Weight/Mass Converter
0
Area Converter
0
Volume Converter
0
Speed Converter
0
Temperature Converter
0
Pressure Converter
0
Energy Converter
0
Power Converter
0
Force Converter
0
Time Converter
0
Angle Converter
0
Fuel Consumption Converter
0
Data Storage Converter
0
Base Numbers Converter
0
Dry Volume Converter
0
Currency Converter
0
Text Case Converter
0