Soh Cah Toa Calculator
Soh-cah-toa calculator works out Leg a and Leg b from Leg a (opposite angle A), Leg b (opposite angle B) and Hypotenuse c. The default figures on this page give leg a of 5; change any entry and the result, the working and the sources update together.
Your figures
Updates as you typeHow this is worked out
8 steps
- SOH: sin A = opposite / hypotenuse = a/c = 4.999999999999999/10 = 0.4999999999999999.
- CAH: cos A = adjacent / hypotenuse = b/c = 8.660254037844387/10 = 0.8660254037844387.
- TOA: tan A = opposite / adjacent = a/b = 4.999999999999999/8.660254037844387 = 0.5773502691896256.
- Solved from hypotenuse and angle A.
- Legs a = 4.999999999999999, b = 8.660254037844387; hypotenuse c = sqrt(a^2 + b^2) = 10.
- Angle A = arctan(a/b) = 29.99999999999999 deg, angle B = 90 - A = 60.00000000000001 deg.
- Area = a*b/2 = 21.650635094610966; perimeter = a + b + c = 23.660254037844386.
- Altitude to the hypotenuse = a*b/c = 4.330127018922193; the right angle's vertex projects onto the hypotenuse dividing it into a^2/c and b^2/c.
Its 10 worked examples are re-run on every release, last on 15 September 2026. What changed
Sources and references
4 sources
What the soh-cah-toa calculator calculates
Solves a right triangle from any two of leg a, leg b, hypotenuse, an acute angle, the area or the perimeter, returning all sides, angles, area, altitude to the hypotenuse, inradius and circumradius.
How to use this soh-cah-toa calculator
Enter Leg a (opposite angle A), Leg b (opposite angle B), Hypotenuse c and Angle A (acute, opposite leg a). Leg a updates as you type. Change one figure at a time to see what drives the result.
How the result is worked out
Open “How this is worked out” beside the result for the step-by-step calculation behind Leg a, Leg b and Hypotenuse c.
The method follows Euclid, Elements, Book I Proposition 47 (the Pythagorean theorem), NIST Digital Library of Mathematical Functions, 4.14 Definitions and periodicity (right-triangle ratios), Weisstein, Eric W. "Right Triangle", MathWorld and OSHA 29 CFR 1926.1053(b)(5)(i) — non-self-supporting ladders are set with the base about one quarter of the working length from the support.
What you can compare
Change one input at a time to see how it affects Leg a, Leg b and Hypotenuse c. The inputs you can vary are Leg a (opposite angle A), Leg b (opposite angle B), Hypotenuse c, Angle A (acute, opposite leg a), Angle B (acute, opposite leg b) and Angle unit.
Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.
See something wrong? Report a problem with this calculator
Frequently asked questions
What is the formula for SOH CAH TOA?
On the figures this page opens with — hypotenuse c 10 and angle A (acute, opposite leg a) 30 — the leg a is 5. No single number fits everyone: change any figure above and the answer updates as you type, with each step of the arithmetic beside it.
How to calculate soh cah toa on calculator?
Solves a right triangle from any two of leg a, leg b, hypotenuse, an acute angle, the area or the perimeter, returning all sides, angles, area, altitude to the hypotenuse, inradius and circumradius. Open “How this is worked out” beside the result to see each step for your own figures.
How to solve a soh cah toa problem?
It needs Leg a (opposite angle A), Leg b (opposite angle B), Hypotenuse c, Angle A (acute, opposite leg a), Angle B (acute, opposite leg b) and Angle unit. Nothing else is required, and the figures stay in your browser.
What information do I need for the soh-cah-toa calculator?
You need Leg a (opposite angle A), Leg b (opposite angle B), Hypotenuse c, Angle A (acute, opposite leg a), Angle B (acute, opposite leg b) and Angle unit. The page opens with default figures that give leg a of 5, so you can see the scale before entering your own.
What does this soh-cah-toa calculator show?
It shows Leg a, Leg b, Hypotenuse c, Angle A, Angle B, Angle C (right angle), Angle A in degrees and Angle A in radians, with the working and any warnings for your entries.
Can I check how the soh-cah-toa calculator result was calculated?
Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.
