FREE • NO SIGN-UP • STEP-BY-STEP
Right Triangle Calculator
Find the area, sides, and angles of any right triangle. Enter any 2 known values and get every result, with the full step-by-step solution shown.
Right triangle calculator: enter any 2 values
This free right triangle calculator solves any right triangle from just two known values. Enter any two of the legs, hypotenuse, angles, altitude, area, or perimeter, and it instantly returns every side, both acute angles, the area, and more. It starts with the classic 3-4-5 triangle in feet, the builder's check for a square corner.
Results
3-4-5 Pythagorean triple- Leg a
- 3 ft
- Leg b
- 4 ft
- Hypotenuse c
- 5 ft
- Angle α
- 36.8699°
- Angle β
- 53.1301°
- Altitude h
- 2.4 ft
- Area
- 6 ft²
- Perimeter
- 12 ft
- Inradius
- 1 ft
- Circumradius
- 2.5 ft
Step-by-step solution
The working keeps extra decimal places so you can check it by hand. Answers are rounded to your chosen decimal places.
- Apply the Pythagorean theoremc = √(a² + b²)c = √(3² + 4²)= 5 ft
- Find angle αα = arctan(a / b)α = arctan(3 / 4)≈ 36.8699°
- Find angle ββ = 90° − αβ = 90° − 36.869898°≈ 53.1301°
- Compute the areaArea = (1/2)·a·bArea = (1/2)·
3· 4 = 6 ft² - Compute the perimeterP = a + b + cP = 3 + 4 + 5= 12 ft
- Compute the altitude to the hypotenuseh = (a·b) / ch = (3·
4) / 5 = 2.4 ft - Inradius (radius of the inscribed circle)r = (a + b − c) / 2r = (3 + 4 − 5) / 2= 1 ft
- Circumradius (radius of the circumscribed circle)R = c / 2R = 5 / 2= 2.5 ft
How to use the right triangle calculator
- Type any two known values into the form: two sides, a side and an angle, or a combination with the area, perimeter, or altitude.
- Pick your unit (mm, cm, m, km, in, ft, yd, or mi, or no unit) and choose whether angles are in degrees or radians.
- Read the results: all three sides, both acute angles, the area, perimeter, altitude, inradius, and circumradius.
- Check the step-by-step solution and the scaled diagram, then copy the shareable link to save or send your answer.
Results update as you type, and Pythagorean triples and special right triangles are labeled automatically.
Measuring with a tape? The right triangle calculator in feet and
inches takes readings like 5' 6 3/8" and gives every side to the nearest 1/16 in.
Area of a right triangle calculator
Finding the area of a right triangle is easier than for any other triangle, because the two legs are already perpendicular. One leg is the base and the other is the height, so the formula is simply:
Area = ½ × a × b
For example, a right triangle with legs of 6 ft and 8 ft has an area of ½ × 6 × 8 = 24 ft². Area is always measured in square units (cm², m², in², ft², and so on), and the calculator converts it for you when you switch units.
Area of a right triangle without both legs
- Hypotenuse and one leg: find the other leg with
b = √(c² − a²), then use ½ × a × b. - Hypotenuse and one angle:
Area = ½ × c² × sin α × cos α. - One leg and one angle:
b = a / tan α, soArea = a² / (2 × tan α). - Hypotenuse and altitude:
Area = ½ × c × h, where h is the height drawn to the hypotenuse.
You don't need to memorize these. Enter what you know into the area of a right triangle calculator above and it picks the right formula. It also works in reverse: enter the area and one side to find the missing side. See also the right triangle formulas reference.
Right triangle calculator with angles
The calculator works just as well with angles as with sides. When you know one acute angle and one side, the trigonometric ratios (SOH-CAH-TOA) give you everything else:
sin α = opposite / hypotenuse = a / ccos α = adjacent / hypotenuse = b / ctan α = opposite / adjacent = a / b
To find the angles from two sides, the calculator runs those ratios backwards: α = arctan(a / b),
or α = arcsin(a / c) when you know the hypotenuse. The second angle is then
β = 90° − α, because the two acute angles of every right triangle add up to 90°.
Angles can be in degrees or radians. An angle alone can't fix a triangle's size, so pair it with a side, the area, or the perimeter.
What is a right triangle?
A right triangle (or right-angled triangle) is a triangle with one angle of exactly 90°. The side opposite the right angle is the hypotenuse, and it is always the longest side. The two sides that form the right angle are the legs. Because a triangle's angles add up to 180°, the other two angles must add up to 90°.
Here, legs a and b sit opposite angles α and β, and c is the hypotenuse.
The sides are linked by the Pythagorean theorem, a² + b² = c². If you only need a missing side,
use the Pythagorean theorem calculator.
Worked example: squaring a corner with the 3-4-5 rule
Builders check that a corner is square with the 3-4-5 rule: mark 3 ft along one wall and 4 ft along the other,
then measure between the marks. If the diagonal is exactly 5 ft, the corner is a true 90°. That's the triangle
the calculator starts with. The hypotenuse is c = √(3² + 4²) = √25 = 5 ft. The area is
½ × 3 × 4 = 6 ft², and the perimeter is 3 + 4 + 5 = 12 ft. The angles are
α = arctan(3/4) ≈ 36.87° and β = 90° − 36.87° = 53.13°. The altitude to the hypotenuse
is h = (3 × 4)/5 = 2.4 ft, the inradius is (3 + 4 − 5)/2 = 1 ft, and the circumradius
is 5/2 = 2.5 ft.
Because 3-4-5 is a Pythagorean triple (three whole numbers with a² + b² = c²), the calculator flags
it, as it does for scaled copies like 6-8-10. For a large layout such as a deck or a foundation, builders use
one of those copies, 6-8-10 or 9-12-15, because a small error shows up more clearly on a bigger triangle. If
the diagonal comes out longer than 5 ft, the corner is wider than 90°; if it's shorter, the corner is tighter.
To size the triangle for your own layout and check a whole frame by its diagonals, use the
3-4-5 rule calculator. To cut a brace that keeps a gate or frame square, the
diagonal brace calculator gives its length and the angle at each end.
Special right triangles
Two right triangles have fixed side ratios, so you can solve them from a single side. The 45-45-90 triangle is an isosceles right triangle with sides in the ratio 1 : 1 : √2. The 30-60-90 triangle has sides in the ratio 1 : √3 : 2. Use the special right triangle calculator to solve either one, or go straight to the 30-60-90 triangle calculator or the isosceles right triangle calculator.
Key definitions
- Leg
-
One of the two shorter sides that form the right angle, called
aandbhere. - Hypotenuse
-
The side opposite the right angle and the longest side of a right triangle, called
chere. - Altitude to the hypotenuse
-
The perpendicular line from the right angle to the hypotenuse. Its length is
(a × b)/c.
Right triangle calculator FAQ
How do you find the area of a right triangle?
Multiply the two legs and divide by 2: Area = ½ × a × b. The legs are the two sides that meet at the right angle. If you only know the hypotenuse and one leg, find the missing leg first with the Pythagorean theorem, b = √(c² − a²).
Can I find the area of a right triangle from the hypotenuse alone?
No. A single hypotenuse fits infinitely many right triangles with different areas, so you need one more value: a leg, an angle, the altitude, or the perimeter. The largest possible area for a hypotenuse c is c²/4, reached when the triangle is a 45-45-90 triangle.
How do I find the angles of a right triangle?
Use an inverse trig function on any two sides: α = arctan(a/b), α = arcsin(a/c), or α = arccos(b/c). The other acute angle is 90° − α. Enter the two sides in the calculator and it shows both angles with the working.
How do you calculate a right triangle?
Start from any two known values, at least one of them a length. With two sides, use the Pythagorean theorem a² + b² = c² for the third side and arctan(a/b) for an angle. With one side and one angle, use sine, cosine, or tangent. The area is ½ × a × b and the perimeter is a + b + c. The full list is on the right triangle formulas page.
What are the rules for right triangles?
A right triangle, also called a right-angled triangle, has exactly one 90° angle, and all three angles add up to 180°, so the other two are acute and sum to 90°. The hypotenuse is the side opposite the right angle and is always the longest side; the two sides that form the right angle are the legs. The sides always satisfy the Pythagorean theorem, a² + b² = c².
What is the full Pythagorean theorem formula?
The Pythagorean theorem is a² + b² = c², where a and b are the legs and c is the hypotenuse. Solved for each side, it gives c = √(a² + b²) for the hypotenuse, a = √(c² − b²) for one leg, and b = √(c² − a²) for the other. For legs 3 and 4, c = √(9 + 16) = 5.
Is 4.5, 6 and 7.5 a right triangle?
Yes. 4.5² + 6² = 20.25 + 36 = 56.25, and 7.5² = 56.25, so the sides satisfy a² + b² = c². It is the 3-4-5 triangle scaled by 1.5. Any multiple of 3-4-5 is a right triangle, which is the 3-4-5 rule builders use to square corners, and the same goes for other Pythagorean triples such as 5-12-13 or 30-40-50.
Is this right triangle calculator free?
Yes. It is free, needs no sign-up, and runs entirely in your browser on phones, tablets, and desktops. Every result also gets a shareable link you can bookmark or send.
More questions? See the full right triangle FAQ.
Cite this page
To cite this calculator in schoolwork or a report, you can use this reference (APA style):
Right Triangle Calculators. (2026, October 10). Right triangle calculator. https://righttrianglecalculators.com/
References
The formulas and definitions on this page match these standard references.
- Weisstein, Eric W. “Right Triangle.” MathWorld, Wolfram Research.
- Weisstein, Eric W. “Pythagorean Theorem.” MathWorld, Wolfram Research.
- “§4.14 Definitions and Periodicity (Trigonometric Functions).” NIST Digital Library of Mathematical Functions, National Institute of Standards and Technology.
Hypotenuse calculator
Find the hypotenuse from two legs, a leg and an angle, the area, or the perimeter.
Pythagorean theorem calculator
Find the missing side of a right triangle, or check if 3 sides form one.
Special right triangle calculator
Solve 30-60-90 and 45-45-90 triangles from a single known side.
30-60-90 triangle calculator
Solve a 30-60-90 triangle from a single known side.
Isosceles right triangle calculator
Solve a 45-45-90 isosceles right triangle from a single known side.
3-4-5 rule calculator
Square a deck, foundation, or room: the diagonal to measure and a check of both diagonals.
Feet and inches triangle calculator
Type tape readings like 5' 6 3/8" and get every side to the nearest 1/16 in.
Diagonal brace calculator
Brace length and cut angles for a gate, frame, or shelf, in feet and inches or cm.
Right triangle formulas
Every right-triangle formula in one reference sheet.