Skip to main content

Enter values

Convention: c is the hypotenuse (opposite 90°). Angle A is opposite side a. Angle B is opposite side b.

Leave blank if unknown.

Leave blank if unknown.

If you enter c, it must be larger than both legs.

Options:

Chips prefill common right-triangle scenarios and run the calculation.

Result:

No results yet. Enter values and click Calculate.

How this calculator works

  • Two sides: uses a² + b² = c² to solve the missing side.
  • Side + angle: uses sin(A)=a/c, cos(A)=b/c, tan(A)=a/b.
  • Angles: computes A = asin(a/c) and B = 90° − A (or equivalents).
  • Area: Area = (a·b)/2Perimeter: P = a + b + c

Tip: If you provide c and one leg, the other leg is √(c² − leg²), so c must be larger than that leg.

Formula & Equation Used

Pythagorean theorem: a² + b² = c²

Sine: sin(A) = a/c

Cosine: cos(A) = b/c

Tangent: tan(A) = a/b

Area: Area = (a·b)/2

Perimeter: P = a + b + c

Example Problems & Step-by-Step Solutions

Example 1 — Two sides (a=3, b=4)

Find c, A, and B.

  1. Use c = √(a² + b²)c = √(3² + 4²) = √25 = 5
  2. Angle A = asin(a/c) = asin(3/5) ≈ 36.87°
  3. B = 90° − A ≈ 53.13°
  4. Area = (a·b)/2 = (3·4)/2 = 6

Example 2 — Two sides (c=13, b=12)

Find the missing leg a, plus A and B.

  1. Use a = √(c² − b²)a = √(13² − 12²) = √(169 − 144) = √25 = 5
  2. Angle A = asin(a/c) = asin(5/13) ≈ 22.62°
  3. B = 90° − A ≈ 67.38°
  4. Area = (a·b)/2 = (5·12)/2 = 30

This is the classic 5–12–13 right triangle (the hypotenuse is 13).

Example 3 — Side + angle (A=30°, c=10)

Find a, b, and B.

  1. Use a = c·sin(A)a = 10·sin(30°) = 10·0.5 = 5
  2. Use b = c·cos(A)b = 10·cos(30°) = 10·(√3/2) ≈ 8.66
  3. B = 90° − A = 60°
  4. Area = (a·b)/2 ≈ (5·8.66)/2 ≈ 21.65

Frequently Asked Questions

Q: Which side is the hypotenuse?

The hypotenuse is the side opposite the 90° angle and it’s always the longest. In this calculator it’s c.

Q: Why does “c and a” sometimes fail?

Because you need c > a. Otherwise √(c² − a²) is not real.

Q: Do I use degrees or radians?

Either—choose it in the dropdown. The calculator displays angles in both degrees and radians.

Snell’s Law Calculator
Solve refraction, critical angle, and total internal reflection fast
Law of Cosines Calculator
Solve triangles using Law of Cosines for SAS and SSS cases
Friction Calculator
Calculate friction forces, incline motion, acceleration, and coefficients with diagrams and step-by-step solutions
Trigonometry Calculator
Calculate trig values and solve right triangles in degrees or radians
Law of Sines Calculator
Solve triangles using Law of Sines, including SSA ambiguous cases
Area Calculator
Calculate area for 20 shapes with formulas, steps, unit conversion, and diagrams
Relative Velocity Calculator
Calculate relative velocity in 1D and 2D motion with riverboat, airplane wind, and moving observer problems
Perimeter Calculator
Calculate perimeter for common 2D shapes and find total boundary length instantly
Electric Field Calculator
Calculate electric fields from point charges with vectors, force mode, visuals, and step-by-step solutions
Pythagorean Theorem Calculator
Find hypotenuse, solve missing leg, or check if sides make right triangle
Unit Circle Calculator
Calculate sin, cos, tan, quadrant, reference angle, and unit circle coordinates
Radians ↔ Degrees Converter
Convert angles between radians and degrees instantly
Slope / Slope-Intercept Calculator
Find slope, line equations, intercepts, and graph linear equations with steps
Distance Calculator
Calculate distance in 2D, 3D, point-to-line, speed/time, lat-long, or scaled grid modes
Projectile Motion Calculator
Calculate projectile motion: range, time of flight, max height, target solutions.
Triangle Calculator
Solve right and any triangle (SSS, SAS, ASA, SSA). Find sides, angles, area, perimeter
All Calculators & ConvertersAll calculators