Free · Steps Shown · Diagram Live

Right TriangleCalculator

Find all sides, angles, area and perimeter of any right triangle. Enter any 2 known values — or check if three sides form a right triangle. Step-by-step solutions included.

✓ 100% Free Any 2 Values Trig + Pythagoras Check Right Triangle Live Diagram
Right Triangle Calculator
✦ Steps + Diagram
C B A c — hypotenuse (AB) b — side (AC) a — side (BC) B A 90°
C = 90° (right angle) · a = leg (BC) · b = leg (AC) · c = hypotenuse (AB)
Enter any 2 known values. Leave the others blank. The calculator finds everything else.
Sides
Angles (optional — enter one)
°
°
Please enter exactly 2 known values. Check that all values are positive.
Any 2
Known Values
c=√a²+b²
Pythagoras
Steps
Shown Always
Free
Forever
Quick Guide

How to Use the Right Triangle Calculator

Two modes — solve a right triangle from any 2 values, or check if three sides form a right triangle. Both show complete working steps.

01
Pick Your Mode

Solve Triangle — to find missing sides and angles. Check — to test if three lengths form a right triangle.

02
Enter 2 Known Values

Type any 2 from: leg a, leg b, hypotenuse c, angle A, or angle B. Leave all others blank. Blue = sides, orange = angles, green = hypotenuse.

03
Click Calculate

Hit Calculate Now — all missing sides, both angles, area, perimeter, and altitudes appear instantly with step-by-step working.

04
Read the Steps

Every result includes the formula used — Pythagorean theorem, sin/cos/tan, or inverse trig — with your actual numbers plugged in.

Formula Reference

Right Triangle Formulas

Every right triangle calculation uses one of these three formula groups. Our calculator picks the right one automatically based on what you enter.

Right triangle calculator trig formulas — Pythagorean theorem, sin cos tan, right triangle angles on blackboard
Right triangle formulas — Pythagorean theorem, trigonometric ratios, and angle relationships
Pythagorean Theorem
c² = a² + b²
c = √(a² + b²)
a = √(c² − b²)

Used when 2 sides are known. c is always the hypotenuse. Works only for right triangles (90°).

Trigonometric Ratios
sin(A) = a / c
cos(A) = b / c
tan(A) = a / b

Used when 1 side + 1 angle are known. The angle at C is always 90°. A + B = 90°.

Area & Perimeter
Area = ½ × a × b
Perimeter = a + b + c
Altitude = 2·Area / c

Area uses the two legs (not the hypotenuse). The altitude to the hypotenuse = a·b / c.

What Is a Right Triangle Calculator?

A right triangle calculator is a free online tool that solves any right triangle completely — finding all unknown sides, angles, area, perimeter, and altitude — from just two known values. It uses the Pythagorean theorem for sides and trigonometric functions (sin, cos, tan) for angle-side relationships, showing every step of the calculation.

Our right triangle calculator with angles accepts any combination of two values: two sides, one side and one angle, or two angles (though a right triangle always has one 90° angle, so knowing one other angle determines the third). The live diagram updates with your triangle's proportions after solving.

Solve right triangle calculator — find sides, angles and hypotenuse with Pythagorean theorem
Solve right triangle calculator — Pythagorean theorem, sin/cos/tan, angles, area with complete step-by-step solutions

How to Solve the Right Triangle — All Input Combinations

Given: Two Legs (a and b)

Use the Pythagorean theorem to find the hypotenuse: c = √(a² + b²). Then use inverse trig to find the angles: A = arctan(a/b) and B = 90° − A.

📘 Example — legs a=3, b=4

c = √(3²+4²) = √(9+16) = √25 = 5
A = arctan(3/4) = arctan(0.75) = 36.87°
B = 90° − 36.87° = 53.13°
Area = ½ × 3 × 4 = 6

Given: One Leg + Hypotenuse (a and c)

