Right Triangle Side Calculator: Using Angles


Right Triangle Side Calculator

A precise tool for calculating sides of a right triangle using angles and one known side. Perfect for students, engineers, and builders.



Select the side for which you have a known length.


Enter the length of the side you selected above.


Select the measurement unit for the side lengths.


Enter one of the non-right angles in degrees (must be between 1 and 89).

Calculation Results

The unknown sides and angle will be calculated here.

Triangle Visualization

Hypotenuse Adjacent Opposite α β 90°

A dynamic visualization of the calculated right triangle. Sides are scaled for display.

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 right triangle is any triangle with one angle measuring exactly 90 degrees. By knowing the length of just one side and the measure of one of the other two acute angles, you can determine the lengths of the remaining two sides. This process is essential in many fields, including engineering, architecture, physics, and even video game design. The relationships between the angles and side lengths are defined by trigonometric functions: sine (sin), cosine (cos), and tangent (tan). Understanding how to use these functions is the key to solving for unknown dimensions in any right triangle.

The SOH CAH TOA Formula and Explanation

The core principle behind calculating sides with angles is the mnemonic “SOH CAH TOA,” which helps remember the trigonometric ratios. These ratios relate the angle (often denoted by the Greek letter theta, θ) to the lengths of the triangle’s sides: the Opposite side (across from the angle), the Adjacent side (next to the angle, but not the hypotenuse), and the Hypotenuse (the longest side, opposite the 90° angle).

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

By rearranging these formulas, you can solve for the unknown side. For example, if you know the hypotenuse and an angle, you can find the opposite side with the formula: Opposite = Hypotenuse × sin(θ). This calculator automates these rearrangements for you. For more complex problems, you might use the Pythagorean Theorem Calculator.

Variables in Right Triangle Calculations
Variable Meaning Unit (Auto-Inferred) Typical Range
Opposite (a) The side across from the reference angle (α). Length (m, ft, in, etc.) Positive number
Adjacent (b) The side next to the reference angle (α), not the hypotenuse. Length (m, ft, in, etc.) Positive number
Hypotenuse (c) The longest side, opposite the 90° angle. Length (m, ft, in, etc.) Greater than Opposite or Adjacent
Angle (α or β) An acute angle (less than 90°) in the triangle. Degrees or Radians 0-90° (or 0-π/2 radians)

Practical Examples

Example 1: Finding Rafter Length

A roofer needs to cut a rafter. The roof has a pitch angle of 35° and the horizontal run (the adjacent side) from the wall to the peak is 15 feet. What is the length of the rafter (the hypotenuse)?

  • Inputs: Known Side = Adjacent, Length = 15 ft, Angle = 35°
  • Formula: We need the hypotenuse and know the adjacent side, so we use Cosine (CAH). cos(35°) = 15 / Hypotenuse. Rearranging gives: Hypotenuse = 15 / cos(35°).
  • Result: Hypotenuse ≈ 15 / 0.819 ≈ 18.31 feet. The opposite side (rise) would be 15 * tan(35°) ≈ 10.50 feet. For more on this, see our Roof Pitch Calculator.

    Example 2: Ramp Construction

    An accessibility ramp must have an angle no greater than 4.8°. If the ramp needs to reach a height (the opposite side) of 2 meters, how long must the ramp’s surface (the hypotenuse) be?

    • Inputs: Known Side = Opposite, Length = 2 m, Angle = 4.8°
    • Formula: We need the hypotenuse and know the opposite side, so we use Sine (SOH). sin(4.8°) = 2 / Hypotenuse. Rearranging gives: Hypotenuse = 2 / sin(4.8°).
    • Result: Hypotenuse ≈ 2 / 0.0837 ≈ 23.9 meters. The ramp requires a very long base to maintain a safe, shallow angle.

How to Use This Right Triangle Calculator

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

  1. Select Known Side Type: From the first dropdown, choose whether the length you know is for the Hypotenuse, Adjacent side, or Opposite side relative to your known angle.
  2. Enter Known Side Length: Input the numerical length of the side you selected.
  3. Choose Units: Select the appropriate unit of measurement (e.g., meters, feet). This ensures your results are clearly labeled.
  4. Enter Angle A: Input the known acute angle (α) in degrees. The calculator automatically computes the results in real-time.
  5. Interpret Results: The results section will display the calculated lengths for all three sides and the measure of the second acute angle (β). The visualization chart will also update to reflect these dimensions.

Key Factors That Affect Right Triangle Calculations

  • Angle Precision: A small error in the angle measurement can lead to a significant difference in the calculated side lengths, especially over long distances.
  • Measurement Accuracy: The accuracy of your result is directly dependent on the accuracy of your initial side length measurement.
  • Correct Side Identification: You must correctly identify your known side as opposite, adjacent, or hypotenuse relative to your known angle. Mixing them up will lead to incorrect results.
  • Unit Consistency: Ensure all your measurements are in the same unit system before calculating. Our calculator handles this, but it’s a common pitfall in manual calculations. Explore our Unit Conversion Tool for help.
  • Rounding: Trigonometric functions often produce long decimals. Rounding too early in a multi-step calculation can reduce the final accuracy. This calculator uses high-precision values internally.
  • Calculator Mode: When performing manual calculations, ensure your calculator is in “Degrees” mode if your angle is in degrees, or “Radians” if it’s in radians. Our tool uses degrees by default.

Frequently Asked Questions (FAQ)

What is SOH CAH TOA?
SOH CAH TOA is a mnemonic device used to remember the three basic trigonometric ratios: Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, and Tangent = Opposite/Adjacent.
Can I calculate the sides if I only know the three angles?
No. If you only know the angles, you know the shape of the triangle but not its size. You can have infinitely many triangles with the same angles but different side lengths (these are called similar triangles). You need at least one side length to determine the others.
What if I know two sides but no angles?
If you know two sides, you can find the third side using the Pythagorean theorem (a² + b² = c²). You can then find the angles using inverse trigonometric functions (e.g., arcsin, arccos, arctan). Our Pythagorean Theorem Calculator is perfect for this.
Why does my phone calculator give a different answer?
Your calculator might be in radians mode instead of degrees mode. Angles can be measured in degrees or radians, and using the wrong mode is a very common source of error. Ensure your calculator is set to “DEG” for degree-based calculations.
What are some real-life applications of this calculation?
Trigonometry is used everywhere. Architects use it to design buildings, engineers to build bridges, astronomers to measure distances to stars, and GPS systems to locate your position. It’s also critical in construction for tasks like cutting roof rafters and determining slope.
Which side is the ‘adjacent’ and which is the ‘opposite’?
This depends entirely on which angle you are using as your reference. The ‘opposite’ side is the one that does not touch the vertex of your angle. The ‘adjacent’ side is the one that does touch the vertex of your angle but is not the hypotenuse. The hypotenuse is always the side opposite the 90-degree angle.
What is the hypotenuse?
The hypotenuse is the longest side of a right-angled triangle. It is always the side that is directly opposite the 90-degree angle.
Do the units matter?
The units determine the label of the output but don’t affect the numerical calculation itself. If you input a side length in feet, the calculated side lengths will also be in feet. It is crucial to be consistent. For complex conversions, a dedicated Unit Conversion Tool can be useful.

Related Tools and Internal Resources

Explore these other calculators for more in-depth mathematical and geometric analysis:

© 2026 Your Company Name. All Rights Reserved. For educational and practical purposes.



Leave a Reply

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