Right Triangle Calculator

Solve any right triangle in seconds. Enter your known sides, angles, or area to instantly find the hypotenuse, missing measurements, area, and perimeter.

Enter any two values — two of the lengths a, b, c, or one length with one angle. Leave the rest blank.

Angles must be between 0° and 90°, and each leg must be shorter than the hypotenuse.

abcβα90°

The right angle sits at the bottom-left. Leg a is opposite angle α, leg b is opposite β, and c is the hypotenuse.

Advertisement
Test ad slot: Calculator action display ad (1000000003)

Was this calculator helpful?

Your feedback helps us improve our calculators.

What Is a Right Triangle Calculator?

A right triangle calculator is an online tool that solves a right triangle using the measurements you already know. Enter two sides, one side and an acute angle, or the area with a supported side or angle, and the calculator finds the remaining measurements.

It can calculate:

  • Side a

  • Side b

  • Hypotenuse c

  • Angle α

  • Angle β

  • Right angle 90°

  • Triangle area

  • Triangle perimeter

A right triangle always contains one 90-degree angle. The two sides that form the right angle are called the legs, while the side opposite the 90° angle is the hypotenuse. The hypotenuse is always the longest side of a right triangle.

Our right angle triangle calculator uses the Pythagorean theorem and trigonometric relationships such as sine, cosine, and tangent to solve missing sides and angles. 

How to Use the Right Triangle Calculator

The calculator provides three solving options: Two sides, Angle and one side, and Area and one side. Choose the tab that matches the measurements you already know.

Using Two Sides

Use this option when you know any two side lengths of the right triangle.

  1. Select the Two sides tab.

  2. Enter any two known values: Side (a), Side (b), or Hypotenuse (c).

  3. Leave the unknown measurements blank.

  4. Select the appropriate unit for each side.

  5. Click Solve Triangle.

  6. Review the missing side, hypotenuse, angles, area, and perimeter in the result section.

For example, if you know sides a and b, the calculator uses the Pythagorean theorem to find hypotenuse c. If you know one leg and the hypotenuse, it can calculate the other leg.

Using an Angle and One Side

Choose Angle and one side when you know one acute angle and one side length.

  1. Select the Angle and one side tab.

  2. Enter one known side: a, b, or c.

  3. Enter either Angle (α) or Angle (β).

  4. Choose the required units.

  5. Leave the unknown fields blank.

  6. Click Solve Triangle to calculate the remaining measurements.

The known angle must be an acute angle between 0° and 90°.

With one side and one acute angle, the right angle triangle calculator can use trigonometric functions to determine the missing sides. It can also find the other acute angle because the two acute angles in a right triangle always add up to 90°.

Using Area and One Side

The Area and one side option provides another way to solve a right triangle when its area is already known.

  1. Select Area and one side.

  2. Enter the known Area.

  3. Enter a supported known side or acute angle.

  4. Select the correct measurement units.

  5. Leave unnecessary fields blank.

  6. Click Solve Triangle.

  7. Check the calculated sides, angles, area, and perimeter.

Enter only valid measurements. Side lengths should be positive, acute angles must be between 0° and 90°, and the hypotenuse must be longer than either leg.

Note: Area with only the hypotenuse is not enough to uniquely determine a right triangle, so this combination is not supported.

Right Triangle Formula

Different right angle triangle formula are used depending on which measurements are known. The most important are the Pythagorean theorem, trigonometric ratios, area formula, and perimeter formula.

Pythagorean Theorem

The Pythagorean theorem describes the relationship between the three sides of a right triangle:

a2+b2=c2a^2+b^2=c^2

Where:

  • (a) = first leg

  • (b) = second leg

  • (c) = hypotenuse

The theorem states that the sum of the squares of the two legs equals the square of the hypotenuse.

Formula to Find the Hypotenuse

When sides (a) and (b) are known, calculate the hypotenuse using:

c=a2+b2c=\sqrt{a^2+b^2}

For example, suppose:

a=6a=6

b=8b=8

Then:

c=62+82c=\sqrt{6^2+8^2}

