The 45-45-90 Triangle

Why every isosceles right triangle has sides in the ratio 1 : 1 : √2, how to go from a leg to the hypotenuse and back, and how the same rule gives the diagonal of any square.

By the PythagoreanTheorem.net teamUpdated 10 min read

A 45-45-90 triangle is an isosceles right triangle: its two legs are equal and its two acute angles are both 45°. The sides are always in the ratio 1 : 1 : √2. If each leg is s, the hypotenuse is s√2; if you know the hypotenuse, divide it by √2 to get each leg.

That single rule solves every 45-45-90 problem, and it comes straight from the Pythagorean theorem. This page shows where the ratio comes from, the rule for each side you might start with, how to tidy answers such as 10 over √2, and where the triangle turns up outside the classroom.

What makes a triangle 45-45-90

The name lists the three angles. The angles of any triangle add up to 180°, so once one angle is 90°, the other two share the remaining 90°. In a 45-45-90 triangle they share it equally.

Equal angles always sit opposite equal sides, so the two legs (the sides that form the right angle) have the same length. The reverse is true as well: a right triangle with equal legs must have two 45° angles. "45-45-90 triangle" and "isosceles right triangle" are two names for one shape. If you need a refresher on legs, the hypotenuse and the right-angle mark, see parts of a right triangle.

The quickest way to make one is to cut a square along a diagonal. The cut splits two of the square's 90° corners into 45° angles, and the sides of the square become the legs.

45°45°ssd = s√2 45°45°ss
Cut a square along its diagonal and you get two identical 45-45-90 triangles. The legs are the sides of the square; the hypotenuse is its diagonal.

This means every fact about 45-45-90 triangles is also a fact about squares. The hypotenuse of the triangle is the diagonal of the square, and the triangle's area is half the square's area, s2 over 2.

Where the 1 : 1 : √2 ratio comes from

Call each leg s and the hypotenuse c. The Pythagorean theorem says the squares of the two legs add up to the square of the hypotenuse, so

c2= s2 + s2c2= 2s2c= √2s2 = √2 · √s2 = s√2

The hypotenuse is always √2 ≈ 1.414 times as long as a leg, whatever the size of the triangle. The sides are therefore in the ratio s : s : s√2, which simplifies to 1 : 1 : √2 when you divide by s.

s²s² 2s² ss Each leg square= 2 triangles Hypotenuse square= 4 triangles 2 + 2 = 4, sos² + s² = c²
Every small triangle here is a copy of the white one. The two leg squares hold 2 copies each; the hypotenuse square holds 4. So c2 = 2s2 without any algebra.

The picture proves the same thing with no algebra at all. The square on each leg splits into two copies of the triangle, while the square on the hypotenuse holds four. Two plus two is four, so the hypotenuse square has exactly twice the area of a leg square. The same idea appears in Plato's dialogue Meno, where Socrates shows that the square built on the diagonal of a square has double the original area.

Key ideaIn every 45-45-90 triangle, hypotenuse = leg × √2, and leg = hypotenuse ÷ √2.

Because √2 is irrational, a 45-45-90 triangle can never have three whole-number sides: whole-number legs give an irrational hypotenuse, and a whole-number hypotenuse gives irrational legs. That is why no Pythagorean triple has two equal legs. The proof that √2 cannot be written as a fraction is on why √2 is irrational.

45-45-90 triangle rules

There are only two directions to travel: from a leg to the hypotenuse, or from the hypotenuse back to a leg.

45° 45° xx x√2 leg hypotenuse × √2≈ × 1.414 ÷ √2≈ × 0.707
Two moves cover every 45-45-90 problem: leg → hypotenuse, multiply by √2; hypotenuse → leg, divide by √2.
You knowYou wantRuleExample
a leg sthe other legit is the same length6 → 6
a leg sthe hypotenusec = s√26 → 6√2 ≈ 8.49
the hypotenuse ceach legs = c over √2 = c√2 over 26 → 3√2 ≈ 4.24
a leg sthe areaA = s2 over 26 → 18
the hypotenuse cthe areaA = c2 over 46√2 → 18
a leg sthe perimeterP = s(2 + √2)6 → 12 + 6√2 ≈ 20.49

Decimals in the table are rounded to the nearest hundredth.

