Heron's Formula
Find the area of any triangle from its three side lengths alone, by walking its perimeter and fitting a circle inside it
This concept builds on Pythagorean Theorem — Built from Squares, Circle Theorems. Consider exploring them first for the best experience.
Three Lengths Make One Triangle
Start with the smallest parts: three sticks of length 13, 14 and 15, set by the 'Side a', 'Side b' and 'Side c' sliders. Joined end to end they close into exactly one shape, so these three numbers already fix the triangle and its area. The usual formula needs a height you cannot see in the numbers. Watch the dashed blue height and the '½ × base c × height' readout: 84.
When the Sides Cannot Meet
Move the 'Side a' slider to 3 and the 'Side b' slider to 4. With side c at 15 the two short sticks fall far short and the readout 'Is it a triangle?' says No. Slide c down: at 7 the sticks just reach and the triangle is squashed flat with area 0. From 6 down to 2 it opens into a real triangle. Any side must be shorter than the other two together.
Walk Half the Perimeter
Press '↺ Reset' to return to 13, 14 and 15. The yellow walker goes round the edge, a total of 13 + 14 + 15 = 42. The ringed point is half-way, 21 units from A, and this half perimeter is called s. Heron's formula is built from s and the three gaps s − a, s − b and s − c, which are 8, 7 and 6 here.
The Circle Cuts Matching Pieces
Choose 'Tangent lengths' in the 'Show' menu. The purple circle fits inside, touching all three sides. From each corner the two pieces up to the circle are equal, so they share a colour. The unrolled strip shows each colour twice, adding to 2s, so one of each adds to s. Side a is one B piece and one C piece, which leaves s − a for the A pieces.
Area Equals Radius Times s
Choose 'Area from the incircle' in the 'Show' menu. Lines to the circle's centre split the triangle into three slices. Every slice has the circle's radius r as its height, so the slices hold ½ × a × r, ½ × b × r and ½ × c × r. Together that is r × s. With r = 4 and s = 21 the area is 4 × 21 = 84.
Heron's Formula
One more link, from similar triangles inside this picture, shows that r × r × s equals (s − a)(s − b)(s − c). Multiply both sides by s and the area squared, r × s times r × s, becomes s(s − a)(s − b)(s − c). For 13, 14 and 15 that is 21 × 8 × 7 × 6 = 7056, and √7056 = 84. Compare the 'Area (Heron)' readout with the base-and-height check.
Worked Example: Sides 5, 5 and 6
Set the sliders to 5, 5 and 6. The perimeter is 16, so s = 8, and the corner pieces are 8 − 5 = 3, 3 and 8 − 6 = 2. Heron gives √(8 × 3 × 3 × 2) = √144 = 12. Check it with base and height: the height onto side 6 is √(25 − 9) = 4, and ½ × 6 × 4 = 12. The inradius is 12 ÷ 8 = 1.5.
How It Works — Step by Step
-
1
Three Lengths Make One Triangle
Start with the smallest parts: three sticks of length 13, 14 and 15, set by the 'Side a', 'Side b' and 'Side c' sliders. Joined end to end they close into exactly one shape, so these three numbers already fix the triangle and its area. The usual formula needs a height you cannot see in the numbers. Watch the dashed blue height and the '½ × base c × height' readout: 84.
-
2
When the Sides Cannot Meet
Move the 'Side a' slider to 3 and the 'Side b' slider to 4. With side c at 15 the two short sticks fall far short and the readout 'Is it a triangle?' says No. Slide c down: at 7 the sticks just reach and the triangle is squashed flat with area 0. From 6 down to 2 it opens into a real triangle. Any side must be shorter than the other two together.
-
3
Walk Half the Perimeter
Press '↺ Reset' to return to 13, 14 and 15. The yellow walker goes round the edge, a total of 13 + 14 + 15 = 42. The ringed point is half-way, 21 units from A, and this half perimeter is called s. Heron's formula is built from s and the three gaps s − a, s − b and s − c, which are 8, 7 and 6 here.
-
4
The Circle Cuts Matching Pieces
Choose 'Tangent lengths' in the 'Show' menu. The purple circle fits inside, touching all three sides. From each corner the two pieces up to the circle are equal, so they share a colour. The unrolled strip shows each colour twice, adding to 2s, so one of each adds to s. Side a is one B piece and one C piece, which leaves s − a for the A pieces.
-
5
Area Equals Radius Times s
Choose 'Area from the incircle' in the 'Show' menu. Lines to the circle's centre split the triangle into three slices. Every slice has the circle's radius r as its height, so the slices hold ½ × a × r, ½ × b × r and ½ × c × r. Together that is r × s. With r = 4 and s = 21 the area is 4 × 21 = 84.
-
6
Heron's Formula
One more link, from similar triangles inside this picture, shows that r × r × s equals (s − a)(s − b)(s − c). Multiply both sides by s and the area squared, r × s times r × s, becomes s(s − a)(s − b)(s − c). For 13, 14 and 15 that is 21 × 8 × 7 × 6 = 7056, and √7056 = 84. Compare the 'Area (Heron)' readout with the base-and-height check.
-
7
Worked Example: Sides 5, 5 and 6
Set the sliders to 5, 5 and 6. The perimeter is 16, so s = 8, and the corner pieces are 8 − 5 = 3, 3 and 8 − 6 = 2. Heron gives √(8 × 3 × 3 × 2) = √144 = 12. Check it with base and height: the height onto side 6 is √(25 − 9) = 4, and ½ × 6 × 4 = 12. The inradius is 12 ÷ 8 = 1.5.
Key Takeaways
Three sides fix the area
A triangle is rigid: once the three side lengths are chosen, its shape and area are decided, so a formula from the sides alone must exist.
Each side shorter than the other two
Three lengths close into a triangle only when every gap s − a, s − b and s − c is positive; a zero gap means a flat triangle.
The incircle splits the perimeter
Tangent pieces from each corner are equal, so the piece at corner A is s − a, and the area equals the inradius times s.
Area = √(s(s − a)(s − b)(s − c))
Multiply the half perimeter by its three gaps and take the square root to get the area, with no height needed.
Connected Concepts
Pythagorean Theorem
Set the sides to 3, 4 and 5: Heron gives √(6 × 3 × 2 × 1) = 6, exactly ½ × 3 × 4 for the right triangle.
Law of Cosines
The sides also fix every angle; the law of cosines finds them, and ½ab·sin C gives the same area Heron does.
Triangle Centers
The purple circle's centre, where the three slices meet, is the incentre: one of the classic centres of a triangle.
Circle Theorems
Two tangents drawn to a circle from one point are equal in length: the fact that pairs up the coloured pieces.
Pick's Theorem
Another way to get an area without base and height: count the grid points inside and on the edge of a shape.
Similar Triangles
Similar triangles inside the incircle picture link r² × s to (s − a)(s − b)(s − c), the last link in the proof.