A right triangle calculator solves any right triangle from 2 known values. Enter 2 sides, or 1 side and 1 acute angle, and the calculator returns all 3 sides, both acute angles, area, perimeter, altitude, inradius, and circumradius. The 3-4-5 example below gives a hypotenuse of 5, angles of 36.87 and 53.13 degrees, and an area of 6.
Use the calculator below for homework, construction checks, and exam practice. The calculator runs in this page with no sign-up, and each result shows the formula behind it. The 4 worked examples after the calculator show each input case by hand.
Use the Right Triangle Calculator
Enter any 2 values and the triangle solves itself, with all 3 sides, both angles, area and perimeter.
Enter two values you know. The other sides and angles update as you type.
- Leg a
- –
- Leg b
- –
- Hypotenuse c
- –
- Area
- –
- Angle A
- –
- Angle B
- –
- Perimeter
- –
- Height to c
- –
Working
Values in colour were calculated for you.

How Do You Use the Right Triangle Calculator?
Fill in exactly 2 of the 5 boxes in the calculator above. The triangle updates as you type. Side a is opposite angle A, side b is opposite angle B, and side c is the hypotenuse opposite the 90 degree angle. Leave the other 3 boxes empty.
What Are the 4 Steps to Use the Calculator?
Use the calculator in 4 steps. Each step moves from known values to a full triangle. The 4 steps cover entry, calculation, reading, and checking.
- Enter 2 known values in the boxes above
- Watch the triangle solve itself as you type
- Read all 3 sides, both acute angles, and the area
- Check the result against the steps shown below it

What Is a Right Triangle Calculator?
A right triangle calculator is a tool that finds every missing side and angle of a right triangle from 2 known values. A right triangle has 1 angle of 90 degrees, 2 legs that form the right angle, and 1 hypotenuse opposite the right angle. The calculator uses the Pythagorean theorem and the sine, cosine, and tangent ratios.
Search data records 27,100 monthly searches for a right triangle calculator, with a keyword difficulty score of 46 and a cost per click of $0.00. The demand shows that students, builders, and engineers use this tool for fast, exact triangle answers. Mathematics LibreTexts lists the same 6 formulas this calculator uses.
The calculator returns 9 measures from 2 inputs. Examples include 3 sides, 2 acute angles, area, perimeter, altitude, inradius, and circumradius. The 2 inputs fix the size and the shape, and the 9 outputs describe the full triangle.
What Are the Right Triangle Formulas?
The calculator uses 6 formulas. The table below lists each quantity, its formula, and its variables. The Pythagorean theorem links the 3 sides, and the trigonometric ratios link sides with angles.
| Quantity | Formula | Variables |
|---|---|---|
| Hypotenuse | c equals square root of a squared plus b squared | a and b are the legs, c is the hypotenuse |
| Missing leg | b equals square root of c squared minus a squared | c is the hypotenuse, a is the known leg |
| Angle A | A equals arctan of a divided by b | A is opposite leg a, B is opposite leg b |
| Angle B | B equals 90 minus A | A and B are the 2 acute angles |
| Area | area equals one half times a times b | a and b are the legs |
| Perimeter | perimeter equals a plus b plus c | a, b, and c are the 3 sides |
| Altitude to the hypotenuse | altitude equals a times b divided by c | a and b are the legs, c is the hypotenuse |
| Inradius | inradius equals a plus b minus c, divided by 2 | a, b, and c are the 3 sides |
| Circumradius | circumradius equals c divided by 2 | c is the hypotenuse |
The Pythagorean Theorem gives the link between the 3 sides, and the same theorem powers the calculator. The legs meet at the right angle, so the legs serve as base and height for the area. The hypotenuse is the longest side, and the circumradius is half the hypotenuse.
How Do You Find the Hypotenuse From 2 Legs?
Find the hypotenuse from 2 legs with c equals the square root of a squared plus b squared. Legs of 3 and 4 give c equals the square root of 9 plus 16, and the square root of 25 equals 5. The 3-4-5 result is the most common Pythagorean triple.
Find the angles next with A equals arctan of a divided by b. Legs of 3 and 4 give A equals arctan of 3 divided by 4, and A equals 36.87 degrees. Angle B equals 90 minus 36.87, and B equals 53.13 degrees.
How Do You Find the Other Side From a Leg and the Hypotenuse?
Find the other leg from a leg and the hypotenuse with b equals the square root of c squared minus a squared. A leg of 5 and a hypotenuse of 13 give b equals the square root of 169 minus 25, and the square root of 144 equals 12. The 5-12-13 result is the second most common Pythagorean triple.
Use How to Find the Hypotenuse for the reverse case, where the 2 legs are known and the hypotenuse is missing. The same Pythagorean theorem answers both directions, and the calculator shows each step. The hypotenuse is the side opposite the right angle in both cases.
How Do You Find the Missing Sides From a Side and an Angle?
Find the missing sides from a side and an angle with sine, cosine, and tangent. A hypotenuse of 10 and an angle of 30 degrees give a equals 10 times sin 30, and a equals 5. The other leg equals 10 times cos 30, and b equals 8.66.
A leg of 6 and an angle of 40 degrees give the other leg as 6 divided by tan 40, and b equals 7.15. The hypotenuse equals 6 divided by sin 40, and c equals 9.33. The 2 ratios use the known side and the known angle in each case.
Why Do 2 Angles Give No Answer?
Two angles fix the shape of a triangle, not its size. Similar triangles share the same angles at any size, so angles of 36.87 and 53.13 degrees fit a 3-4-5 triangle and a 6-8-10 triangle. The calculator needs 1 side length with the angles to fix the size.

