Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Triangle Congruence Calculator

Enter three side lengths to check they close into a triangle and get its area by Heron's formula and its perimeter, the values SSS congruence fixes.

Triangle Congruence Calculator

Triangle area
6
The triangle's area from Heron's formula, in the square of the unit used for the sides.
Perimeter
12

Background.

Three side lengths settle everything about a triangle. That is the side-side-side (SSS) congruence rule: two triangles whose sides match pair by pair are congruent, identical in every angle and in area, however they are turned or flipped. It is also why three bars bolted at the corners cannot be pushed out of shape while a square frame folds into a rhombus, and why roof trusses and bridge girders are built from triangles.

This page puts the rule to work. Give it three lengths and it checks that they can close into a triangle, then returns the two quantities the sides alone decide: the perimeter, which is their sum, and the area, from Heron's formula. Heron's method needs no angles and no height, only the semiperimeter s, half the perimeter, and the three differences s − a, s − b and s − c.

The closure test is the triangle inequality. Each side must be shorter than the other two put together. If one side exactly equals the sum of the others, the shape collapses flat with zero area; if it is longer, the ends cannot meet. Both cases are refused.

The page does not compare two triangles or name a congruence rule, so treat its output as evidence rather than proof. Two triangles with different areas or perimeters are certainly not congruent. Matching results, though, prove nothing: sides of 5, 5, 6 and 5, 5, 8 both enclose an area of 12, and some different triangles share both area and perimeter. Congruence needs all three sides to match, or another recognised combination such as two sides and the angle between them.

Builders rely on the same fact when they set out a square corner with a 3-4-5 triangle: those three lengths, the default example here, close only into a right angle.

What is triangle congruence calculator?

Two triangles are congruent when they are exact copies: the same three side lengths and the same three angles, so one can be moved, rotated or reflected to sit perfectly on the other. The side-side-side criterion says that matching the three sides is enough on its own. The sides you enter define one such triangle, and the page reports the measurements every congruent copy shares: the perimeter, which is the sum of the sides, and the area, from Heron's formula.

How to use this calculator.

  1. Enter the three side lengths in any order, all in the same unit. The perimeter comes out in that unit and the area in its square, so centimetres give square centimetres.
  2. If the sides are refused, look at the longest one: it must be strictly shorter than the other two added together.
  3. To test whether two triangles could be congruent, run each set of sides and compare. A different perimeter or area rules congruence out; for proof, check that the three sides match pair by pair.
  4. For an irregular plot or floor, divide it into triangles, measure each triangle's three sides with a tape, and add the areas.

The formula.

s=(a+b+c)/2; A=√[s(s−a)(s−b)(s−c)]

With sides a, b and c, the semiperimeter is s = (a + b + c) ÷ 2, Heron's formula gives the area A = √[s(s − a)(s − b)(s − c)], and the perimeter is 2s. Each factor such as s − a is half the amount by which the other two sides exceed a, which is where the triangle inequality comes in: if any side reaches the sum of the other two, its factor drops to zero or below and there is no area to take a square root of. The page requires every factor to be strictly positive. Scaling all three sides by k multiplies the perimeter by k and the area by k². Area is most sensitive in flat triangles, where one factor is close to zero: sides of 3, 4 and 6.9 enclose only about 2.01 square units even though the perimeter is 13.9.

A worked example.

Example

Sides of 3, 4 and 5 add to a perimeter of 12, so the semiperimeter is s = 6. The three differences are 6 − 3 = 3, 6 − 4 = 2 and 6 − 5 = 1. Heron's formula multiplies the four numbers together, 6 × 3 × 2 × 1 = 36, and takes the square root: the area is √36 = 6 square units. Because 3² + 4² = 5², this is a right triangle, and the textbook shortcut agrees: half of base times height is ½ × 3 × 4 = 6. Double every side to 6, 8 and 10 and the perimeter doubles to 24 while the area quadruples to 24, since area grows with the square of the scale.

side C5
side B4
side A3

Frequently asked questions.

Will this tell me whether two triangles are congruent?
Not directly. It works out one triangle at a time. Enter each triangle's sides and compare the outputs: a mismatch in area or perimeter proves the triangles differ, but a match does not prove congruence. For that, the three sides must agree pair by pair once sorted from shortest to longest.
Why isn't side-side-angle a congruence rule?
Two sides and an angle that is not between them can fit two different triangles, the so-called ambiguous case, because the third side can swing into two positions. Angle-angle-angle fails too: it fixes the shape but not the size, so it proves similarity, not congruence. SSS, SAS, ASA and AAS all work.
Can two different triangles have the same area and the same perimeter?
Yes. Sides of 17, 25 and 28 and sides of 20, 21 and 29 both give a perimeter of 70 and an area of exactly 210, yet the triangles are not congruent because their sides differ. That is why matching area and perimeter is never enough to establish congruence.
Why does a 3-4-5 triangle always have a right angle?
Because 3² + 4² = 9 + 16 = 25 = 5², and the converse of Pythagoras' theorem says any triangle whose sides fit a² + b² = c² has a right angle opposite c. By SSS, every 3-4-5 triangle is congruent to every other, so the angle is always 90°; scaled versions such as 6-8-10 work the same way.
How can I find the angles from the three sides?
Use the law of cosines: cos C = (a² + b² − c²) ÷ 2ab, and likewise for the other two angles. For 3, 4 and 5, the angle opposite the 5 has cosine (9 + 16 − 25) ÷ 24 = 0, so it is 90°; the other two come to about 36.87° and 53.13°.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
s=(a+b+c)/2; A=√[s(s−a)(s−b)(s−c)]
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon