Right Triangle Calculator (Pythagorean Theorem)
Solve a right triangle's missing side, area, perimeter, and angles from either its two legs or its hypotenuse and one leg.
- Leg A
- 3
- Leg B
- 4
- Hypotenuse
- 5
- Area
- 6
- Perimeter
- 12
- Angle opposite Leg A
- 36.87°
- Angle opposite Leg B
- 53.13°
How it works
The Pythagorean theorem relates a right triangle's sides as a² + b² = c², where c is the hypotenuse (the side opposite the right angle) and a, b are the two legs. Given two legs, the hypotenuse is c = √(a² + b²); given the hypotenuse and one leg, the other leg is the rearranged form, a = √(c² − b²).
From the three sides, area = ½ × leg A × leg B and perimeter is the sum of all three sides. The two non-right angles are found with inverse sine (the angle opposite a leg has sine = that leg ÷ hypotenuse) and always add up to 90°, since all three angles of any triangle sum to 180° and one of them here is already 90°.
FAQ
Why does the calculator ask for 'the known leg' when solving from the hypotenuse?
Given only the hypotenuse and one leg, the Pythagorean theorem determines the other leg uniquely — that known leg must be shorter than the hypotenuse, since the hypotenuse is always a right triangle's longest side.
Related calculators
- Percentage Calculator
- Quadratic Equation Solver
- GCD & LCM Calculator
- Circle Area & Circumference Calculator
- Ratio Simplifier
- Exponent & Root Calculator
- Oblique Triangle Solver (Law of Cosines)
- Distance, Midpoint & Slope Calculator
- Permutations & Combinations Calculator (nPr, nCr)
- Arithmetic & Geometric Sequence Calculator
- Regular Polygon Calculator
- Z-Score & Percentile Calculator
- Cubic Equation Solver
- Prime Factorization Calculator
- System of Linear Equations Solver (2 Equations)
- Half-Life Decay Calculator
- Vector Calculator (Dot Product, Cross Product, Angle)
- Ohm's Law Calculator
- Projectile Motion Calculator
- Matrix Determinant & Inverse Calculator (2x2 / 3x3)
- Ideal Gas Law Calculator (PV = nRT)
- Snell's Law Calculator (Refraction Angle)
- Wire Resistance Calculator
- Clock Angle Calculator
- Pythagorean Means Calculator (AM, GM, HM)
- Number Base Converter (Decimal to Binary, Octal, Hex)
- Dice Probability Calculator
- Pythagorean Triple Generator
- Binomial Probability Calculator
- Torque Calculator
- Law of Sines Triangle Solver
- Modular Exponentiation Calculator
- Simple Pendulum Period Calculator
- Kinetic Energy Calculator
- Complex Number Calculator
- Circular Sector & Arc Length Calculator
- System of 3 Linear Equations Solver
- Reynolds Number Calculator
- Coulomb's Law Calculator
- Speed of Sound in Air Calculator
- Thin Lens Equation Calculator
- Centripetal Force Calculator
- Resistors in Series and Parallel Calculator
- RC Circuit Time Constant Calculator
- Escape Velocity Calculator
- Doppler Effect Calculator
- Birthday Paradox Calculator
- Ellipse Area, Circumference & Eccentricity Calculator
- Hyperbola Calculator
- Hooke's Law Spring Calculator
- Molarity (Molar Concentration) Calculator
- Momentum & Impulse Calculator
- Kepler's Third Law Orbital Period Calculator
- Triangle Area from Coordinates Calculator
- Beer-Lambert Law Absorbance Calculator
- LC Circuit Resonant Frequency Calculator