Free Right Triangle Calculator (SOH CAH TOA)

Free right triangle calculator: enter any two sides or a side and an angle to find every side, angle, area, perimeter and altitude, with SOH CAH TOA steps.

  • No upload, 100% private
  • Instant, in your browser
  • 100% free, no signup
Loading tool…
Read the complete guideSOH CAH TOA: How to Solve Any Right Triangle From Two Values →

About the Right Triangle Calculator tool

A right triangle has one 90° angle, and knowing any two of its measurements — at least one of them a side — fixes everything else. The tools are Pythagoras' theorem, a² + b² = c², and the three trigonometric ratios remembered as SOH CAH TOA: sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and tangent is opposite over adjacent.

This right triangle calculator solves the triangle from any valid pair: two legs, a leg and the hypotenuse, or one side and one acute angle. Type the two values you know into the matching boxes, leave the other three empty, and it finds the missing sides and angles, then adds the area, perimeter, altitude to the hypotenuse, inradius, circumradius and the sine, cosine and tangent of angle A. Angles are shown in degrees and radians.

The steps explain which rule was used at each stage — for example “sin A = a / c → A = sin⁻¹(0.6) = 36.87°” — so you can follow the SOH CAH TOA reasoning. A labelled diagram, drawn to scale once the triangle is solved, shows which side is a, b and c and where angles A and B sit. Impossible inputs, such as a leg longer than the hypotenuse, are rejected with an explanation.

How to use Right Triangle Calculator

  1. Enter any two known values among side a, side b, side c (hypotenuse), angle A and angle B.
  2. Leave the remaining three boxes empty; at least one of your values must be a side.
  3. Read the solved sides and angles, area, perimeter and other properties.
  4. Check the diagram to confirm which side is which.
  5. Open “Show steps” to see the Pythagoras and SOH CAH TOA working, or use “Clear all” to start again.

Features

Solves from any valid pair

Two sides, or one side with one acute angle.

SOH CAH TOA steps

Each missing value is explained with the ratio or theorem used.

Extra properties

Area, perimeter, altitude to the hypotenuse, inradius and circumradius.

Scaled diagram

A labelled triangle drawn to the proportions of your answer.

Input validation

Catches a leg longer than the hypotenuse, angles outside 0–90° and too many inputs.

When to use it

  • Find the height a ladder reaches from its length and angle.
  • Work out a roof's rafter length from its rise and run.
  • Check trigonometry homework on missing sides and angles.
  • Find the angle of a ramp from its height and length.
  • Calculate the diagonal of a rectangular screen or room.

Frequently asked questions

What does SOH CAH TOA mean?

It is a memory aid: Sine = Opposite ÷ Hypotenuse, Cosine = Adjacent ÷ Hypotenuse, Tangent = Opposite ÷ Adjacent, where opposite and adjacent are measured relative to the angle you are working with.

How do I find a missing side of a right triangle?

With two sides known, use Pythagoras: c = √(a² + b²) for the hypotenuse or a = √(c² − b²) for a leg. With a side and an angle, use the trig ratio that links them, for example a = c × sin A.

How do I find an angle in a right triangle?

Use an inverse trig function on a ratio of two sides, for example A = tan⁻¹(a ÷ b). The other acute angle is 90° minus the first.

Why can't I solve it from two angles?

Two angles fix the shape but not the size — every similar triangle has the same angles. At least one side length is needed.

Which side is the hypotenuse?

The longest side, opposite the right angle. In this calculator it is side c.

Related tools