Right Triangle Calculator
Find the missing sides, angles, area, and perimeter of a right triangle.
- Enter two compatible values: two sides, or one side and one acute angle.
- Side a and Side b are the legs; Hypotenuse (c) is the longest side.
- Angle A (degrees) is opposite side b, and Angle B (degrees) is the other acute angle.
- Results update as you type; Reset restores legs 3 and 4. There is no Calculate button.
- Lengths, angles, area, and perimeter appear with two decimal places, along with a drawing and side chart.
- Angles A and B add to 90°; use positive lengths and angles strictly between 0° and 90°.
- Two angles alone cannot determine size. Do not enter conflicting extra measurements; input cleanup is not a reliable geometry check.
Three-four-five triangle
- Input
- Side a = 3; Side b = 4; all other fields blank
- Result
- a: 3.00; b: 4.00; c: 5.00; A: 53.13°; B: 36.87°; Area: 6.00; Perimeter: 12.00
- How to check it
- The hypotenuse is the square root of 3² + 4², or 5; area is 3 times 4 divided by 2.
A leg and an angle
- Input
- Side a = 5; Angle A = 45°; other fields blank
- Result
- a: 5.00; b: 5.00; c: 7.07; A: 45.00°; B: 45.00°; Area: 12.50; Perimeter: 17.07
- How to check it
- With a 45° angle the legs match; the hypotenuse is 5 times the square root of 2.
Frequently asked questions
Can I enter just the two angles?
No. Add a side length to fix the triangle’s size.
Which angle is A?
It is between side a and the hypotenuse, opposite side b.
Can I enter three unrelated sides?
Use only two compatible inputs; inconsistent extra values are not fully checked.