Home · Everyday · Geometry & Coordinates · SOHCAHTOA Calculator
SOHCAHTOA Calculator
SOHCAHTOA: every side and angle of a right triangle from one angle and one side, or from two sides.
What this calculator does
SOHCAHTOA: every side and angle of a right triangle from one angle and one side, or from two sides. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
The right triangle has one 90° angle; opposite and adjacent are named relative to the angle you use.
SOHCAHTOA: sin = opposite/hypotenuse, cos = adjacent/hypotenuse, tan = opposite/adjacent.
Angles can be entered in degrees or radians — the toggle converts for you.
Worked example
With the example inputs this page opens with (angle 30 deg, known side length 5, opposite side (two-sides mode) 3, adjacent side (two-sides mode) 4), the result is 10 — hypotenuse. SOHCAHTOA: pick the ratio that connects the known side to the one you want — sin uses opposite/hypotenuse, cos adjacent/hypotenuse, tan opposite/adjacent.
Quick reference
| Known side length | Hypotenuse |
|---|---|
| 2.5 | 5 |
| 4 | 8 |
| 5 | 10 |
| 6.25 | 12.5 |
| 7.5 | 15 |
| 10 | 20 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the SOHCAHTOA Calculator work?
SOHCAHTOA: every side and angle of a right triangle from one angle and one side, or from two sides. Angle and side, or two sides → All sides and angles. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the SOHCAHTOA Calculator need?
Angle and side, or two sides → All sides and angles. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the SOHCAHTOA Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.