✓ Effortless Math · Free Tool

Triangle Calculator

Solve a right triangle from its two legs, or a general triangle from three sides (SSS) — get all sides, all angles, the area, the perimeter, a scaled diagram, and full step-by-step working.

Right triangle:  c = √(a² + b²)  ·  SSS:  Law of Cosines + Heron
leg a leg b

For a right triangle, enter the two legs a and b — the legs meet at the right angle. All lengths must be greater than 0.

Results

Solved triangle
Side a
Side b
Side c (hypotenuse)
Angle A (opposite a)
Angle B (opposite b)
Angle C (opposite c)
Area
Perimeter

Diagram

SidesVerticesRight angle / labels

Step-by-step