Solve any triangle instantly. Enter three sides (SSS), two sides and an angle (SAS), or two legs of a right triangle to find all angles, sides, area, and perimeter with step-by-step solutions.
A triangle is fully determined once you know enough of its sides and angles — this calculator supports the three most common cases. SSS (side-side-side) solves a triangle from all three side lengths using the Law of Cosines and Heron's Formula. SAS (side-angle-side) solves a triangle from two sides and the angle between them. The right-triangle mode uses the Pythagorean theorem to find the hypotenuse and both acute angles from the two legs.
Whichever mode you use, the calculator returns every missing side and angle, the area, the perimeter, and a complete step-by-step solution so you can see exactly how each value was derived.
For a triangle with sides a=5, b=6, c=7 (SSS mode): angle A ≈ 44.4°, angle B ≈ 57.1°, angle C ≈ 78.5°, and the area (via Heron's formula) is √(9×4×3×2) = √216 ≈ 14.7.
Given sides
Law of Cosines — solve for angle A
Law of Cosines — solve for angle B
Angle sum rule — angles in a triangle add to 180°
Heron's formula — semi-perimeter
Area (Heron's formula)