Right Triangle Calculator — Free Online Right Triangle Solver
Solve any right triangle instantly using the Pythagorean theorem.
Right Triangle Results
Leg a
3.0000
Leg b
4.0000
Hypotenuse c
5.0000
Angle A
36.87°
Angle B
53.13°
Area
6.0000 sq units
Perimeter
12.0000
Trigonometric Ratios
sin A
0.6000
sin B
0.8000
cos A
0.8000
cos B
0.6000
tan A
0.7500
tan B
1.3333
Common Pythagorean Triples Reference Table
| Leg a | Leg b | Hypotenuse c | Angle A | Area |
|---|---|---|---|---|
| 3 | 4 | 5 | 36.87° | 6 |
| 5 | 12 | 13 | 22.62° | 30 |
| 8 | 15 | 17 | 28.07° | 60 |
| 7 | 24 | 25 | 16.26° | 84 |
| 9 | 40 | 41 | 12.68° | 180 |
| 6 | 8 | 10 | 36.87° | 24 |
| 20 | 21 | 29 | 43.60° | 210 |
Related Calculators
Triangle Calculator
Solve any triangle with SSS, SAS, ASA, AAS, and SSA methods.
Pythagorean Theorem Calculator
Dedicated Pythagorean theorem solver for finding missing sides.
Circle Calculator
Calculate radius, diameter, circumference, and area of circles.
Slope Calculator
Find slope, distance, and equation of a line between two points.
Scientific Calculator
Advanced trigonometric calculations for complex problems.
Percentage Calculator
Calculate percentages for comparing ratios and proportions.
About this calculator
Right Triangle Formulas
Pythagorean Theorem
a² + b² = c² Trigonometric Ratios (Angle A)
sin(A) = a/c, cos(A) = b/c, tan(A) = a/b Area of Right Triangle
Area = (a x b) / 2 Perimeter
P = a + b + c Finding Angles
A = arcsin(a/c), B = 90° - A Variables Explained
- a: One leg of the right triangle (the side opposite angle A). The leg is always shorter than the hypotenuse.
- b: The other leg of the right triangle (the side opposite angle B). Together with leg a, the two legs form the right angle.
- c: The hypotenuse (the side opposite the 90-degree right angle). It is always the longest side of the right triangle.
- A: The acute angle opposite leg a. Angle A = arcsin(a/c) = arctan(a/b).
- B: The acute angle opposite leg b. Since A + B + 90 = 180, angle B always equals 90 - A.
Step-by-Step Example
Solve a right triangle with legs a = 3 and b = 4:
- Find the hypotenuse: c = sqrt(3² + 4²) = sqrt(9 + 16) = sqrt(25) = 5
- Find angle A: A = arcsin(3/5) = arcsin(0.6) = 36.87°
- Find angle B: B = 90 - 36.87 = 53.13°
- Calculate area: Area = (3 x 4) / 2 = 6 sq units
- Calculate perimeter: P = 3 + 4 + 5 = 12
- Trig ratios: sin(A) = 0.6, cos(A) = 0.8, tan(A) = 0.75
Sources
- Khan Academy — Geometry: khanacademy.org
- Math is Fun — Triangles: mathsisfun.com
- National Institute of Standards and Technology (NIST) — SI Units: nist.gov
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026