Right Triangle Side Calculator: Calculate Sides of Right Triangle Using Angles


Right Triangle Side Calculator

This calculator helps you to calculate the sides of a right triangle using one known side and one known angle (other than the 90-degree right angle). Simply input your known values to find the missing side lengths, angles, and see a visual representation of your triangle.



Select the side for which you know the length.



Select the unit of measurement for the side length.


Enter the angle opposite to side ‘a’. Angle B will be calculated automatically.

Calculated Side Lengths
Adjacent (a)
Opposite (b)
Hypotenuse (c)

Angle A
Angle B
Angle C
90°

Triangle Visualization

Side a Side b Side c A C (90°) B

Dynamic visualization of the calculated triangle.

What is Right Triangle Trigonometry?

To calculate the sides of a right triangle using angles, we rely on a branch of mathematics called trigonometry. A right triangle is any triangle with one angle that is exactly 90 degrees. Trigonometry studies the relationships between the angles and the lengths of the sides in these triangles. The primary tools for this are the trigonometric functions: sine (sin), cosine (cos), and tangent (tan). These functions define ratios of the side lengths based on one of the acute (non-90-degree) angles.

This process is fundamental in many fields, including engineering, physics, architecture, and navigation. For example, an engineer might use it to determine the required length of a support beam that rests at a specific angle. Anyone needing to find unknown distances or lengths based on angular measurements will find this calculator incredibly useful. A common misunderstanding is that you need to know two side lengths; in reality, just one side length and one angle are sufficient to solve the entire triangle.

The SOH CAH TOA Formula and Explanation

The core principle to calculate the sides of a right triangle with an angle is the mnemonic SOH CAH TOA. It’s a simple way to remember the trigonometric ratios. For a given acute angle (let’s call it θ):

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

By rearranging these formulas, if you know one side and one angle, you can find the other sides. For instance, if you know the Adjacent side and the angle, you can find the Hypotenuse using Hypotenuse = Adjacent / cos(θ).

Triangle Variables Explained
Variable Meaning Unit Context
Opposite (b) The side across from the angle θ. Length (e.g., cm, in, ft) Its length depends on the angle and the other sides.
Adjacent (a) The side next to the angle θ that is not the hypotenuse. Length (e.g., cm, in, ft) Forms one side of the angle θ.
Hypotenuse (c) The longest side, opposite the right angle. Length (e.g., cm, in, ft) Always the longest side in a right triangle.
Angle (θ) The known acute angle, measured in degrees. Degrees (°) Typically between 0 and 90.

Practical Examples

Example 1: Finding the Height of a Tree

Imagine you are standing 20 meters away from the base of a tree. You look up to the top of the tree, and the angle of elevation from the ground to the treetop is 40 degrees. How tall is the tree?

  • Inputs: Adjacent side = 20 m (your distance from the tree), Angle = 40°.
  • Goal: Find the Opposite side (the tree’s height).
  • Formula: Use TOA (tan(θ) = Opposite / Adjacent). Rearranged, it becomes Opposite = Adjacent * tan(θ).
  • Calculation: Height = 20 * tan(40°) ≈ 20 * 0.839 = 16.78 meters.
  • Result: The tree is approximately 16.78 meters tall. This is a common real-world application of trigonometry.

Example 2: Calculating Ramp Length

You are building a wheelchair ramp that must rise 1 foot. The angle of the ramp with the ground cannot exceed 5 degrees. What is the minimum length of the ramp’s surface?

  • Inputs: Opposite side = 1 ft (the height the ramp must climb), Angle = 5°.
  • Goal: Find the Hypotenuse (the ramp’s surface length).
  • Formula: Use SOH (sin(θ) = Opposite / Hypotenuse). Rearranged, it is Hypotenuse = Opposite / sin(θ).
  • Calculation: Length = 1 / sin(5°) ≈ 1 / 0.087 = 11.49 feet.
  • Result: The ramp surface must be at least 11.49 feet long. You can explore more complex problems with our Pythagorean Theorem Calculator.

How to Use This Right Triangle Calculator

Follow these simple steps to calculate sides of a right triangle using angles:

  1. Select Known Side: From the first dropdown, choose whether your known length is the Adjacent side, Opposite side, or the Hypotenuse.
  2. Enter Side Length: Input the length of your known side.
  3. Choose Units: Select the appropriate unit of measurement (cm, m, in, or ft).
  4. Enter Angle: Input the known acute angle (Angle A) in degrees. The calculator will automatically determine Angle B.
  5. Interpret Results: The calculator instantly updates, showing the lengths of all three sides (Adjacent, Opposite, Hypotenuse) and both acute angles. The diagram also resizes to visually represent your triangle.

Key Factors That Affect Right Triangle Calculations

  • Accuracy of Angle Measurement: A small error in the angle measurement can lead to a significant difference in calculated side lengths, especially over long distances.
  • Known Side Choice: The choice of which side is known (adjacent, opposite, or hypotenuse) dictates which trigonometric formula (sin, cos, or tan) must be used.
  • Unit Consistency: All length measurements must be in the same unit. Our calculator handles this, but in manual calculations, mixing units (like feet and inches) without conversion will lead to incorrect results.
  • Rounding: Using rounded intermediate values can decrease the accuracy of the final result. This calculator uses high-precision numbers internally to avoid such issues.
  • Angle Sum Property: The two acute angles in a right triangle must sum to 90 degrees. If your known angle is close to 0 or 90, the lengths of the sides can change dramatically.
  • Calculator Mode (Degrees vs. Radians): Mathematical software must be set to ‘degrees’ mode for these calculations. Our calculator handles this conversion automatically from the degree input you provide. If you are interested in shapes, check out our Triangle Area Calculator.

Frequently Asked Questions (FAQ)

What is SOH CAH TOA?
SOH CAH TOA is a mnemonic device to remember the three basic trigonometric ratios: Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, and Tangent = Opposite/Adjacent.
Can I calculate the sides with only angles?
No, you need at least one side length. With only angles, you can determine the shape and proportions of the triangle, but not its size. An infinite number of right triangles can share the same angles but have different side lengths.
What are the units for the result?
The units for the calculated side lengths will be the same as the unit you select for your input side length.
How do I know which side is opposite and which is adjacent?
The ‘opposite’ side is the one directly across from the known angle. The ‘adjacent’ side is the one next to the known angle, which is not the hypotenuse. The ‘hypotenuse’ is always the longest side, opposite the 90-degree angle.
What happens if my angle is 90 degrees?
An acute angle in a right triangle cannot be 90 degrees, as the three angles must sum to 180 degrees. This calculator assumes you are entering one of the two acute angles (less than 90 degrees).
Is this calculator related to the Pythagorean theorem?
Yes. The Pythagorean theorem (a² + b² = c²) relates the three sides. Once trigonometry is used to find a second side, the third side could also be found using this theorem. Our Pythagorean Theorem Calculator focuses specifically on that relationship.
Can I use this for non-right triangles?
No, this calculator and the SOH CAH TOA rules are specifically for right triangles. For other triangles, you would need to use the Law of Sines or the Law of Cosines.
What are some real-life applications?
Trigonometry is used in astronomy, navigation, engineering, and construction to calculate distances and heights that are difficult to measure directly.

© 2026 Your Website. All rights reserved. For educational and informational purposes only.



Leave a Reply

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