What Are 4 Worked Examples for a Right Triangle Calculator?
The 4 worked examples below cover each input case the calculator accepts. Each example shows the input, the formulas, and the full result. The numbers match the calculator output for the same inputs.
What Is the Result for Legs 3 and 4?
Legs 3 and 4 give a hypotenuse of 5, angles of 36.87 and 53.13 degrees, and an area of 6. The hypotenuse is the square root of 9 plus 16, and the square root of 25 equals 5. The area is one half times 3 times 4, and one half times 12 equals 6.
The perimeter is 3 plus 4 plus 5, and the perimeter equals 12. The altitude to the hypotenuse is 3 times 4 divided by 5, and the altitude equals 2.4. The inradius is 3 plus 4 minus 5, divided by 2, and the inradius equals 1.
What Is the Result for Legs 6 and 8?
Legs 6 and 8 give a hypotenuse of 10, angles of 36.87 and 53.13 degrees, and an area of 24. The hypotenuse is the square root of 36 plus 64, and the square root of 100 equals 10. The area is one half times 6 times 8, and one half times 48 equals 24.
The perimeter is 6 plus 8 plus 10, and the perimeter equals 24. The altitude to the hypotenuse is 6 times 8 divided by 10, and the altitude equals 4.8. The circumradius is 10 divided by 2, and the circumradius equals 5.
What Is the Result for a Leg of 5 and a Hypotenuse of 13?
A leg of 5 and a hypotenuse of 13 give the other leg as 12, angles of 22.62 and 67.38 degrees, and an area of 30. The other leg is the square root of 169 minus 25, and the square root of 144 equals 12. The area is one half times 5 times 12, and one half times 60 equals 30.
Angle A is arcsin of 5 divided by 13, and A equals 22.62 degrees. Angle B is 90 minus 22.62, and B equals 67.38 degrees. The perimeter is 5 plus 12 plus 13, and the perimeter equals 30.
How High Does a 10 Foot Ladder Reach at 75 Degrees?
A 10 foot ladder at 75 degrees to the ground reaches 9.66 feet up the wall. The height is 10 times sin 75, and 10 times 0.966 equals 9.66. The foot of the ladder sits 2.59 feet from the wall, because 10 times cos 75 equals 2.59.
The ladder, the wall, and the ground form a right triangle with a hypotenuse of 10 feet. The 75 degree angle sits at the ground, and the 15 degree angle sits at the top of the ladder. The area of the triangle is one half times 9.66 times 2.59, and the area equals 12.51 square feet.
What Are 5 Common Pythagorean Triples?
Pythagorean triples are sets of 3 whole numbers that satisfy the Pythagorean theorem. The table below lists 5 triples, with each triple scaled by 2 in the last column. Builders use the 3-4-5 triple to check square corners.
| Triple | Sides | Scaled by 2 |
|---|---|---|
| Triple 1 | 3, 4, 5 | 6, 8, 10 |
| Triple 2 | 5, 12, 13 | 10, 24, 26 |
| Triple 3 | 8, 15, 17 | 16, 30, 34 |
| Triple 4 | 7, 24, 25 | 14, 48, 50 |
| Triple 5 | 20, 21, 29 | 40, 42, 58 |
Each triple gives a whole-number hypotenuse with no decimals. The 3-4-5 triple is the smallest, and the 20-21-29 triple is the largest of the 5. The calculator returns the same whole numbers for each triple.
What Are 4 Common Mistakes With a Right Triangle Calculator?
The 4 common mistakes below cause most wrong answers with a right triangle calculator. Each mistake has a fix in the same item. The fixes use the definitions from the formulas table.
- Using the hypotenuse in the area formula, since area needs the 2 legs
- Entering 2 angles only, since 2 angles fix the shape and not the size
- Entering a hypotenuse shorter than a leg, since the hypotenuse is the longest side
- Mixing degrees and radians, since the calculator reads angles in degrees

What Is the Definitive Answer for a Right Triangle Calculator?
A right triangle calculator solves a right triangle from 2 known values: 2 sides, or 1 side and 1 acute angle. It returns all 3 sides, both acute angles, area, perimeter, altitude to the hypotenuse, inradius, and circumradius. The Pythagorean theorem and the sine, cosine, and tangent ratios give every result.
The calculator needs exactly 2 values, and 2 angles alone give no size. The 3-4-5 triangle is the standard check: legs 3 and 4 give a hypotenuse of 5, angles of 36.87 and 53.13 degrees, and an area of 6. The Pythagorean Theorem page gives the proof behind the main formula, and How to Find the Hypotenuse covers the most common single calculation.
What Questions Do Students Ask About a Right Triangle Calculator?
How do you find the hypotenuse of a right triangle?
Square both legs, add the squares, and take the square root, since c equals the square root of a squared plus b squared.
What 2 values does a right triangle calculator need?
It needs 2 sides, or 1 side and 1 acute angle, since 2 values fix the size and the shape.
How do you find the area of a right triangle?
Multiply the 2 legs and divide by 2, since area equals one half times a times b.
How do you find the angles of a right triangle?
Use arctan of a divided by b for angle A, then subtract A from 90 for angle B.
What is the altitude to the hypotenuse?
The altitude to the hypotenuse equals a times b divided by c, and it is the height from the right angle to the hypotenuse.
What is the circumradius of a right triangle?
The circumradius equals the hypotenuse divided by 2, since the hypotenuse is the diameter of the circumscribed circle.
A right triangle calculator turns 2 known values into a full triangle: 3 sides, 2 acute angles, area, perimeter, altitude, inradius, and circumradius. The 3-4-5 example shows the method in 5 numbers, and the 4 worked examples show each input case. Use the calculator above for the next triangle, and check each answer against the steps it shows.