← Advanced & General /

Special Right Triangles Calculator

Calculate side lengths of 30-60-90 and 45-45-90 special right triangles from any one side.

Reviewed by Geometry Calculator, Geometry Calculator Developer & Online Math Educator Last updated April 24, 2026

Special Right Triangles Calculator

Formulas Used in Special Right Triangles Calculator

30-60-90: sides in ratio 1 : √3 : 2
45-45-90: sides in ratio 1 : 1 : √2

Full formula reference: Special Right Triangles

In-Depth Tutorial: Special Right Triangles Calculator

Two triangles appear so often in geometry, trigonometry, and engineering that they have memorable exact side ratios and earn the name "special right triangles": the 30-60-90 and the 45-45-90. Knowing these ratios by heart lets you solve a large class of problems without a calculator — useful for tests, mental estimation, and recognizing patterns in proofs. This tutorial derives both ratios from first principles, walks through how to use them in either direction (from any given side to the other two), and shows where they appear in trigonometry.

The two ratios at a glance

TriangleAnglesSide ratio (short : long : hyp)Exact decimal
30-60-9030°, 60°, 90°1 : √3 : 21 : 1.732 : 2
45-45-9045°, 45°, 90°1 : 1 : √21 : 1 : 1.414

"Short leg" is the side opposite the smallest angle (30° in the first, either 45° in the second). "Long leg" is opposite the next angle. "Hypotenuse" is opposite the right angle and is always longest.

Why 30-60-90 sides are 1 : √3 : 2

Take an equilateral triangle with side length 2. All three angles are 60°. Drop a perpendicular from one vertex to the opposite side. This splits the equilateral triangle into two congruent halves — each is a 30-60-90 triangle.

The hypotenuse of each half is the original side of the equilateral triangle, length 2. The short leg is half of the opposite side, length 1. The long leg is the perpendicular height, which we get from the Pythagorean theorem:

long leg² = 2² − 1² = 3, so long leg = √3.

Hence the 30-60-90 ratio is 1 : √3 : 2. Scaling up: a 30-60-90 with short leg s has long leg s√3 and hypotenuse 2s.

Why 45-45-90 sides are 1 : 1 : √2

Take a square with side length 1. Draw one of its diagonals. The diagonal splits the square into two congruent right triangles, each isosceles with both legs equal to 1.

By the Pythagorean theorem, the diagonal (hypotenuse of each half-square) is √(1² + 1²) = √2.

Hence the 45-45-90 ratio is 1 : 1 : √2. Scaling up: a 45-45-90 with leg L has hypotenuse L√2.

Solving from any given side — 30-60-90

Pick which side you know, then use the ratio:

  • Given short leg s: long leg = s√3, hypotenuse = 2s.
  • Given long leg L: short leg = L/√3 = L√3/3, hypotenuse = 2L/√3 = 2L√3/3.
  • Given hypotenuse h: short leg = h/2, long leg = h√3/2.

Example: hypotenuse h = 10. Short leg = 10/2 = 5. Long leg = 10·√3/2 = 5√3 ≈ 8.660.

Solving from any given side — 45-45-90

  • Given a leg L: the other leg is also L, hypotenuse = L√2.
  • Given the hypotenuse h: each leg = h/√2 = h√2/2.

Example: leg L = 5. Hypotenuse = 5√2 ≈ 7.071.

How these triangles power trigonometry

The exact trigonometric values for 30°, 45°, and 60° all come directly from the special right triangles. Read each ratio as sin = opposite/hypotenuse, cos = adjacent/hypotenuse, tan = opposite/adjacent:

Anglesincostan
30°1/2√3/21/√3 = √3/3
45°√2/2√2/21
60°√3/21/2√3

These exact values are why 30, 45, and 60 degrees appear in the answers to so many "evaluate without a calculator" trig problems. The 30-60-90 and 45-45-90 triangles are literally the source of the table.

Worked example — combining special triangles

