Right Triangle Trigonometry Calculator

Quick answer

The right triangle trigonometry calculator solves a right triangle from any two known values (two sides, or one side and an acute angle) and gives all sides, both acute angles, sin, cos and tan of α, the area and the perimeter.

Angle α
36.869898
Angle β
53.130102
Leg a
3
Leg b
4
Hypotenuse c
5
sin α
0.6
cos α
0.8
tan α
0.75
Area
6
Perimeter
12

Trigonometry was born from right triangles: knowing one acute angle fixes the shape, and one side fixes the size. This is how heights of buildings, slopes of roofs and distances across rivers are found with a tape measure and an angle.

How to use the Right Triangle Trigonometry Calculator

  1. What do you know?
  2. Leg a (opposite α)
  3. Leg b (adjacent to α)
  4. Hypotenuse c
  5. Angle α

Results update as you type, and everything is calculated in your browser.

How it works

Choose what you know. Missing sides come from SOH-CAH-TOA or the Pythagorean theorem, and the angles from inverse trig functions. Side a is opposite angle α, b is adjacent to it and c is the hypotenuse.

Inputs explained

Field What to enter
What do you know? Choose one: Legs a and b, Leg a and hypotenuse c, Angle α and hypotenuse c, Angle α and leg a (opposite) …
Leg a (opposite α) Units: cm, m, mm, in, ft, yd …
Leg b (adjacent to α) Units: cm, m, mm, in, ft, yd …
Hypotenuse c Units: cm, m, mm, in, ft, yd …
Angle α Units: °, rad, π rad, grad, turn

What each result means

  • Angle β = 90 – [Angle α]
  • Hypotenuse c = sqrt([Leg a]^2 + [Leg b]^2)
  • sin α = [Leg a]÷[Hypotenuse c]
  • cos α = [Leg b]÷[Hypotenuse c]
  • tan α = [Leg a]÷[Leg b]
  • Area = [Leg a]×[Leg b]÷2
  • Perimeter = [Leg a] + [Leg b] + [Hypotenuse c]

Example values

How the main result changes when Leg a changes and everything else stays at the example values above:

Leg a (opposite α) (cm) Angle α (°)
1.5 20.556
2.25 29.3578
3 36.8699
3.75 43.1524
4.5 48.3665
6 56.3099

Formula

sin α = a/c, cos α = b/c, tan α = a/b a² + b² = c², α + β = 90°

Worked example

Inputs: What do you know?: Legs a and b; Leg a (opposite α): 3 cm; Leg b (adjacent to α): 4 cm.
Results: Angle α = 36.869898 °; Angle β = 53.130102 °; Leg a = 3 cm; Leg b = 4 cm; Hypotenuse c = 5 cm; sin α = 0.6; cos α = 0.8; tan α = 0.75; Area = 6 cm²; Perimeter = 12 cm.

Key terms

Hypotenuse
The side opposite the right angle.
Opposite / adjacent
The legs across from and next to angle α.

Frequently asked questions

What is SOH-CAH-TOA?

Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, Tangent = Opposite/Adjacent.

How many values do I need?

Two, at least one of them a side.

Why can't I solve it from two angles?

Angles fix the shape but not the size, so any scaled copy fits.

Which side is the hypotenuse?

The longest side, opposite the right angle.

Sources

  1. OpenStax: Algebra and Trigonometry 2e
  2. OpenStax: Precalculus 2e
  3. Wolfram MathWorld: Right triangle

Cite this calculator

Speedy Calculator. (2026). Right Triangle Trigonometry Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/trigonometry/