Find the other leg: b = √(c² − a²). Find the angle: A = arcsin(a/c).

Given: One Leg + One Angle (a and A)

Use trig ratios: b = a / tan(A) and c = a / sin(A). Then B = 90° − A.

Remember: In a right triangle, the two non-right angles always add up to 90° (they are complementary). So if you know angle A, you automatically know B = 90° − A. This is why knowing just one acute angle + one side is enough to solve the entire triangle.

Is It a Right Triangle? FAQs

Is it a right triangle? / Is this a right triangle?

A triangle is a right triangle if and only if the square of its longest side equals the sum of squares of the other two sides — the Pythagorean theorem: c² = a² + b². Use our Check mode to test any three side lengths instantly.

How to tell if a triangle is a right triangle?

Follow these steps:

  1. Identify the longest side — this would be the hypotenuse (c) if it is a right triangle
  2. Calculate: a² + b² (sum of squares of the two shorter sides)
  3. Calculate: c² (square of the longest side)
  4. If a² + b² = c² → Yes, it is a right triangle
  5. If a² + b² ≠ c² → Not a right triangle

📘 Examples — Determine if a triangle is a right triangle

Sides 5, 12, 13:   5²+12² = 25+144 = 169 = 13² ✓ → RIGHT TRIANGLE
Sides 6, 8, 10:   6²+8² = 36+64 = 100 = 10² ✓ → RIGHT TRIANGLE
Sides 4, 5, 7:   4²+5² = 16+25 = 41 ≠ 49 = 7² ✗ → NOT a right triangle
Sides 7, 24, 25:   7²+24² = 49+576 = 625 = 25² ✓ → RIGHT TRIANGLE

Which side lengths form a right triangle?

Any three positive numbers satisfying a² + b² = c² form a right triangle. The most common Pythagorean triples (whole number right triangles) are:

Click any triple in our Check mode to instantly verify it forms a right triangle.

Right triangle calculator angle — solving right triangles in construction, navigation, and physics
Right triangle uses — roof pitch, navigation bearings, construction angles, and physics force vectors

Real-Life Uses of Right Triangle Calculations

Common Questions

Right Triangle Calculator FAQ

Is it a right triangle? How do I check?

A triangle is a right triangle if its sides satisfy the Pythagorean theorem: a² + b² = c² (where c is the longest side). Example: sides 3, 4, 5 → 3²+4² = 9+16 = 25 = 5² ✓ Yes! Use our Check Right Triangle mode — enter all 3 sides and the result shows instantly whether they form a right triangle, with the full calculation shown.

How to tell if a triangle is a right triangle from its angles?

If any one of the three angles is exactly 90°, it is a right triangle. Since all three angles must sum to 180°, a right triangle has angles of 90° + A + B = 180°, meaning the other two angles are complementary (A + B = 90°). You can also verify by the side lengths using c² = a² + b².

Which side lengths form a right triangle?

Any three positive numbers where the sum of squares of the two smaller numbers equals the square of the largest. Famous Pythagorean triples: 3-4-5, 5-12-13, 8-15-17, 7-24-25. Any multiple of these also works (e.g. 6-8-10, 10-24-26). Use our Check mode to test any set of three numbers — click the preset chips to try famous triples instantly.

How to find the hypotenuse of a right triangle?

The hypotenuse (longest side, opposite the 90° angle) is found using the Pythagorean theorem: c = √(a² + b²). Example: legs 5 and 12 → c = √(25+144) = √169 = 13. Enter the two legs in our Solve Triangle mode and the hypotenuse is calculated instantly with the full working shown.

How to find the angles of a right triangle?

If you know two sides, use inverse trigonometry: A = arcsin(a/c) or A = arctan(a/b). The third angle is always B = 90° − A (since C = 90° is fixed). Enter any two known sides in our right triangle calculator with angles and both acute angles are found automatically with the trig formula used shown step by step.

More Free Tools

Related Calculators