c=36+64c=\sqrt{36+64}

c=100=10c=\sqrt{100}=10

So, the hypotenuse is 10 units.

A hypotenuse calculator performs this calculation automatically and can also determine the triangle's angles, area, and perimeter.

Formula to Find a Missing Leg

If the hypotenuse and one leg are known, rearrange the Pythagorean theorem.

To find side (a):

a=c2b2a=\sqrt{c^2-b^2}

To find side (b):

b=c2a2b=\sqrt{c^2-a^2}
For example, if the hypotenuse is 13 and one leg is 5:

b=13252b=\sqrt{13^2-5^2}

b=16925b=\sqrt{169-25}

b=144=12b=\sqrt{144}=12

Therefore, the missing side is 12 units.

These formulas are useful when you need to know how to find the length of a triangle when two of its three side lengths are already known.

Right Triangle Angle Formula

If you know a side and an acute angle, or two sides and want to find an angle, you can use right-triangle trigonometry.

The three main trigonometric ratios are sine, cosine, and tangent. These relationships compare the opposite, adjacent, and hypotenuse sides of a right triangle.

A common way to remember them is SOHCAHTOA:

  • SOH:Sine=Opposite÷HypotenuseSOH: Sine = Opposite ÷ Hypotenuse

  • CAH:Cosine=Adjacent÷HypotenuseCAH: Cosine = Adjacent ÷ Hypotenuse

  • TOA:Tangent=Opposite÷AdjacentTOA: Tangent = Opposite ÷ Adjacent

Using angle α in this calculator:

Sine

sin(α)=ac\sin(\alpha)=\frac{a}{c}

Here, (a) is opposite α and (c) is the hypotenuse.

Cosine

cos(α)=bc\cos(\alpha)=\frac{b}{c}

Here, (b) is adjacent to α and (c) is the hypotenuse.

Tangent

tan(α)=ab\tan(\alpha)=\frac{a}{b}

Here, (a) is opposite α and (b) is adjacent to it.

How to Find the Angle of a Triangle

If you're wondering how to find the angle of a triangle when two sides are known, use an inverse trigonometric function.

For example, when the opposite and adjacent sides are known:

α=tan1(ab)\alpha=\tan^{-1}\left(\frac{a}{b}\right)

Suppose:

a=6,b=8a=6,\quad b=8

Then:

α=tan1(68)\alpha=\tan^{-1}\left(\frac{6}{8}\right)

α36.87\alpha\approx36.87^\circ

The other acute angle is:

β=90α\beta=90^\circ-\alpha

β=9036.87\beta=90^\circ-36.87^\circ

β53.13\beta\approx53.13^\circ

So the triangle's three angles are approximately 36.87°, 53.13°, and 90°.

The right angle calculator handles these trigonometric calculations automatically when you provide enough information to solve the triangle.

Area of a Right Triangle

Because the two legs of a right triangle are perpendicular, they can be treated as its base and height.

The area formula is:

A=12abA=\frac{1}{2}ab

Where:

  • (A) = area

  • (a) = first leg

  • (b) = second leg

For example, if:

a=6,b=8a=6,\quad b=8

Then:

A=12(6)(8)A=\frac{1}{2}(6)(8)

A=24A=24

The area is 24 square units.

If side measurements are in centimeters, for example, the area is expressed in square centimeters ((cm^2)).

Perimeter of a Right Triangle

The perimeter is the total distance around the triangle. Add all three side lengths:

P=a+b+cP=a+b+c

Where:

  • (P) = perimeter

  • (a) and (b) = legs

  • (c) = hypotenuse

For a right triangle with sides 6, 8, and 10:

P=6+8+10P=6+8+10

P=24P=24

So, the perimeter is 24 units.

The right angle triangle calculator automatically displays both area and perimeter along with the missing sides and angles, so you do not need to calculate them separately.

How to Find the Hypotenuse of a Right Triangle

The hypotenuse is the longest side of a right triangle and is always opposite the 90° angle. If you know the lengths of the two legs, you can find the hypotenuse using the Pythagorean theorem.

