Triangle Calculator: Three Sides, Area and Angles
Know all three side lengths? Find the area, perimeter and opposite angles of a valid triangle. Enter lengths in one consistent unit; the tool checks that the two shorter sides add to more than the longest side.
By LearnAllStudents Editorial Team · Last reviewed:
JavaScript is needed to calculate. The formula, worked example and limitations remain readable without it.
Method and units
Perimeter = a + b + c. With semiperimeter s = (a + b + c)/2, Heron’s formula gives area = √[s(s−a)(s−b)(s−c)]. The engine uses a rearranged, scaled form to reduce rounding error. The cosine-law relationship gives each angle opposite its named side.
Worked example
For sides a = 3, b = 4 and c = 5 cm, s = 6 cm. Area = √(6 × 3 × 2 × 1) = 6 cm² and perimeter = 12 cm. Angles A, B and C are about 36.87°, 53.13° and 90°. This right angle is calculated, not assumed.
Try it and check your answer
Try sides 5, 5 and 6 cm. The perimeter is 16 cm, area is 12 cm², and the angle opposite 6 cm is about 73.74°. Entering 1, 2 and 3 must be rejected: those lengths form a straight line, not a triangle.
Scope and limitations
Three-side (SSS) input only, from 0.000001 to 1,000,000 per side. It does not accept AAS, ASA or ambiguous SSA input. Results are rounded; this is not a proof of exact surd or angle values. Very nearly degenerate cases may exceed supported precision.
Sources
Read the official method or qualification table. Source checked 23 November 2026; this is not exam-board endorsement or a tutor review.
Common questions
Does this assume a right angle?
No. Three valid sides determine the angles. Use the separate Pythagoras calculator when you know a triangle is right-angled and need a missing side.
Are my entries saved or sent anywhere?
No. Calculations run in this browser. No inputs are stored or sent to a server or analytics service. Refreshing clears the entries.