Right Triangle Calculator
A right triangle has one 90° angle, so knowing just two other measurements is enough to find everything. This calculator uses SOHCAHTOA and the Pythagorean theorem to find all three sides and both acute angles, from two sides or one side and one angle. It also gives the area and perimeter and draws the triangle.
How to use the right triangle calculator
- Choose what you know, such as both legs or the hypotenuse and an angle.
- Enter the values (angles in degrees).
- Press Calculate to see every side and angle.
Formula
Worked example: Legs 5 and 12
- What do you know?: Both legs a and b
- Leg a (opposite A): 5
- Leg b (adjacent to A): 12
✓ Answer checked
- Area
- Perimeter
Step-by-step working (2 steps)
Use tan and Pythagoras TOA
tan A = opposite ÷ adjacent, and c² = a² + b².
Third angle
The two acute angles add to 90°.
Formulas used
How this was checked
- ✓ The sides satisfy a² + b² = c², and sin A = a ÷ c.
Frequently asked questions
What does SOHCAHTOA mean?
Sin = Opposite ÷ Hypotenuse, Cos = Adjacent ÷ Hypotenuse, Tan = Opposite ÷ Adjacent.
How tall does a 6 m ladder reach at 70°?
6 × sin 70° ≈ 5.64 m up the wall.
How do I find an angle from two sides?
Use the inverse function. With opposite 5 and adjacent 12, A = tan⁻¹(5/12) ≈ 22.6°.
Related calculators
Triangle Calculator
Solve any triangle from three known parts: sides, angles, area, perimeter and type, using the laws of sines and cosines.
Pythagorean Theorem Calculator
Find the hypotenuse or a missing side of a right triangle using a² + b² = c².
Trigonometry Calculator
Find sin, cos, tan, csc, sec and cot of any angle in degrees or radians.
