Right Triangle Calculator

Calculated using standard mathematical and industry formulas.

Free online Right Triangle Calculator calculator and unit conversion tool for everyday, engineering, and home projects.

How to use this calculator?

  1. Choose which two values you know: two legs, hypotenuse + one leg, one leg + acute angle, or hypotenuse + acute angle.
  2. Enter those two values in the fields shown.
  3. Read hypotenuse, area, perimeter, both acute angles, and altitude to hypotenuse instantly.
  4. The calculator also checks whether your triangle forms a Pythagorean triple (integer sides).

Formula & calculation method

Pythagorean Theorem & Trigonometry

c = √(a² + b²) · Area = ½ab · sin A = a/c · cos A = b/c · tan A = a/b

Right angle C = 90° always. Angles A + B = 90°. Altitude to hypotenuse h = ab / c.

Step-by-step calculation example

Legs a = 3, b = 4 → c = √(9 + 16) = 5, Area = ½ × 3 × 4 = 6, Angle A = arcsin(3/5) = 36.87°.

Key insights to remember

How to interpret your results?

Hypotenuse (c)

The longest side, opposite the 90° angle. Always computed as c = √(a² + b²).

Altitude to hypotenuse (h)

The perpendicular segment from the right angle to the hypotenuse: h = ab / c.

Pythagorean triple

If all three sides are positive integers with a² + b² = c², the triangle is a Pythagorean triple — fundamental in surveying and carpentry.

Frequently asked questions

How do I use the Right Triangle Calculator calculator?
Enter your numerical input and select desired units to get instant accurate results.
How accurate are the conversions?
Conversions use official ISO conversion factors for maximum precision.
Does it convert metric and imperial units?
Yes, seamless conversions between metric (meters, kg) and imperial (feet, lbs) are supported.
Is my data stored?
No, all calculations execute 100% locally in your browser with zero data logging.
Can I use this for DIY or engineering projects?
Yes, it provides reliable estimates for construction, crafting, science, and everyday math.
What if I enter invalid inputs?
The calculator will display a friendly error prompt if non-numeric values are entered.

Related calculators

See all math calculators · Explore all online calculators