From a leg to the hypotenuse

Multiply the leg by √2. A leg of 7 gives a hypotenuse of 7√2. Leave the answer in that exact form unless the question asks for a decimal; then 7√2 ≈ 9.90.

From the hypotenuse to a leg: divide and rationalize

Go the other way by dividing by √2. A hypotenuse of 10 gives legs of 10 over √2. That is correct, but most teachers want no square root in the denominator, so you rationalize: multiply the top and bottom by √2, which is the same as multiplying by 1.

10 over √2 = 10 over √2 · √2 over √2 = 10√2 over 2 = 5√2 ≈ 7.07

The result is worth memorizing as a shortcut: a leg is half the hypotenuse, times √2. For a hypotenuse of 10 that is 5√2 in one step. When the hypotenuse already contains √2, the division is even easier: a hypotenuse of 8√2 gives legs of exactly 8. For more practice with radicals, see square roots and simplifying radicals.

Quick checkA leg is always about 71% of the hypotenuse (1 over √2 ≈ 0.707), and the hypotenuse is about 41% longer than a leg. If your leg comes out longer than the hypotenuse, you multiplied when you should have divided.

Diagonal of a square: d = s√2

A diagonal cuts a square into two 45-45-90 triangles, with the square's sides as legs and the diagonal as the hypotenuse. So the diagonal of a square with side s is

d = s√2

Turn the formula around to get the side from the diagonal, s = d over √2, and square that to get the area: A = s2 = d2 over 2. Half the diagonal squared is handy when the diagonal is the only thing you can measure. For a rectangle, whose diagonal is √l2 + w2, use the rectangle diagonal calculator.

Side of squareDiagonal (exact)Diagonal (≈)
1√21.414
22√22.828
33√24.243
55√27.071
1010√214.142
1212√216.971

Worked examples

Example 1: find the hypotenuse Level 1

Each leg of an isosceles right triangle is 9 cm. How long is the hypotenuse?

c = s√2 = 9√2 ≈ 12.73

The hypotenuse is 9√2 cm, about 12.73 cm to the nearest hundredth.

Example 2: find the legs from the hypotenuse Level 1

The hypotenuse of a 45-45-90 triangle is 14. Find each leg.

s = 14 over √2 = 14√2 over 2 = 7√2 ≈ 9.90

Each leg is 7√2 ≈ 9.90. Check: 9.90 is about 71% of 14.

Example 3: a hypotenuse that already has a radical Level 1

The hypotenuse is 5√2 m. Find the legs and the area.

s= 5√2 over √2 = 5A= s2 over 2 = 25 over 2 = 12.5

Each leg is exactly 5 m and the area is 12.5 m².

Example 4: across a baseball diamond Level 2

The four bases of a baseball diamond form a square with sides of 90 feet. How far is a throw from home plate to second base?

Home and second base are opposite corners of the square, so the throw is the diagonal:

d = 90√2 ≈ 127.28

The throw is about 127.3 feet. More sports geometry is on the Pythagorean theorem in sports.

Example 5: a square from its diagonal Level 2

A square floor tile measures 30 cm from corner to opposite corner. Find its side and its area.

s= 30 over √2 = 30√2 over 2 = 15√2 ≈ 21.21A= d2 over 2 = 900 over 2 = 450

The side is about 21.21 cm and the area is exactly 450 cm². Squaring the exact side gives the same area: (15√2)2 = 225 · 2 = 450.

Example 6: from the area Level 2

An isosceles right triangle has an area of 50 m². How long is its hypotenuse?

s2 over 2= 50s2= 100,  s = 10c= 10√2 ≈ 14.14

The hypotenuse is 10√2 ≈ 14.14 m.

Example 7: from the perimeter Level 3

A 45-45-90 triangle has a perimeter of 20. Find the length of a leg in exact form.

The perimeter is s + s + s√2 = s(2 + √2). Solve, then rationalize by multiplying by the conjugate 2 − √2:

s= 20 over 2 + √2 · 2 − √2 over 2 − √2= 20(2 − √2) over 4 − 2= 10(2 − √2) = 20 − 10√2 ≈ 5.86

Each leg is 20 − 10√2 ≈ 5.86. Check: 5.86 + 5.86 + 5.86 × 1.414 ≈ 20.

