Last verified · v1.0
Calculator · math
Sss Triangle Calculator (Side Side Side)
Solve any triangle from three side lengths. Computes area via Heron's formula, all interior angles via the Law of Cosines, perimeter, and semi-perimeter instantly.
Inputs
Triangle Result
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
What Is an SSS Triangle Calculator?
An SSS triangle calculator solves every unknown property of a triangle when all three side lengths — side a, side b, and side c — are provided. Because three sides uniquely determine a triangle (provided they satisfy the triangle inequality), this method yields exact values for the area, all three interior angles, the perimeter, and the semi-perimeter without any ambiguity.
Triangle Validity: The Triangle Inequality Theorem
Before applying any formula, the three sides must pass the triangle inequality theorem: the sum of any two sides must exceed the third. All three conditions must hold simultaneously:
- a + b > c
- a + c > b
- b + c > a
If any condition fails — for instance, sides 2, 3, and 9 (since 2 + 3 = 5 < 9) — no triangle exists. The calculator checks this condition automatically before computing any result.
Step 1: Compute the Semi-Perimeter
The semi-perimeter s is the essential first step in Heron's formula and equals half the perimeter:
s = (a + b + c) / 2
For sides a = 5, b = 6, c = 7: s = (5 + 6 + 7) / 2 = 9. The semi-perimeter alone carries no geometric meaning, but it dramatically simplifies the area expression that follows.
Step 2: Calculate the Area Using Heron's Formula
Heron's formula, attributed to Hero of Alexandria (c. 60 AD) and formalized in modern university curricula by Texas A&M University Math 150, computes triangle area directly from three side lengths with no height measurement required:
Area = √[s(s − a)(s − b)(s − c)]
Applying the formula to sides 5, 6, and 7: Area = √(9 × 4 × 3 × 2) = √216 ≈ 14.70 square units. This result is independent of triangle orientation, making Heron's formula the standard choice for programmatic and computational geometry.
Step 3: Determine All Interior Angles Using the Law of Cosines
The Law of Cosines, which generalizes the Pythagorean theorem to any triangle, is rearranged to isolate each angle when all three sides are known. As documented in the UCI Mathematics Math 161 course notes, the three angle formulas are:
- A = arccos[(b² + c² − a²) / (2bc)]
- B = arccos[(a² + c² − b²) / (2ac)]
- C = arccos[(a² + b² − c²) / (2ab)]
For sides a = 5, b = 6, c = 7, the three angles resolve as:
- A = arccos[(36 + 49 − 25) / 84] = arccos(0.7143) ≈ 44.42°
- B = arccos[(25 + 49 − 36) / 70] = arccos(0.5429) ≈ 57.12°
- C = 180° − 44.42° − 57.12° ≈ 78.46°
The three angles always sum to exactly 180°, which serves as a built-in verification of correctness.
Why SSS Always Produces a Unique Triangle
Unlike the SSA configuration — which can produce zero, one, or two valid triangles (the ambiguous case) — SSS always defines exactly one triangle when valid sides are provided. This uniqueness property is formally established in RIT's Academic Success Center handout on Ambiguous Triangles. The absence of ambiguity makes SSS the most reliable and straightforward triangle-solving configuration available.
Practical Applications of SSS Triangle Calculations
SSS triangle calculations appear across a wide range of professional and everyday disciplines:
- Land surveying: Plot boundaries are determined by physically measuring three distances, then computing angles and area from those values.
- Structural engineering: Triangular truss members are sized and angled by computing forces from known member lengths.
- GPS and navigation: Trilateration algorithms — the geometric core of GPS positioning — rely on distance-based triangle solving equivalent to SSS.
- Architecture: Roof pitch, rafter slope, and ridge-to-wall angles are calculated from measured rafter and ridge lengths before any cutting begins.
- Computer graphics: Mesh triangles are fully described by their edge lengths, and rendering engines use SSS geometry to compute surface normals and lighting angles.
Reference