Special Right Triangles Calculator
Solve five common right-triangle families from one known side, with consistent unit conversion, exact ratios, angles, perimeter, area, and a validated Excel workbook.
Triangle inputs
Chooses the fixed side relationship and acute angles.
Identify which measured side the entered length represents.
Required positive decimal. Use a dot for decimals; commas may group thousands.
Changing units converts the current known length rather than relabeling it.
For a 45° – 45° – 90° triangle: a = x, b = x, c = x√2.
Live results
A 45° – 45° – 90° triangle with a = 5 in has c = 7.0711 in.
Measurement breakdown
| Measurement | Ratio to scale x | Calculated value | Meaning |
|---|---|---|---|
| Leg a | 1 | 5 in | First perpendicular leg |
| Leg b | 1 | 5 in | Second perpendicular leg |
| Hypotenuse c | √2 | 7.0711 in | Side opposite the right angle |
| Perimeter | 2 + √2 | 17.0711 in | Sum of all three sides |
| Area | x² ÷ 2 | 12.5 in² | One-half of leg a times leg b |
The ratio column describes the selected triangle family. Calculated values use full internal precision; displayed values are rounded to four decimal places where needed.
How to use this special right triangles calculator
What this calculator does
This calculator solves a right triangle whose side proportions are already known. It supports the angle-based 45° – 45° – 90° and 30° – 60° – 90° families, the side rules b = 2a and b = 3a, and the classic 3:4:5 Pythagorean triangle. From one positive side length, it determines both legs, the hypotenuse, perimeter, area, and the two acute angles. It is an exact similarity calculation for the selected family; it does not test whether an arbitrary three-sided triangle belongs to that family, estimate measurement uncertainty, or replace a survey-quality geometric analysis.
When to use it
Use it when sizing a square diagonal, checking a 30° or 60° layout, scaling a known 3:4:5 construction triangle, converting a proportional sketch into real dimensions, or verifying homework involving special-angle trigonometry. OpenStax's discussion of right-triangle trigonometry and special triangles explains why these fixed ratios work.
How to calculate
- The calculator opens with a complete demonstration: a 45° – 45° – 90° triangle with leg a = 5 in. Its results and validated example workbook are ready immediately.
- Choose a Special triangle. This sets the fixed ratio among a, b, and c and sets the acute angles.
- Choose the Known side that matches your measurement, enter its Known length, and select the Length unit. Results update live.
- Read the hypotenuse first, then review both legs, perimeter, area, angles, and the measurement breakdown table. Select Download Excel to export the current canonical values as a real .xlsx workbook.
- Reset clears the demonstration length and calculated content. Download Excel is then disabled until you enter a complete valid measurement again.
Input guide
Special triangle is required and accepts one of five named families. For example, choose 30° – 60° – 90° when the shorter leg, longer leg, and hypotenuse must follow x:x√3:2x. A common mistake is choosing a family because the drawing looks similar without confirming its angle or side condition. Known side is also required: a is the shorter leg for unequal-leg families, b is the longer leg, and c is always the hypotenuse. In the 45° – 45° – 90° family, a and b are interchangeable equal legs.
Known length is a required positive decimal greater than zero and no more than 1 trillion in the selected unit. Enter values such as 5, 12.75, or 1,250.5. A decimal point is required for fractional notation; a comma is accepted only as a thousands separator, so 1,5 is rejected rather than silently interpreted. Increasing the known length scales every side and the perimeter linearly, while area grows with the square of the scale. Length unit is required and supports mm, cm, m, km, in, ft, and yd. Changing the unit converts the current measurement, preserving the same physical triangle. NIST's SI length conversion guidance provides context for metric units.
Output guide
The header pills show Family, Side ratio, and Known side. Hypotenuse c is the side opposite the 90° angle and is always the longest side. Leg a and Leg b are perpendicular. Perimeter is their three-side sum. Area is a·b÷2 and appears in square units; NIST describes why area uses squared length units. Angle α is opposite leg a, and Angle β is opposite leg b; together they sum to 90°. All are exact consequences of the selected ratio, although irrational lengths and angles are rounded for display.
The Measurement breakdown table repeats each side or aggregate, its ratio to the family scale x, the calculated value, and its geometric meaning. A zero output never appears for a valid model because every accepted length is positive. Very large values may be rejected if a derived area would no longer be finite.
Worked example
The startup example selects 45° – 45° – 90°, known side a, length 5 in. The fixed ratio is 1:1:√2, so b = 5 in and c = 5√2 = 7.0711 in. The perimeter is 5 + 5 + 7.0711 = 17.0711 in. The area is 5×5÷2 = 12.5 in². Both acute angles are 45°. These are the same values shown on first open and written to the startup Excel workbook.
How the special-triangle formulas work
Every supported family is a similarity class. The calculator stores one canonical ratio triple for a:b:c. Dividing the known measurement by its matching ratio finds a scale x, and multiplying x by the other ratios produces every side. This keeps the Pythagorean identity a² + b² = c² intact. For the 3:4:5 family, that identity is 9 + 16 = 25; MathWorld's definition of a Pythagorean triple gives the broader integer context.
Common mistakes and useful checks
- Do not treat c as a leg. In every supported family, c is the hypotenuse and must be opposite the right angle.
- For 30° – 60° – 90°, a is the short leg opposite 30°, while b is the long leg opposite 60°.
- Area units must be squared. A result of 12.5 in² is not interchangeable with 12.5 in.
- After changing units, compare physical dimensions rather than raw numbers. Five inches and 12.7 centimeters describe the same length.
- Use the displayed ratio and the identity a² + b² = c² as quick independent checks.