Triangle Calculator
Solve all sides, interior angles, perimeter, and area using SSS or SAS with a live proportional SVG triangle diagram.
Triangle Dimensions
Triangle Solution
—
Interior Angles (A, B, C)
—
Perimeter
—
Type
—
SSS Solver: Heron's Area + Law of Cosines
SAS Solver: c^2 = a^2 + b^2 - 2ab cos(C)
Angle Sum: A + B + C = 180 degrees
Solving Any Triangle with Law of Cosines & Heron's Formula
Given all three sides (SSS) where the sum of any two sides exceeds the third, Heron's formula computes exact area directly from the semiperimeter s = (a + b + c)/2, while the Law of Cosines resolves every interior angle accurately.
Frequently asked questions
What makes three side lengths an invalid triangle?▶
Under the Triangle Inequality Theorem, the sum of the two shortest sides must be strictly greater than the longest side.