The formula is:

c=a2+b2c=\sqrt{a^2+b^2}

Suppose the two legs are:

a=9,b=12a=9,\quad b=12

Substitute these values:

c=92+122c=\sqrt{9^2+12^2}

c=81+144c=\sqrt{81+144}

c=225c=\sqrt{225}

c=15c=15

Therefore, the hypotenuse is 15 units.

How to Find the Length of a Right Triangle

How you find a missing side length depends on the information you already have. A right triangle can be solved using the Pythagorean theorem or trigonometric ratios.

When Two Legs Are Known

If sides (a) and (b) are known, find the hypotenuse with:

c=a2+b2c=\sqrt{a^2+b^2}

When One Leg and the Hypotenuse Are Known

If you know the hypotenuse and one leg, rearrange the Pythagorean theorem.

To find (a):

a=c2b2a=\sqrt{c^2-b^2}

To find (b):

b=c2a2b=\sqrt{c^2-a^2}

When One Side and One Angle Are Known

If you know one side and one acute angle, use sine, cosine, or tangent to calculate the missing sides.

For example:

sin(α)=ac\sin(\alpha)=\frac{a}{c}

If (c) and (α\alpha) are known:

a=csin(α)a=c\sin(\alpha)

Similarly:

b=ccos(α)b=c\cos(\alpha)

Exact formula depends on which side and angle you know. The right angle triangle calculator automatically selects the appropriate relationship, so you do not need to decide which trigonometric formula to use.

How to Find the Angle of a Right Triangle

A right triangle already has one angle equal to 90°. The other two angles, α and β, are acute and together equal 90°.

If one acute angle is known, finding the other is simple:

β=90α\beta=90^\circ-\alpha

For example, if:

α=35\alpha=35^\circ

Then:

β=9035=55\beta=90^\circ-35^\circ=55^\circ

If no acute angle is known but two sides are available, you can use an inverse trigonometric function. Inverse sine, cosine, and tangent can convert a known side ratio into an angle.

For example:

α=tan1(ab)\alpha=\tan^{-1}\left(\frac{a}{b}\right)

If:

a=5,b=10a=5,\quad b=10

Then:

α=tan1(510)\alpha=\tan^{-1}\left(\frac{5}{10}\right)

α26.57\alpha\approx26.57^\circ

The other acute angle is:

β=9026.57\beta=90^\circ-26.57^\circ

β63.43\beta\approx63.43^\circ

A right angle calculator can perform these calculations automatically and show both acute angles in the results.

Right Triangle Calculation Examples

Here are practical examples showing how the right angle triangle calculator solves right triangles with different known measurements.

Example 1: Find the Hypotenuse Using Two Sides

Suppose:

  • Side (a=6) cm

  • Side (b=8) cm

Use:

c=a2+b2c=\sqrt{a^2+b^2}

c=62+82c=\sqrt{6^2+8^2}

c=10 cmc=10\text{ cm}

The area is:

A=12(6)(8)=24 cm2A=\frac{1}{2}(6)(8)=24\text{ cm}^2

The perimeter is:

P=6+8+10=24 cmP=6+8+10=24\text{ cm}

The acute angles are approximately:

α=36.87\alpha=36.87^\circ

β=53.13\beta=53.13^\circ

So the solved right triangle has sides 6 cm, 8 cm, and 10 cm, with acute angles of approximately 36.87° and 53.13°.

Example 2: Find the Sides Using an Angle and the Hypotenuse

Suppose:

α=30\alpha=30^\circ

and:

c=60 cmc=60\text{ cm}

Since (a) is opposite α:

a=csin(α)a=c\sin(\alpha)


a=60sin(30)a=60\sin(30^\circ)

a=30 cma=30\text{ cm}

To calculate (b):

b=ccos(α)b=c\cos(\alpha)

b=60cos(30)b=60\cos(30^\circ)

b51.9615 cmb\approx51.9615\text{ cm}

The other acute angle is:

β=9030=60\beta=90^\circ-30^\circ=60^\circ

The area is approximately:

