Comparing triangle areas at the same perimeter
A perimeter says how long the boundary is, not how much it encloses. Triangles with the same perimeter can have quite different areas depending on how the sides are distributed.
One boundary length, many triangles
Imagine a loop of string 12 units long that you shape into a triangle. Pulling one corner out makes a long, thin triangle, and pushing it in makes a wider one. The loop is always 12 units long, but the area it encloses changes. So a perimeter alone does not identify a triangle. Several different side triples add up to the same sum, and each one is a valid triangle as long as it passes the triangle inequality. The Triangle Calculator takes all three sides, so it can tell these shapes apart where a perimeter total cannot.
The 3, 4, 5 and the 5, 5, 2 triangles
The 3, 4, 5 triangle has perimeter 12 and area 6, which the Triangle Calculator computes from Heron's formula with s equal to 6: the square root of 6 times 3 times 2 times 1, which is 6. The triangle 5, 5, 2 also has perimeter 12, but now s minus a is 1, s minus b is 1 and s minus c is 4, so the area is the square root of 6 times 1 times 1 times 4, which is the square root of 24, about 4.899. Same perimeter, but a difference of about 1.1 square units, or 18 percent less area for the narrow shape.
Heron's formula in plain steps
The calculator computes the semi-perimeter, s, as half of the sum of the sides, then the area as the square root of s times (s minus a) times (s minus b) times (s minus c). The perimeter output is 2s. Because the perimeter is fixed at 12, s is 6 for every triangle in this guide, and the only thing that changes the area is how the three differences from s are distributed. Those differences always add up to s itself, which is 6. Their product, and therefore the area, is larger when the differences are closer to equal, and smaller when one of them is tiny.
More triangles with perimeter 12
The equilateral triangle 4, 4, 4 has differences of 2, 2 and 2, so the area is the square root of 6 times 8, or 6.928. The triangle 3.5, 4, 4.5 gives differences 2.5, 2 and 1.5, and the area is the square root of 6 times 7.5, which is 6.708. The triangle 4.5, 4.5, 3 has area 6.364, and 5.5, 5.5, 1 has area 2.739. Along this sequence the shapes get thinner, and the area drops. The right triangle 3, 4, 5, at 6, falls between the equilateral and the thin shapes. Equal sides give the greatest area for a given perimeter among triangles.
Why the equilateral shape wins
For a fixed s, the product of the three differences is largest when the differences are equal. That follows from the fact that, for numbers with a fixed sum, the product grows as they become more even. Here the differences add to 6, so equal differences of 2 give the product 8, and any uneven split gives less. The 3, 4, 5 triangle has differences 3, 2 and 1 with product 6, and the 5, 5, 2 triangle has 1, 1 and 4 with product 4. So the shape with the most balanced sides encloses the most area for its boundary. This is a general result about triangles, not a feature of the number 12.
Triangle validity comes first
Each side must be shorter than the sum of the other two. With a perimeter of 12, that means every side must be under 6, half the perimeter. The longest side in each example here is 5.5 or less, so all of them are valid. A triple such as 6, 3, 3 also adds up to 12, but the sides lie along one line, so no positive-area triangle exists. Matching the sum of the sides is therefore not sufficient to determine a shape. A complete side triple, or another adequate set of constraints such as two sides and an included angle, is needed. The tool checks that the inputs make a triangle before it reports an area.
Everyday consequences
The idea matters when a fixed length of edging, fencing, rope or framing is used to enclose a triangular region. With a given length of material, the enclosed area depends on the shape you choose, and the most even shape holds the most. For 12 units, an equilateral layout encloses about 6.928 square units, while the thin 5.5, 5.5, 1 layout encloses 2.739, less than half as much. In an illustrative planting bed, that is a real difference in space for the same border length. Costs of material scale with perimeter, but usable space scales with area, and the two should be compared separately.
Turning the comparison into a rule of thumb
Two rules summarize the section. First, among triangles with a given perimeter, the equilateral triangle holds the most area, and the area falls toward zero as the triangle flattens into a line. Second, a measured perimeter cannot be used to estimate an area unless the shape is also known. If someone reports a perimeter of 12 and asks for the area, any answer between 0 and 6.928 is possible, and only the side triple narrows it. The two examples in the title bracket a useful range: the 3, 4, 5 triangle sits at 6, and the 5, 5, 2 triangle sits at 4.899. Asking for the three sides, or for two sides and an angle, is how you get a number you can use.
Reading outputs from the Triangle Calculator
Besides area and perimeter, the tool returns the three angles, computed from the law of cosines. For 3, 4, 5, they are about 36.87, 53.13 and 90 degrees. The narrow 5, 5, 2 triangle has angles of about 78.46, 78.46 and 23.07 degrees. The angles show the shape directly, while the perimeter does not. Enter the sides in one unit; the perimeter comes back in that unit, and the area in its square. The calculation treats the triangle as ideal and flat, with exactly the side lengths entered. The widest angle is a quick shape check: a right angle means the squares of the two shorter sides add to the square of the longest, an angle over 90 degrees means they add to less, and an angle under 90 degrees means they add to more. For 5, 5, 2 the widest angle is 78.46, so the triangle is acute.
Reproduce the checks
Right triangle
Open the Triangle Calculator and enter:
- Side a
3- Side b
4- Side c
5
Expected output:
perimeter
12area
6This is one valid shape with the chosen boundary length.
Narrow isosceles triangle
Open the Triangle Calculator and enter:
- Side a
5- Side b
5- Side c
2
Expected output:
perimeter
12area
4.898979485566356The area differs even though the perimeter matches.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- MathWorld ↗ · 2026-10-08