Audited 29 Jul 2026·Last updated 28 Oct 2026·4 citations·Tier 2·0 uses

45-45-90 Triangle Calculator

Solve an isosceles right triangle from one leg, the hypotenuse, the area or the perimeter, using 1 : 1 : √2; also the diagonal of any square.

45-45-90 Triangle Calculator

Which measurement do you already know?
Any unit you like — millimetres, inches, feet, metres. Lengths come back in the same unit and the area comes back in that unit squared. Must be greater than zero.
Hypotenuse
14.1421
The side opposite the right angle, the leg times √2, which is also the diagonal of a square whose side is the leg.
Leg (both are equal)
10
Area
50sq units
Perimeter
34.1421
Altitude to the hypotenuse
7.0711
Inradius
2.9289

Background.

How far is it from corner to corner across a square? Draw the diagonal and you have cut the square into two 45-45-90 triangles, each with the square's sides as its legs and the diagonal as its hypotenuse. Pythagoras gives that diagonal as √(L² + L²) = L√2, so a square with 10 m sides measures 14.1421 m corner to corner, and the same factor of about 1.4142 applies to a floor tile, a sheet of plywood or a square window frame.

That is the whole of the triangle's geometry. Its two legs are equal, its two acute angles are both 45°, and its sides stand in the ratio 1 : 1 : √2 at every size. Because nothing about the shape can vary except its scale, one measurement settles everything: a leg, the hypotenuse, the area or the perimeter. Going from a leg to the hypotenuse multiplies by √2; coming back divides by it, which is the same as multiplying by √2 ÷ 2, about 0.7071.

The triangle's other name, isosceles right triangle, describes it equally well, and it turns up wherever square corners do. A mitred picture frame joins two 45° cuts, a diagonal brace across a square opening is a hypotenuse, and a roof pitched at 12 in 12 rises at exactly 45°. In trigonometry it supplies sin 45° = cos 45° = √2 ÷ 2 and tan 45° = 1.

One quantity behaves unlike the others. The area, half the leg squared, stays a tidy number whenever the leg is one: a leg of 10 gives an area of exactly 50, even though the hypotenuse beside it has a decimal expansion that never ends.

What is 45-45-90 triangle calculator?

A 45-45-90 triangle is a right triangle whose two other angles are both 45°, which forces its two legs to be equal. Wolfram MathWorld lists it as the isosceles right triangle and gives, for legs of length a, a hypotenuse of √2·a and an area of ½a². It is exactly half of a square cut along a diagonal, a construction that needs no trigonometry: Euclid builds the square in Elements Book I, Proposition 46, and Proposition 47, the Pythagorean theorem, supplies the diagonal.

How to use this calculator.

  1. Pick the measurement you have: leg, hypotenuse, area or perimeter. There is only one leg option because the two legs are the same length.
  2. To find the diagonal of a square, enter the square's side as the leg and read the hypotenuse. To size a square from a measured diagonal, enter the diagonal as the hypotenuse and read the leg.
  3. Type the value in any unit you like; the lengths that come back share it and the area is in that unit squared.
  4. Sanity-check the area in leg mode: it should be exactly half the leg squared. A long decimal for a whole-number leg suggests you entered the hypotenuse by mistake.

The formula.

leg : leg : hyp = 1 : 1 : √2 , A = L² ⁄ 2 , P = L(2 + √2)

Every mode reduces the input to the leg L and builds the triangle from it. Hypotenuse = L√2. Area = L² ÷ 2, since the legs meet at the right angle and serve as base and height. Perimeter = L + L + L√2 = L(2 + √2), about 3.4142 L. The altitude from the right angle to the hypotenuse is L × L ÷ (L√2) = L ÷ √2, which is exactly half the hypotenuse. The inradius, the radius of the largest circle that fits inside, follows from the right-triangle rule r = (a + b − c) ÷ 2, giving L(2 − √2) ÷ 2, about 0.2929 L.

Working backwards, a hypotenuse h gives L = h ÷ √2, an area A gives L = √(2A), and a perimeter P gives L = P ÷ (2 + √2). Substituting L = h ÷ √2 into the area shows A = h² ÷ 4, so the area is a quarter of the square of the hypotenuse.

The altitude has a second meaning. The midpoint of a right triangle's hypotenuse is the centre of its circumscribed circle, so the circumradius is always half the hypotenuse; in this triangle, and only because the legs are equal, the altitude lands on the same point and has the same length.

A worked example.

Example

A builder setting out a 10 m by 10 m concrete slab checks that the formwork is square by measuring both diagonals. In leg mode with a value of 10, the calculator treats one half of the slab as a 45-45-90 triangle. The hypotenuse is 10 × √2 = 10 × 1.4142 = 14.1421 m, so each diagonal should read 14.1421 m; equal diagonals of that length mean the corners are true right angles. The half-slab's area is 10² ÷ 2 = 50 m², exactly half the 100 m² slab. Its perimeter is 10 + 10 + 14.1421 = 34.1421 m. The altitude from the corner to the diagonal is 14.1421 ÷ 2 = 7.0711 m, which is also where the two diagonals cross. The inradius is (10 + 10 − 14.1421) ÷ 2 = 2.9289 m, the largest circle that fits inside one triangular half.

value10
known Quantityleg

Frequently asked questions.

How do I find the side of a square from its diagonal?
Divide the diagonal by √2, or multiply it by 0.7071. A square opening that measures 1,200 mm corner to corner has sides of 848.5281 mm. Enter the diagonal in hypotenuse mode and the leg output is the side, with the area of the half-square shown alongside.
What is the area if I only know the hypotenuse?
A quarter of the hypotenuse squared, h² ÷ 4. That comes from substituting the leg h ÷ √2 into leg² ÷ 2. A hypotenuse of 14.1421 gives an area of 50, the same as a leg of 10, as it should.
Why is the area exact when the hypotenuse is not?
The area uses only the leg squared and halved, so a whole-number or fractional leg gives an exact area. The hypotenuse multiplies by √2, which is irrational, so no whole-number leg ever produces a whole-number hypotenuse, and no 45-45-90 triangle can have all three sides as whole numbers.
How does this relate to a 45° roof pitch?
A roof pitched at 12 in 12 rises 12 inches for every 12 inches of horizontal run, so each foot of run forms a 45-45-90 triangle with the rafter as hypotenuse. The rafter therefore grows by 12 × √2 = 16.9706 inches for every foot of run, before allowing for overhang and the ridge board.
What is the inradius used for?
It is the radius of the biggest circle that fits inside the triangle without crossing an edge, useful when cutting a round part or drilling a hole centred in a triangular gusset. For a 45-45-90 triangle it is about 0.2929 times the leg, so a gusset with 10 cm legs takes a circle of radius 2.9289 cm at most.
Why are the altitude and the circumradius the same here?
In any right triangle the circumcentre sits at the midpoint of the hypotenuse, so the circumradius is half the hypotenuse. The altitude from the right angle is leg × leg ÷ hypotenuse, which equals half the hypotenuse only when the legs are equal. In a 30-60-90 triangle the two differ, so the agreement is particular to this shape.

How this page was produced

Published by
Quanta Calculator
Primary sources
4 cited below
Method
leg : leg : hyp = 1 : 1 : √2 , A = L² ⁄ 2 , P = L(2 + √2)
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon