Right Triangle Calculator — Sides, Angles & Trig Ratios

The Right Triangle Calculator solves any right triangle from any two known values. Four input modes: two legs (a and b), leg and hypotenuse, leg and angle, or hypotenuse and angle. Given any two values, the calculator instantly finds all three sides, both non-right angles, area, perimeter, inradius,...

RIGHT TRIANGLE

KNOWN VALUES

shorter leg

other leg

LEG a

6

LEG b

8

HYPOTENUSE c

10

ANGLE A

36.869898°

ANGLE B

53.130102°

ANGLE C

90°

Area24 units²
Perimeter24 units
Inradius2 units
Circumradius (c/2)5 units
Altitude to c4.8 units
TypeScalene right

✓ Pythagoras check: 6² + 8² = 100 = 10²

STEP-BY-STEP

1

Given: leg a = 6, leg b = 8

2

Hypotenuse: c = √(a²+b²) = √(36+64) = 10

3

Angle A = arctan(a/b) = arctan(6/8) = 36.869898°

4

Angle B = 90° − A = 53.130102°

QUICK EXAMPLES

LIVE DIAGRAM

a=6b=8c=10A=36.9°B=53.1°90°
TRIG RATIOS
FunctionAngle ADefinitionAngle B
sin0.6a/c = 6/100.8
cos0.8b/c = 8/100.6
tan0.75a/b = 6/81.333333

SOHCAHTOA

SOH: sin(A) = Opposite/Hypotenuse
= 6/10 = 0.6
CAH: cos(A) = Adjacent/Hypotenuse
= 8/10 = 0.8
TOA: tan(A) = Opposite/Adjacent
= 6/8 = 0.75
Created with❤️byeaglecalculator.com

RIGHT TRIANGLE FORMULAS

FORMULAS REFERENCE
NAMEFORMULADESCRIPTION
Pythagorean theoremc² = a² + b²Find hypotenuse from two legs
Leg from hypa = √(c²−b²)Find missing leg
Angle from legsA = arctan(a/b)Find angle from two legs
SOHsin(A) = a/c (opposite/hypotenuse)Sine trig ratio
CAHcos(A) = b/c (adjacent/hypotenuse)Cosine trig ratio
TOAtan(A) = a/b (opposite/adjacent)Tangent trig ratio
AreaA = ½ × a × bHalf the product of the two legs
Inradiusr = (a + b − c) / 2Radius of inscribed circle
CircumradiusR = c / 2Half the hypotenuse — Thales theorem
Altitude to ch = (a × b) / cHeight dropped to the hypotenuse

HOW TO USE

  1. 1

    Select your input mode: Two Legs if you know both legs a and b; Leg + Hypotenuse if you know one leg and the hypotenuse; Leg + Angle if you know one leg and angle A; Hypotenuse + Angle if you know the hypotenuse and angle A.

  2. 2

    Enter your two known values. For angles, enter degrees between 0 and 90 (exclusive). The calculator validates that the values form a valid right triangle.

  3. 3

    All six results appear instantly: the three sides (a, b, c), both angles (A and B), area, perimeter, inradius, circumradius, and altitude to the hypotenuse.

  4. 4

    Check the SOHCAHTOA panel — sin, cos, and tan are shown for both angle A and angle B with their definitions (opposite/hypotenuse etc.) and computed values.

  5. 5

    Use the quick example buttons to load the classic 3-4-5 triangle, the 5-12-13 triangle, and the special 45-45-90 and 30-60-90 cases.

WORKED EXAMPLE

Example 1 (two legs 3-4-5): c=√(9+16)=5. A=arctan(3/4)=36.87°, B=53.13°. Area=6. Inradius=1, Circumradius=2.5. sin(A)=0.6, cos(A)=0.8, tan(A)=0.75. Example 2 (angle+hypotenuse A=30°,c=10): a=10×sin30°=5, b=10×cos30°=8.66. Example 3 (isosceles 45-45-90 a=7): b=7, c=7√2=9.899.

FREQUENTLY ASKED QUESTIONS

RELATED CALCULATORS

MORE GEOMETRY CALCULATORS

Was this calculator helpful?

Last updated: April 29, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.