Calculators.Life Calculator
Math

Rectangle Diagonal Calculator

Input Parameters

Scenarios
Enter the primary dimension: Length (l) or Area (A) based on selection mode
Enter the secondary dimension: Width (w), Area (A), Perimeter (P), or Angle (α in degrees)

Computed Results

Diagonal (d)
10
Longer Side (l)8
Shorter Side (w)6
Area (A)48
Perimeter (P)28
Circumcircle Radius (r)5
Acute Angle Between Diagonals (α°)73.7398

The rectangle diagonal calculator determines the length of a rectangle's diagonal based on known dimensions such as side lengths, area, perimeter, or the angle between diagonals. It also calculates the longer side, shorter side, total area, perimeter, circumcircle radius, and acute diagonal angle.

How to Use the Calculator

This tool allows you to find the diagonal and other properties of a rectangle using different combinations of known values. Follow these steps to get your results:

  1. Select Known Dimensions: Choose the combination of measurements you have from the dropdown menu (e.g., sides, side and area, side and perimeter, side and diagonal angle, or area and perimeter).
  2. Enter the Primary Value: Input the first known dimension, such as the length or area, depending on your selected mode.
  3. Enter the Secondary Value: Input the second known dimension, such as the width, perimeter, or angle.
  4. Review the Results: The calculator will automatically display the diagonal length, along with the individual side lengths, area, perimeter, circumcircle radius, and the acute angle between the diagonals.

Formulas and Calculation Method

The primary method for finding the diagonal of a rectangle when both side lengths (length and width) are known is based on the Pythagorean theorem. A rectangle's diagonal divides it into two right-angled triangles.

d = √(l² + w²)

Where:

If you select other known dimensions, the calculator first derives the length and width before applying the diagonal formula. For example, if you know the area (A) and perimeter (P), the calculator solves a quadratic equation derived from P = 2(l + w) and A = l × w to find the individual sides.

The calculator also determines the circumcircle radius (r), which is exactly half of the diagonal:

r = d ÷ 2

Inputs and Outputs

CategoryField NameDescription
InputKnown DimensionsThe combination of measurements used to calculate the rectangle's properties.
InputPrimary ValueThe first known measurement (e.g., length or area).
InputSecondary ValueThe second known measurement (e.g., width, perimeter, or angle).
OutputDiagonal (d)The straight-line distance between opposite corners of the rectangle.
OutputLonger Side (l)The length of the rectangle.
OutputShorter Side (w)The width of the rectangle.
OutputArea (A)The total surface area enclosed by the rectangle.
OutputPerimeter (P)The total distance around the outside of the rectangle.
OutputCircumcircle Radius (r)The radius of a circle that passes through all four corners of the rectangle.
OutputAcute Angle Between Diagonals (α°)The smaller angle formed where the two diagonals intersect.

Verified Scenario Walkthroughs

Scenario 1: Standard Sides

If you have a rectangle with a length of 8 and a width of 6, select the "sides" mode. The calculator determines a diagonal of 10. The area is 48, the perimeter is 28, the circumcircle radius is 5, and the acute angle between the diagonals is 73.7398°.

Scenario 2: Side and Area

Suppose you know one side is 10.5 and the total area is 52.5. Using the "side and area" mode, the calculator finds the other side is 5. The resulting diagonal is 11.6297, the perimeter is 31, and the circumcircle radius is 5.8149.

Scenario 3: Area and Perimeter

If you know the area is 100 and the perimeter is 50, select the "area and perimeter" mode. The calculator solves for the sides, finding a length of 20 and a width of 5. The diagonal is calculated as 20.6155, with a circumcircle radius of 10.3078 and an acute diagonal angle of 28.0725°.

Practical Use Cases

Calculating the diagonal of a rectangle is useful in various practical applications:

Frequently Asked Questions

What is the formula for the diagonal of a rectangle?

The diagonal is calculated using the Pythagorean theorem: d = √(l² + w²), where 'l' is the length and 'w' is the width of the rectangle.

Can I find the diagonal if I only know the area and perimeter?

Yes. By knowing the area and perimeter, you can set up a system of equations to solve for the length and width. Once the sides are known, you can calculate the diagonal.

What is the circumcircle radius of a rectangle?

The circumcircle radius is the radius of a circle that perfectly encloses the rectangle, touching all four of its corners. For any rectangle, this radius is exactly half the length of its diagonal.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.