A common test problem: a 60° angle is drawn from a horizontal baseline. From its apex, a 30° angle is then drawn off the original 60° hypotenuse. Find ratios of the resulting segments.

Setup: the first 30-60-90 has its 60° at the baseline. The second 30-60-90 nests inside it, sharing the hypotenuse of the first. Walking through this with exact ratios (no decimals) lets you express all segments in terms of one chosen length plus √3 — far easier than calculator arithmetic and far more elegant when written up.

Real-world applications

  • Drafting tools. The two standard set squares used in technical drawing are exactly the 30-60-90 and 45-45-90 triangles.
  • Carpentry. A "miter cut" at 45° produces two 45-45-90 corners that mate flush — used for picture frames, door casings, and crown molding.
  • Roofing. Many residential roof pitches use 30° or 45° for aesthetic and structural reasons; their rafters' length ratios come directly from these triangles.
  • Navigation. Bearings of N30°E, N45°E, etc. lead to course calculations that simplify when the triangle is a special one.

Common mistakes

  • Confusing the short and long legs of 30-60-90. The short leg is opposite the 30° angle (smallest), the long leg is opposite the 60° angle (medium). Easy to swap if you do not draw the triangle.
  • Treating 30-60-90 ratio as 1 : 2 : 3. The ratio is 1 : √3 : 2, NOT 1 : 2 : 3. √3 ≈ 1.732, which is between 1 and 2.
  • Rationalizing too aggressively. Expressing 1/√3 as √3/3 is mathematically equivalent and often preferred. Either form is correct, but a textbook may insist on one. Check your style guide.
  • Forgetting that "special" is exact only for these two triangles. A right triangle with angles 31-59-90 is NOT a 30-60-90 and does not have the 1 : √3 : 2 ratio. Stick to the named angles.

Frequently Asked Questions – Special Right Triangles Calculator

30-60-90 (sides in ratio 1 : √3 : 2) and 45-45-90 (sides in ratio 1 : 1 : √2). Their exact ratios make mental calculation possible without a calculator.

Short leg = hypotenuse / 2. Long leg = hypotenuse × √3 / 2. Select short_leg or long_leg in the calculator to find each.

Their side ratios are exact, making them fundamental in trigonometry. The sine and cosine of 30°, 45°, and 60° all come directly from these triangles.

Yes — free and unlimited.

The 30-60-90 triangle is half of an equilateral triangle

The 30-60-90 side ratio of 1 : √3 : 2 isn't an arbitrary fact to memorize. It falls out of a single geometric construction: take an equilateral triangle and drop a perpendicular from any vertex to the opposite side. The perpendicular bisects both the opposite side and the angle at the vertex it came from, splitting the equilateral into two mirror-image right triangles. Each of those is a 30-60-90.