To check your own numbers, the special right triangle calculator gives exact and decimal answers for any side you enter.

Where 45-45-90 triangles show up

  • Anything square. The diagonal of a tile, a chessboard or a square table is the side times √2. A diagonal brace across a square frame, such as a gate or a shelf, is cut to that length. Builders use the same idea to check that corners are square; see the theorem in construction.
  • Grids and games. On a square grid a diagonal step covers √2 ≈ 1.414 times the distance of a straight step, so many grid-based games and path-finding programs count a diagonal move as about 1.4 straight moves. More on this in the theorem in computer science.
  • Drawing tools. The two classic set squares used in technical drawing are a 45-45-90 triangle and a 30-60-90 triangle.
  • Paper sizes. ISO paper such as A4 (210 mm × 297 mm) has sides in the ratio 1 : √2, rounded to the nearest millimeter. The long side is almost exactly the diagonal of a square built on the short side, because 210√2 ≈ 296.98.
  • Trigonometry. With legs 1 and hypotenuse √2, you can read off sin45° = cos45° = 1 over √2 = √2 over 2 ≈ 0.7071 and tan45° = 1. These values fit the Pythagorean identity: 1 over 2 + 1 over 2 = 1.
  • Constructing √2. A 45-45-90 triangle with legs 1 is the first step of the spiral of Theodorus, which builds √2, √3, √4, … one triangle at a time.

Special right triangles are also a favorite on standardized tests. The SAT reference sheet shows the 45-45-90 and 30-60-90 side ratios, while the ACT gives no formulas, so it pays to know them by heart; see the theorem on the SAT and ACT.

Common mistakes

  • Multiplying when you should divide. To get a leg from the hypotenuse you divide by √2. Multiplying gives a "leg" longer than the hypotenuse, which is impossible.
  • Using the rule on the wrong triangle. The 1 : 1 : √2 ratio only works when the triangle has a right angle and two equal legs (or, equivalently, a 45° angle). For any other right triangle, use a2 + b2 = c2 directly.
  • Writing √2s instead of s√2. They are different numbers: for s = 8, 8√2 ≈ 11.31 but √16 = 4.
  • Rounding √2 too early. Using 1.4 for a 100-foot square gives a diagonal of 140 feet instead of about 141.42 feet. Keep √2 exact until the last step.
  • Mixing up the two special triangles. The 45-45-90 triangle uses √2; the 30-60-90 triangle uses √3 and 2. More traps are listed on the common mistakes page.

Frequently asked questions

What are the 45-45-90 triangle rules?

The two legs are equal, and the hypotenuse is a leg times √2. Going backwards, each leg is the hypotenuse divided by √2, which simplifies to c√2 over 2. Together these give the side ratio 1 : 1 : √2.

How do you find the legs of a 45-45-90 triangle from the hypotenuse?

Divide the hypotenuse by √2, then rationalize the denominator. For a hypotenuse of 12, each leg is 12 over √2 = 12√2 over 2 = 6√2 ≈ 8.49. A faster route is to halve the hypotenuse and multiply by √2.

Is every isosceles right triangle a 45-45-90 triangle?

Yes. In an isosceles right triangle the two acute angles are equal, and together they make 90°, so each is 45°. Conversely, a right triangle with one 45° angle has a second 45° angle, so its legs are equal.

What is the formula for the diagonal of a square?

The diagonal is the side times the square root of 2: d = s√2. A square with side 1 has a diagonal of √2 ≈ 1.414, and a square with side 10 has a diagonal of about 14.14. If you know the diagonal instead, the area is d2 over 2.

Can a 45-45-90 triangle have whole-number sides?

Not all three. If the legs are whole numbers, the hypotenuse is a whole number times √2, which is irrational. You can choose the hypotenuse to be a whole number instead, but then the legs are irrational.

How is a 45-45-90 triangle different from a 30-60-90 triangle?

A 45-45-90 triangle has two equal legs and sides in the ratio 1 : 1 : √2; it is half of a square. A 30-60-90 triangle has unequal legs and sides in the ratio 1 : √3 : 2; it is half of an equilateral triangle. Both ratios come from the Pythagorean theorem.

Keep exploring