Last verified · v1.0
Calculator · math
Special Right Triangles Calculator
Calculate all sides of 45-45-90 and 30-60-90 special right triangles. Enter any known side length and get exact results using fixed angle ratios.
Inputs
Calculated Value
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
Understanding Special Right Triangles
Special right triangles are right triangles whose angle measures produce side length ratios that remain constant regardless of size. Two triangle types qualify: the 45-45-90 triangle and the 30-60-90 triangle. These fixed ratios eliminate the need for trigonometric tables in countless geometry and engineering applications, making them indispensable tools in mathematics.
The 45-45-90 Triangle
A 45-45-90 triangle is an isosceles right triangle. Because both acute angles equal 45°, the two legs are always equal in length. The side length ratio is 1 : 1 : √2.
45-45-90 Formulas
- Hypotenuse from leg: hypotenuse = leg × √2 ≈ leg × 1.41421
- Leg from hypotenuse: leg = hypotenuse ÷ √2 = hypotenuse × (√2 / 2)
Example: A square tile with a diagonal of 10 cm. Each half forms a 45-45-90 triangle. Setting the hypotenuse to 10, each leg equals 10 ÷ √2 ≈ 7.07 cm. This calculation appears throughout architecture, tiling layout, and computer graphics whenever objects are rotated 45°.
The 30-60-90 Triangle
A 30-60-90 triangle has angles of 30°, 60°, and 90°. It is exactly half of an equilateral triangle bisected along its altitude. The side length ratio is 1 : √3 : 2, where 1 is the shorter leg opposite 30°, √3 is the longer leg opposite 60°, and 2 is the hypotenuse.
30-60-90 Formulas
- From shorter leg (a): longer leg = a × √3, hypotenuse = 2a
- From longer leg (b): shorter leg = b ÷ √3 = b√3 / 3, hypotenuse = 2b√3 / 3
- From hypotenuse (c): shorter leg = c ÷ 2, longer leg = c√3 / 2
Example: A roof truss with a 30° pitch angle where the shorter leg measures 10 ft. The rafter (hypotenuse) equals 20 ft and the vertical rise is 10√3 ≈ 17.32 ft. Structural engineers rely on these exact ratios when designing load-bearing roof elements and calculating material lengths.
Mathematical Derivation
Both ratios derive directly from the Pythagorean theorem and geometric principles. For the 45-45-90 triangle, setting each leg to 1 gives hypotenuse = √(1² + 1²) = √2. This elegant relationship makes the 45-45-90 triangle fundamental to understanding diagonal distances in square and rectangular grids. For the 30-60-90 triangle, bisecting an equilateral triangle with side 2 produces a shorter leg of 1 and a longer leg of √(2² − 1²) = √3, as detailed by Khan Academy's introduction to special right triangles. These derivations confirm the ratios are exact, not approximations, and apply universally across all scales and proportions.
Practical Applications
- Architecture: 45-45-90 triangles appear in hip roofs, staircase stringers, and diagonal bracing calculations. Many modern building designs incorporate 45° angles for aesthetic and structural efficiency.
- Structural Engineering: 30-60-90 triangles model ramp inclines, force vector decomposition at 30° and 60°, and load distribution in trusses. Engineers use these triangles to predict how forces distribute through angled structural members.
- Surveying and Navigation: Both triangle types allow rapid distance computation on inclined terrain without full trigonometric tables, essential in fieldwork and land measurement.
- Computer Graphics: Algorithms rotate 2D sprites and vectors using √2 scaling derived from the 45-45-90 ratio, and use 30-60-90 geometry for perspective calculations.
Using the Special Right Triangles Calculator
Select the triangle type (45-45-90 or 30-60-90), choose which side is known, enter its positive value, then select the measurement to return. The calculator applies the exact ratio formulas above and returns results to full decimal precision. As noted in Clark University's right triangle reference, exact radical values are preferable to rounded decimals whenever precise geometric construction is required.
Common Mistakes to Avoid
Confusing the shorter and longer legs in a 30-60-90 triangle is the most frequent error. The shorter leg always sits opposite the 30° angle and the longer leg opposite the 60° angle. In a 45-45-90 triangle, both legs are equal, so either leg input produces the same result — this calculator handles both inputs identically for that triangle type. Always verify that your known side is clearly identified before entering values into the calculator.
Reference