Right triangle guide

How to use the Right Triangle Calculator

Use the Right Triangle Calculator when you know two sides of a 90-degree triangle. It fills in the missing side, hypotenuse, area, perimeter, acute angles, and formula steps.

Open the Right Triangle Calculator
Guide image for Right Triangle Calculator showing solve a right triangle from two sides, including the missing side, area with example inputs and result notes.
Right Triangle Calculator guide artwork sits with the walkthrough for solve a right triangle from two sides, including the missing side, area, perimeter, and acute angles, including inputs, examples, limits, and mistakes to check.View in the smoke-kawaii gallery

Quick start

  1. Choose two legs mode or leg and hypotenuse mode.
  2. Enter the known side lengths in one unit system.
  3. Add a unit label such as cm, ft, or m if useful.
  4. Press Calculate right triangle.
  5. Read the missing side, area, perimeter, angles, and formula steps together.

Best uses

Use this guide when you know the problem is a right triangle and you want to understand the side, area, perimeter, and angle results rather than only copy the answer.

  • Complete a right triangle from two known side lengths.
  • Find hypotenuse, missing leg, area, perimeter, and angles together.
  • Check 3-4-5, 5-12-13, and other right-triangle examples.
  • Compare side, area, perimeter, and angle results before copying homework notes.

Choosing input mode

Use two legs mode when both shorter sides are known. The calculator squares each leg, adds those squares, and takes the square root to find the hypotenuse.

Use leg and hypotenuse mode when one leg and the longest side are known. The calculator subtracts the known leg squared from the hypotenuse squared, then takes the square root to find the missing leg.

If the value entered as the hypotenuse is shorter than the known leg, stop and fix the inputs. The hypotenuse must be the longest side of a right triangle.

What the calculator returns

The result card returns all three side lengths, area, perimeter, and the two acute angles. The third angle is always 90 degrees, so the two acute angles always add up to 90 degrees.

Area is reported in square units, while perimeter and side lengths use the length unit you entered. A 9 cm by 12 cm right triangle gives c = 15 cm, area = 54 cm^2, and perimeter = 36 cm.

How to read a 3-4-5 style answer

A 3-4-5 triangle is the clean classroom example because 3^2 + 4^2 = 5^2. The side across from the right angle is 5, so it is the hypotenuse.

The calculator also estimates the acute angles. For a 3-4-5 triangle, they are about 36.87 degrees and 53.13 degrees. That makes the result more useful than a side-only Pythagorean check.

Mistakes and limits to check

Keep all side lengths in the same unit before you calculate. Do not mix inches with feet or centimeters with meters unless you convert first.

Avoid the common mistake of treating the shorter known side as the hypotenuse. The hypotenuse is always across from the 90-degree angle.

Round only after you check the formula steps. Rounding too early can make the area, perimeter, or angle notes look slightly different from your class example.

Do not use this page for triangles that are not known to contain a 90-degree angle. If you only have three side lengths and need to test the triangle type, use the general Triangle Calculator instead.

For construction, layout, and measurement checks, treat the answer as planning math. Real corners, boards, walls, and diagonals still need careful measuring and a separate square check.

When to use the simpler theorem tool

Use the Pythagorean Theorem Calculator when you only need one missing side and do not need area, perimeter, or angles.

Use this right triangle tool when you want the full triangle summary in one place, especially for homework notes, diagonal checks, and comparing side, area, perimeter, and angle results.

Worked examples for Right Triangle Calculator

Two legsa=9, b=12

c = 15, area = 54, perimeter = 36

Leg and hypotenuseleg=5, c=13

missing leg = 12, area = 30

Classic 3-4-5a=3, b=4

angles are about 36.87 and 53.13 degrees

Construction diagonala=6 ft, b=8 ft

diagonal c = 10 ft

Decimal sidesa=7.5, b=10

c = 12.5, area = 37.5

Invalid hypotenuseleg=9, c=7

invalid because c must be longest

FAQ in plain language

What should I enter first?

Choose the mode that matches what you know. Use two legs when both shorter sides are known, or leg and hypotenuse when one shorter side and the longest side are known.

How does the calculator find the missing side?

It uses the Pythagorean theorem. For two legs it uses a^2 + b^2 = c^2. For a missing leg it uses c^2 minus the known leg squared, then takes the square root.

How do I know which side is the hypotenuse?

The hypotenuse is opposite the 90-degree angle and is always the longest side. If the side marked c is not the longest, the input needs to be checked.

Why does the answer include area and perimeter?

Many right-triangle problems need more than the missing side. Area uses leg a times leg b divided by 2, and perimeter adds both legs plus the hypotenuse.

Can I use decimals and units?

Yes. Decimal side lengths are fine, and the optional unit label is copied into the result. Use one unit system at a time so the area and perimeter labels make sense.

What if the calculator says the hypotenuse input is invalid?

That means the hypotenuse value is not longer than the known leg. A valid right triangle cannot have a hypotenuse that is shorter than either leg.

When should I use the general Triangle Calculator instead?

Use the Triangle Calculator when the triangle is not guaranteed to be a right triangle, or when you need to test three side lengths without assuming a 90-degree angle.

Sources

Use these if you want to compare the formula, inputs, or limits with a trusted outside explanation.

Related tools

Keep exploring

If your triangle problem is close but not exactly a two-side right-triangle problem, stay in these nearby geometry tools.

Privacy and copying results

Recent answers stay visible only while you work in the current browser tab. They are not sent to a server.

Use Copy answer when you want to save the inputs and result in notes, homework, a message, or a project list. Check the units, labels, and limits before copying.