A=12(30)(51.9615)A=\frac{1}{2}(30)(51.9615)

A779.4229 cm2A\approx779.4229\text{ cm}^2

The perimeter is approximately:

P=30+51.9615+60P=30+51.9615+60

P141.9615 cmP\approx141.9615\text{ cm}

This example shows how the right angle triangle calculator can solve the entire triangle from just one side and one acute angle.

Example 3: Solve Using Area and One Leg

Suppose a right triangle has:

A=60 cm2A=60\text{ cm}^2

and:

a=10 cma=10\text{ cm}

Start with the area formula:

A=ab2A=\frac{ab}{2}

Solve for (b):

b=2Aab=\frac{2A}{a}

b=2(60)10b=\frac{2(60)}{10}

b=12 cmb=12\text{ cm}

Now calculate the hypotenuse:

c=102+122c=\sqrt{10^2+12^2}

c=244c=\sqrt{244}

c15.6205 cmc\approx15.6205\text{ cm}

Once both legs are known, the right triangle calculator can also determine α, β, and the perimeter.

Understanding Your Right Triangle Calculator Results

After you select Solve Triangle, the result section provides the measurements needed to describe the complete right triangle.

Side (a)

Side a is one of the two legs and is opposite angle α.

Side (b)

Side b is the other leg. It is opposite angle β and forms the 90° angle with side a.

Hypotenuse (c)

The hypotenuse (c) is opposite the right angle. It is always the longest side of a valid right triangle.

Angle (α)

Angle α is the acute angle opposite side a. Its value must be greater than 0° and less than 90°.

Angle (β)

Angle β is the acute angle opposite side b. Together:

α+β=90\alpha+\beta=90^\circ

Right Angle

Every right triangle contains exactly one 90° angle.

Area

Area measures the amount of space inside the triangle and is reported in square units, such as (cm^2).

Perimeter

Perimeter is the total length around the triangle:

P=a+b+cP=a+b+c

Benefits of Using a Right Triangle Calculator

A right triangle calculator makes multi-step geometry and trigonometry calculations easier. Key benefits include:

  • Calculates missing sides and angles quickly

  • Finds the hypotenuse without manual square-root calculations

  • Solves triangles from different combinations of known values

  • Calculates area and perimeter at the same time

  • Helps check manual geometry or trigonometry work

  • Reduces errors caused by choosing the wrong formula

  • Provides detailed measurements in one result

It is especially convenient when calculations involve decimal measurements or trigonometric functions that would otherwise require a scientific calculator.

When Is a Right Triangle Calculator Useful?

Right triangles appear in many mathematical and practical measurement problems. A right angle triangle calculator can be useful when you need to find a missing length, diagonal, angle, height, or distance.

Common applications include geometry and trigonometry problems where students need to solve for unknown sides and angles.

In construction and carpentry, right-triangle calculations can help with diagonal measurements, stairs, ramps, rafters, and other layouts involving perpendicular dimensions.

In architecture and engineering, the same relationships can help with preliminary geometric measurements, slopes, heights, and distances.

Right-triangle trigonometry is also used in applied measurement problems across fields such as surveying and physics.

For professional work, calculator results should be checked against the requirements, tolerances, and standards of the specific project.

Who Can Use the Right Triangle Calculator?

The right triangle calculator can help anyone working with right-triangle measurements, including:

  • Students: Check geometry and trigonometry problems.

  • Teachers: Create or verify classroom examples.

  • Builders and contractors: Estimate basic diagonal, slope, and length relationships.

  • Engineers and designers: Perform quick preliminary geometry calculations.

  • DIY users: Work with basic layouts, ramps, roofs, or diagonal measurements.

  • General users: Solve missing-side or missing-angle problems without manually working through every formula.

Tips for More Accurate Right Triangle Calculations

Enter measurements carefully and make sure each value represents the correct side or angle.

Use the same measurement unit for related side lengths whenever possible. Mixing centimeters, meters, inches, and feet without proper conversion can produce misleading results.

Remember that c represents the hypotenuse. It must be longer than either leg.