The proof of the ratios is then automatic. The equilateral has all sides equal — call them length 2. The perpendicular bisects one side, so the short leg of each half-triangle (opposite the 30° angle) has length 1. The hypotenuse of the half-triangle (which is the original equilateral's side) has length 2. Apply the Pythagorean theorem: long_leg² + 1² = 2², so long_leg = √3. The three sides are exactly 1, √3, 2 by direct geometric construction, not by approximation.

This "half-equilateral" derivation is why the 30-60-90 ratio is exact rather than decimal. √3 ≈ 1.732 is irrational — its decimal expansion never terminates — but the geometric construction defines it precisely. The same goes for √2 in the 45-45-90 triangle, which is half of a unit square along its diagonal. Both special triangles are subdivisions of more symmetric figures (equilateral triangle, square), and their irrational sides are the geometric "fingerprints" of that symmetry being broken.

These are special because of trigonometry, not geometry

Hundreds of right triangle shapes exist, but only two get textbook attention. The reason isn't geometric — it's that their angles (30°, 45°, 60°, plus the implicit 90°) are the only angles for which sine, cosine, and tangent take exact "memorable" values that combine small integers and small square roots.

The exact values come directly from the side ratios:

  • sin(30°) = 1/2, cos(30°) = √3/2, tan(30°) = 1/√3 = √3/3
  • sin(45°) = √2/2, cos(45°) = √2/2, tan(45°) = 1
  • sin(60°) = √3/2, cos(60°) = 1/2, tan(60°) = √3

All six values are products and quotients of 1, √2, and √3 divided by 2. No other angle outside 0°, 90°, 180° produces values this clean. The trigonometric values for 15°, 22.5°, 75°, and other angles can be computed exactly (using half-angle and difference formulas) but they involve nested square roots: sin(15°) = (√6 − √2) / 4. The 30-45-60 club is the only one that yields single-radical exact values.

This is also why these angles appear constantly in geometric proofs and problems. A textbook that wants students to compute trigonometric values without a calculator restricts itself to these three angles. The full table of constructible exact trig values includes others (multiples of 3°) but textbooks rarely venture past the standard three.

Practical questions about special triangles

Why do natural slopes and the "angle of repose" often land near these special angles?

The angle of repose for loose materials — the steepest angle a granular pile can hold without slumping — clusters around values that coincidentally fall near these special angles. Dry sand sits around 34°. Gravel around 35°. Loose snow around 38°. Wet sand can hold 45° because of cohesion from water films. Steeper than that and the pile slumps. The reason the angles end up where they do is friction physics, not geometric specialness — but the practical consequence is that civil engineers designing retaining walls, drainage slopes, and equipment hoppers find themselves using 30-60-90 and 45-45-90 calculations constantly. A 1:1 slope is 45° (the 45-45-90 case); a 1:√3 slope is 30° (the 30-60-90 short leg over long leg). Both shapes match the natural friction-determined angles closely enough that the formulas are everyday tools.

Why do mathematicians memorize sin/cos/tan of 30°, 45°, 60° rather than just looking them up?

Three reasons. First, these values appear in calculus identities and integration problems whose solutions need exact (not decimal) forms — ∫sin(x)dx evaluated at π/3 gives 1 − cos(π/3) = 1/2, which only stays clean if you can write cos(60°) as 1/2 rather than 0.5. Second, in proof-based contexts, the values are needed as algebraic symbols (√3/2) rather than approximations to allow further simplification. Third, the memorization itself takes about 30 seconds — you just remember that the 2, √3, √2 denominators form a small set, and that sine increases from 1/2 to √3/2 as the angle climbs 30° → 60°. It's a low-cost mnemonic with high downstream payoff.

The calculator handles 30-60-90 and 45-45-90 — what about 15-75-90 or other special angles?

15-75-90 isn't a "special triangle" in the textbook sense because its side ratios involve nested radicals ((√6 + √2) / 4 appears in the side ratio). However, you can compute it by adding 30 and 45 degrees and using angle-addition trig formulas, or by bisecting a 30-60-90 triangle. Other half-angles of the standard set produce exact forms but textbooks rarely list them. For problems involving these angles, use the general triangle solver with the angle specified directly — it will compute exact decimals to whatever precision needed, even though the symbolic form is harder to write out.

How are these triangles used in roof pitch and stair design?

Roof pitches are reported as ratios — "6:12 pitch" means 6 units of vertical rise per 12 units of horizontal run, which is an angle of arctan(6/12) ≈ 26.57°. A "12:12 pitch" (45°) is a 45-45-90. The classic "12:12 stair" — common in older homes — has equal tread (12 inches) and riser, exactly the 45-45-90 leg ratio. Modern building codes typically require shallower stairs (riser around 7 inches, tread around 11 inches, angle around 32°), which is close to the 30-60-90 ratio. Carpenter's "framing squares" have markings on the long arm specifically calibrated to common pitch angles, with the 6:12 (≈26.57°), 8:12 (≈33.69°), and 12:12 (45°) being most common. Special-right-triangle calculations show up under the hood every time a framer transfers an angle from drawing to lumber.