Calculators.Life Calculator
Math

SOHCAHTOA Right Triangle Calculator

Input Parameters

Scenarios
First known side length or angle as chosen above
Second known side length or angle as chosen above

Computed Results

Hypotenuse c
5
Side a (Opposite to α)3
Side b (Adjacent to α)4
Angle α (°)36.8699
Angle β (°)53.1301
Area6
Perimeter12
sin(α) [Opp/Hyp]0.6
cos(α) [Adj/Hyp]0.8
tan(α) [Opp/Adj]0.75

The SOHCAHTOA calculator determines the missing side lengths, angles, area, and perimeter of a right triangle based on two known values. By applying fundamental trigonometric ratios—sine, cosine, and tangent—this tool helps you solve right triangle geometry problems quickly and accurately.

Practical Use Cases

Right triangle trigonometry is a foundational concept in mathematics, physics, and engineering. This calculator is useful for students verifying geometry homework, engineers calculating structural dimensions, or anyone needing to find a missing distance or angle when only partial measurements are available. Whether you know two sides, or one side and one angle, the calculator applies the correct trigonometric function to complete the triangle.

Formula & Explanation

SOHCAHTOA is a mnemonic used to remember the three primary trigonometric ratios for a right triangle. These ratios relate the angles of a triangle to the lengths of its sides.

The calculator also uses the Pythagorean theorem (

a² + b² = c²
) when two sides are known, and the fact that the interior angles of a triangle always add up to 180° (or π radians) to find the remaining angle.

Verified Scenario Walkthroughs

Small Triangle with Hypotenuse and Leg

If you have a right triangle where one leg is 5 and the hypotenuse is 13, the calculator determines the remaining leg is 12. The angles are approximately 22.6199° and 67.3801°. The area is 30, and the perimeter is 30.

Large Triangle with Leg and Adjacent Angle

Given a leg of 150.5 and an adjacent angle of 30°, the calculator finds the opposite leg is 260.6736 and the hypotenuse is 301. The remaining angle is 60°. The area is 19615.6919, and the perimeter is 712.1736.

Hypotenuse and Angle in Radians

If the hypotenuse is 25 and the angle is 0.7854 radians, the calculator calculates both legs to be approximately 17.6777 and 17.6776. The angles in degrees are roughly 45°. The area is 156.25, and the perimeter is 60.3553.

Leg and Angle Alpha Calculation

With a leg (b) of 12.75 and an angle (α) of 45°, the other leg (a) is also 12.75, and the hypotenuse is 18.0312. The remaining angle is 45°. The area is 81.2812, and the perimeter is 43.5312.

How to Use the Calculator

Follow these steps to solve your right triangle:

  1. Select the combination of Given Values you have (e.g., two legs, leg and hypotenuse, hypotenuse and angle).
  2. Enter the First Known Value based on your selection.
  3. Enter the Second Known Value.
  4. Select the Angle Unit (degrees or radians) if your inputs include an angle.
  5. Review the calculated side lengths, angles, area, perimeter, and the specific sine, cosine, and tangent ratios for angle α.

Inputs & Outputs

Input LabelDescription
Given ValuesThe combination of known sides or angles you are starting with.
First Known ValueThe numerical value for the first side or angle.
Second Known ValueThe numerical value for the second side or angle.
Angle UnitThe unit of measurement for angles (degrees or radians).
Output LabelDescription
Side a (Opposite to α)The length of the leg opposite to angle α.
Side b (Adjacent to α)The length of the leg adjacent to angle α.
Hypotenuse cThe length of the longest side of the right triangle.
Angle α (°)The measure of the first acute angle in degrees.
Angle β (°)The measure of the second acute angle in degrees.
AreaThe total area enclosed by the triangle.
PerimeterThe total distance around the outside of the triangle.
sin(α) [Opp/Hyp]The sine ratio for angle α.
cos(α) [Adj/Hyp]The cosine ratio for angle α.
tan(α) [Opp/Adj]The tangent ratio for angle α.

Frequently Asked Questions

What does SOHCAHTOA stand for?

SOHCAHTOA is a memory aid for right triangle trigonometry: Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, and Tangent = Opposite/Adjacent.

Can I use this calculator if I only know the angles?

No, you must know at least one side length to determine the dimensions of a right triangle. Knowing only the angles allows you to find the shape, but not the specific size.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.