When entering an acute angle, make sure it is between 0° and 90°.

Avoid rounding intermediate values too early. Keep more decimal places during the calculation and round only the final result when possible.

Common Right Triangle Calculation Mistakes

Confusing a Leg With the Hypotenuse

The hypotenuse is always opposite the 90° angle and is the triangle's longest side. Using a leg as (c) will produce an incorrect result.

Using the Wrong Opposite or Adjacent Side

“Opposite” and “adjacent” depend on which acute angle you are working with. A side that is opposite α may be adjacent to β.

Entering an Invalid Hypotenuse

The hypotenuse cannot be shorter than either leg in a valid right triangle.

Mixing Measurement Units

Entering one side in centimeters and another in inches without converting them first can make the result incorrect.

Using Degrees and Radians Incorrectly

If performing calculations manually, check whether your scientific calculator is set to degrees or radians. The CalcifyAI interface accepts angles according to the unit selected in the input field.

Rounding Too Early

Rounding a side or angle during an intermediate step can affect later calculations for area, perimeter, or other measurements.

Frequently Asked Questions (FAQs)

What is a right triangle calculator?

A right triangle calculator is a tool that finds missing sides, acute angles, hypotenuse, area, and perimeter of a right triangle from known measurements.

How do you calculate a right triangle?

Use the Pythagorean theorem when two sides are known or trigonometric functions such as sine, cosine, and tangent when sides and acute angles are involved.

What is the right angle triangle formula?

The main right angle triangle formula is the Pythagorean theorem:

a2+b2=c2a^2+b^2=c^2

Here, (a) and (b) are the legs and (c) is the hypotenuse.

How do you find the hypotenuse?

If both legs are known, use:

c=a2+b2c=\sqrt{a^2+b^2}

The hypotenuse is always the side opposite the 90° angle.

How do you find a missing side of a right triangle?

If two sides are known, use the Pythagorean theorem. If one side and an acute angle are known, use sine, cosine, or tangent depending on the known measurements.

How do you find the angle of a triangle?

For a right triangle, you can use inverse sine, inverse cosine, or inverse tangent when two appropriate side lengths are known.

For example:

α=tan1(ab)\alpha=\tan^{-1}\left(\frac{a}{b}\right)

Can you solve a right triangle with one side and one angle?

Yes. If you know one side and one acute angle, trigonometric ratios can determine the missing sides. The second acute angle is found by subtracting the known acute angle from 90°.

Can you solve a right triangle with only two angles?

Two angles determine the triangle's shape but not its size. You need at least one side length to determine the actual side lengths.

What is the longest side of a right triangle?

The hypotenuse is the longest side. It is always located opposite the 90° angle.

Do the two acute angles of a right triangle always add up to 90°?

Yes. Since the three interior angles of a triangle total 180° and one angle is 90°, the remaining two angles must add up to 90°.

α+β=90\alpha+\beta=90^\circ

Is the Pythagorean theorem only for right triangles?

Yes. The standard relationship (a2+b2=c2a^2+b^2=c^2) applies to right triangles, where (c) is the side opposite the 90° angle.

How do you calculate the area of a right triangle?

Multiply the two perpendicular legs and divide the result by 2:

A=ab2A=\frac{ab}{2}

The result is expressed in square units.

Conclusion

A right triangle calculator provides a quick way to solve missing sides, angles, hypotenuse, area, and perimeter without performing every calculation manually. Depending on the measurements you know, you can solve the triangle using two sides, an angle and one side, or area with supported known information.

Behind the calculator are established geometric and trigonometric relationships, including the Pythagorean theorem, sine, cosine, tangent, inverse trigonometric functions, area formula, and perimeter formula.

Whether you need a hypotenuse calculator, want to know how to find the angle of a triangle, or need to determine a missing side length, enter the known measurements and use Solve Triangle to calculate the remaining values.

Helpful Resources

Pro Tips

  • The hypotenuse is always the longest side of the right triangle.

  • Side lengths must always be positive values.

  • Ensure you are using the correct units for your measurements.