Right Triangle Solver
Solve a right triangle: find all sides and angles from any two known values.
Formula
c = √(a²+b²), A = atan(a/b), B = atan(b/a)
Hypotenuse from Pythagorean theorem. Angles from inverse tangent (arctangent) of leg ratios.
Examples
a=3, b=4
a=5, b=12
a=7, b=24
Frequently Asked Questions
How do I solve a right triangle?
With two known values (legs, or leg and angle), you can find all others using trigonometry.
What are the angles in a 3-4-5 triangle?
Approximately 36.87°, 53.13°, and 90°.
About this Calculator
Solve a right triangle: find all sides and angles from any two known values. All calculations are performed in your browser for instant results. Formulas are mathematically exact using JavaScript's built-in Math functions.