Enter any two known sides or angles of a right triangle and this calculator will determine all missing sides and angles using the Pythagorean theorem, SOH CAH TOA trigonometric ratios, and the angle sum of a triangle. You'll get step-by-step solutions, the area and perimeter, and a to-scale diagram of the solved triangle. Free to use, no sign-up required.
Fill in any two or more known values. Leave unknown fields blank. At least one side length is required.
Step 1 — Use the Pythagorean theorem: c² = a² + b² = 3² + 4² = 9 + 16 = 25 → c = √25 = 5
Step 2 — Find angle A using SOH (opposite / hypotenuse): sin(A) = a/c = 3/5 = 0.6 → A = sin⁻¹(0.6) ≈ 36.87°
Step 3 — Find angle B: B = 90° − A = 90° − 36.87° ≈ 53.13°
Step 4 — Area: Area = ½ × a × b = ½ × 3 × 4 = 6
Step 5 — Perimeter: P = a + b + c = 3 + 4 + 5 = 12
Result: c = 5, A ≈ 36.87°, B ≈ 53.13°, area = 6, perimeter = 12. This is a 3-4-5 right triangle (a right scalene triangle).
Step 1 — Find side a (opposite A) using SOH: sin(30°) = a/10 → a = 10 × 0.5 = 5
Step 2 — Find side b (adjacent to A) using CAH: cos(30°) = b/10 → b = 10 × (√3/2) ≈ 8.660
Step 3 — Find angle B: B = 90° − 30° = 60°
Step 4 — Verify with the Pythagorean theorem: a² + b² = 25 + 75 = 100 = c² ✓
Result: a = 5, b ≈ 8.660, B = 60°. This is a 30-60-90 right triangle.
This calculator solves right triangles by combining three fundamental relationships:
Depending on which values you enter, the calculator selects the most direct solution path (e.g., both legs → hypotenuse via Pythagoras; hypotenuse + angle → legs via sine and cosine). Every step is shown in the results. All calculations use full floating-point precision and are performed client-side in your browser — no data is sent to a server.
A right triangle is a triangle in which one angle is exactly 90° (a right angle). The side opposite the right angle is called the hypotenuse, and the other two sides are called legs. Right triangles satisfy the Pythagorean theorem: a² + b² = c².
If you know the other two sides, use the Pythagorean theorem: c = √(a² + b²) or a = √(c² − b²). If you know one side and one acute angle, use SOH CAH TOA (sine, cosine, or tangent) to solve for the missing side.
If you know one acute angle, the other is 90° − known angle. If you only know sides, use inverse trig: A = sin⁻¹(opposite / hypotenuse), or use cos⁻¹ or tan⁻¹ depending on which sides you know.
The 3-4-5 triangle is a special right triangle where the legs are 3 and 4 and the hypotenuse is 5. It satisfies 3² + 4² = 5² (9 + 16 = 25). It is the simplest integer Pythagorean triple and is often used in construction to check for right angles.
These are special right triangles with fixed side ratios. In a 30-60-90 triangle, sides are in the ratio 1 : √3 : 2. In a 45-45-90 triangle, sides are in the ratio 1 : 1 : √2.
The area of a right triangle is half the product of its two legs: Area = ½ × a × b. This is because the two legs are perpendicular, so one leg acts as the base and the other as the height.
No. In a right triangle, the hypotenuse is always the longest side because it's opposite the largest angle (90°). If your inputs suggest a leg longer than the hypotenuse, the triangle is impossible, and the calculator will display an error.
Yes. Use the angle unit toggle at the top to switch between degrees and radians. All angle inputs and outputs will use the selected unit.