Right (Rectangular) Triangle Calculator
Enter any two sides and this calculator will solve the full right triangle: missing side, area, perimeter, and acute angles.
Formula basis: a² + b² = c², where c is the longest side (hypotenuse).
What is a rectangle triangle calculator?
A rectangle triangle calculator (more commonly called a right triangle calculator) is a tool that uses geometry formulas to compute unknown values in a triangle that has one 90° angle. If you know two sides, you can quickly solve for the third side and then calculate additional properties such as area, perimeter, and the two acute angles.
This is especially useful for students, builders, engineers, and anyone working with layout, slopes, ramps, roof lines, or distance estimates.
How to use this calculator
Step-by-step
- Enter any two known sides: a, b, or c.
- Click Calculate.
- Read the solved values for all three sides, area, perimeter, and angles.
- Use Clear to reset the form.
If you enter all three sides, the tool checks whether they satisfy the Pythagorean theorem. If they do not, it will show a validation error.
Core formulas used
Pythagorean theorem
- c = √(a² + b²)
- a = √(c² - b²)
- b = √(c² - a²)
Area and perimeter
- Area = (a × b) / 2
- Perimeter = a + b + c
Angles
- Angle A = arcsin(a / c)
- Angle B = 90° - Angle A
Example calculations
Example 1: Legs are known
Suppose a = 6 and b = 8. Then c = √(36 + 64) = √100 = 10. Area = (6 × 8)/2 = 24. Perimeter = 6 + 8 + 10 = 24.
Example 2: One leg and hypotenuse are known
Suppose a = 9 and c = 15. Then b = √(225 - 81) = √144 = 12. Area = (9 × 12)/2 = 54. Perimeter = 9 + 12 + 15 = 36.
Common mistakes to avoid
- Using a hypotenuse value that is not the longest side.
- Entering negative numbers or zero-length sides.
- Mixing units (for example, centimeters for one side and meters for another).
- Rounding too early in multi-step calculations.
Where right triangle math is used in real life
- Construction: checking square corners and diagonal bracing.
- Surveying: indirect distance and elevation measurements.
- Navigation: route and displacement analysis.
- Computer graphics: vector length and positioning.
- Education: geometry, trigonometry, and physics problem solving.
Final thoughts
This rectangle triangle calculator is designed for fast, accurate, practical use. By entering only two sides, you can instantly get a complete solution and avoid manual calculation errors. Keep it handy whenever you need quick right triangle geometry results.