Right Triangle Calculator: Solve Sides & Angles


Right Triangle Calculator (Sides & Angles)

Your expert tool for calculating sides of a right triangle using angles and trigonometry.




Enter the length of the side selected above.



Enter the angle opposite the ‘Opposite’ side. Must be less than 90°.

Triangle Visualization

A visual representation of the calculated triangle (not to scale).

What is Calculating Sides of a Right Triangle Using Angles?

Calculating the sides of a right triangle using angles is a fundamental application of trigonometry, a branch of mathematics that studies relationships between side lengths and angles of triangles. When you have a right-angled triangle (one angle is exactly 90°), and you know the length of just one side and the measure of one other acute angle (less than 90°), you can determine the lengths of the other two sides. This process uses trigonometric functions—sine (sin), cosine (cos), and tangent (tan)—which form the basis of the SOH CAH TOA mnemonic. This type of calculation is essential in fields like engineering, physics, architecture, and even video game design to solve for unknown distances and heights. If you need to solve a triangle with different known values, our trigonometry calculator can be a helpful resource.

The Formulas for Calculating Sides with Angles

The core of calculating sides of a right triangle with an angle lies in the SOH CAH TOA rules. These rules relate the angle to the ratio of two specific sides: the Opposite (the side across from the angle), the Adjacent (the side next to the angle, but not the hypotenuse), and the Hypotenuse (the longest side, opposite the right angle).

  • SOH: Sine(Angle) = Opposite / Hypotenuse
  • CAH: Cosine(Angle) = Adjacent / Hypotenuse
  • TOA: Tangent(Angle) = Opposite / Adjacent

By rearranging these formulas, you can solve for the unknown side. For instance, if you know the hypotenuse and the angle, you can find the opposite side with: Opposite = Hypotenuse * Sine(Angle).

Trigonometric Variables
Variable Meaning Unit Typical Range
Angle (θ) The known acute angle Degrees (°) 0° – 90°
Opposite (O) The side across from Angle θ cm, m, in, ft, etc. Any positive number
Adjacent (A) The side next to Angle θ cm, m, in, ft, etc. Any positive number
Hypotenuse (H) The side opposite the 90° angle cm, m, in, ft, etc. Must be the longest side

Practical Examples

Example 1: Finding the Height of a Tree

Imagine you are standing 50 feet away from the base of a tree. You look up to the top of the tree at an angle of 40°. Here, the distance to the tree is the ‘Adjacent’ side, and the tree’s height is the ‘Opposite’ side.

  • Input: Adjacent Side = 50 ft, Angle A = 40°
  • Formula: tan(40°) = Opposite / 50
  • Calculation: Opposite = 50 * tan(40°) ≈ 50 * 0.839 = 41.95 ft
  • Result: The tree is approximately 41.95 feet tall. Our adjacent side calculator helps solve these problems quickly.

Example 2: A Ramp Design

An engineer is designing a wheelchair ramp that must be 20 meters long (the Hypotenuse) and rise at an angle of 5°. They need to calculate the actual height (Opposite side) the ramp will reach.

  • Input: Hypotenuse = 20 m, Angle A = 5°
  • Formula: sin(5°) = Opposite / 20
  • Calculation: Opposite = 20 * sin(5°) ≈ 20 * 0.087 = 1.74 m
  • Result: The ramp will reach a height of 1.74 meters. To explore hypotenuse-based problems, try our hypotenuse calculator.

How to Use This Right Triangle Calculator

Our tool simplifies calculating sides of a right triangle using angles. Follow these steps for an accurate result:

  1. Select Known Side: First, use the dropdown to specify which side of the triangle you already know: Opposite, Adjacent, or Hypotenuse.
  2. Enter Side Length: Input the length of your known side into the “Known Side Length” field.
  3. Choose Units: Select the appropriate unit of measurement (cm, meters, inches, etc.) for your side length.
  4. Enter Known Angle: Type the measure of the acute angle (Angle A) in degrees. This angle is always opposite the “Opposite” side.
  5. Review Results: The calculator will instantly update, showing you the lengths of the two unknown sides and the measure of the second acute angle (Angle B). The visualization chart and formula used are also displayed.

Key Factors That Affect the Calculation

  • Angle Accuracy: A small error in the angle measurement can lead to a significant difference in calculated side lengths, especially over long distances.
  • Side Measurement Precision: The accuracy of your result is directly tied to the precision of your initial side measurement.
  • Correct Side Identification: You must correctly identify your known side as Opposite, Adjacent, or Hypotenuse relative to your known angle. Misidentification is a common source of error.
  • Calculator Mode (Degrees vs. Radians): All scientific calculators need to be in the correct mode. Our tool uses degrees by default, but be aware that many programming languages use radians, requiring conversion.
  • Right Angle Assumption: These calculations are only valid for triangles that have a perfect 90° angle. For other triangles, you may need a tool like the law of sines calculator.
  • Rounding: Rounding intermediate values too early in a manual calculation can reduce the accuracy of the final answer. Our calculator minimizes this by using high-precision numbers internally.

Frequently Asked Questions (FAQ)

1. What is SOH CAH TOA?

SOH CAH TOA is a mnemonic device used to remember the primary trigonometric ratios: Sine = Opposite / Hypotenuse, Cosine = Adjacent / Hypotenuse, and Tangent = Opposite / Adjacent. It’s the foundation for calculating sides of a right triangle using angles.

2. Can I find angles if I know two sides?

Yes. If you know two sides, you can use the inverse trigonometric functions (arcsin, arccos, arctan) to find the unknown angles. For that, a right triangle calculator with side inputs would be more suitable.

3. What’s the difference between the ‘Opposite’ and ‘Adjacent’ sides?

It depends on which angle you’re looking from. The ‘Opposite’ side is directly across from the angle. The ‘Adjacent’ side is next to the angle, but it is not the hypotenuse. Our calculator fixes Angle A as the reference angle for consistency.

4. Why is the hypotenuse always the longest side?

The hypotenuse is opposite the largest angle in the triangle (the 90° angle). In any triangle, the longest side is always opposite the largest angle.

5. What happens if my angle is 90° or more?

A right triangle can only have one 90° angle, and the other two must be acute (less than 90°). This calculator is designed only for the acute angles in a right triangle.

6. Do the units matter in the calculation?

The units determine the label of the output but do not affect the mathematical ratios. If your input side is in ‘meters’, the output sides will also be in ‘meters’. Ensure consistency.

7. Can I use this for any triangle?

No. This calculator and the SOH CAH TOA rules are specifically for right-angled triangles. For non-right triangles (oblique triangles), you need to use the Law of Sines or the Law of Cosines.

8. How do you find the third angle?

The sum of angles in any triangle is 180°. In a right triangle, one angle is 90°. Therefore, the two acute angles must add up to 90°. If you know Angle A, then Angle B = 90° – Angle A.

© 2026 Your Website. All rights reserved. For educational purposes.



Leave a Reply

Your email address will not be published. Required fields are marked *