Skip to content
Omnikalc

Napoleon’s theorem calculator

Enter the three sides of a triangle to get the side and the area of the outer and inner Napoleon triangles, which are always equilateral, and check that the difference of their areas equals the area of the original triangle.

Updated on
Your inputs
cm

Value out of range

cm

Value out of range

cm

Value out of range

Results

Side of the outer Napoleon triangle

7.957 cm

Side of the inner Napoleon triangle

1.162 cm

Area of the outer Napoleon triangle
27.417 cm²
Area of the inner Napoleon triangle
0.584 cm²
Difference of the two areas
26.833 cm²
Area of the original triangle
26.833 cm²
Circumradius of the outer Napoleon triangle
4.594 cm
Outer side compared with the longest side
88.41 %

The Napoleon’s theorem calculator gives the side and the area of the outer and inner Napoleon triangles of a triangle from its three sides, the circumradius of the outer one and a check that the difference of the two areas equals the area of the original triangle.

How the calculation works

  • Enter the three sides a, b and c of the triangle.
  • Check that the sides satisfy the triangle inequality.
  • Read the sides and areas of the two Napoleon triangles and the check.

Example

A triangle with sides 7 cm, 8 cm and 9 cm and an area of 26.833 cm² has an outer Napoleon triangle with a side of 7.957 cm and an area of 27.417 cm², and an inner one with a side of 1.162 cm and an area of 0.584 cm². The difference of the areas is 26.833 cm², equal to the area of the triangle. The outer side is 88.41 % of the longest side.

Why it matters

The calculator helps students and teachers of geometry, competition solvers and puzzle fans who test a famous theorem on numbers, check constructions with dynamic geometry software, or explore how the shape of a triangle changes its Napoleon triangles, with exact values and a built-in check.

Good to know

The sides must satisfy the triangle inequality. The outer triangle is built by placing the equilateral triangles away from the original triangle, and the inner one by placing them toward it. Both are always equilateral, whatever the shape of the original. The inner triangle has a side of zero for an equilateral triangle. The check on the areas is exact up to rounding. All lengths use one unit, and the areas use its square.

The triangle calculator solves the basic measures, the triangle centers calculator locates the centroid and other centers, the triangle solver finds sides and angles, and the Euler line calculator gives distances between centers.

Frequently asked questions

What is Napoleon’s theorem?

Build an equilateral triangle on each side of any triangle, all pointing outward. The centers of these three equilateral triangles form an equilateral triangle, the outer Napoleon triangle. The same is true if the equilateral triangles are built inward, which gives the inner Napoleon triangle. The theorem is attributed to Napoleon Bonaparte, though that is doubtful.

How is the side computed?

The side of the outer Napoleon triangle satisfies s² = (a² + b² + c²) / 6 + 2Δ / √3, and the inner one s² = (a² + b² + c²) / 6 − 2Δ / √3, where Δ is the area. For the sides 7, 8 and 9, the outer side is about 7.96 and the inner side about 1.16.

What is the link between the areas?

The area of the outer Napoleon triangle minus the area of the inner one is exactly the area of the original triangle. For the sides 7, 8 and 9, the areas are about 27.41 and 0.58, and the difference is 26.83, the area of the triangle. This is a quick check of the result.

When does the inner triangle vanish?

The inner Napoleon triangle degenerates to a point when the original triangle is equilateral, because then a² + b² + c² = 4√3 × Δ. The more elongated the triangle, the larger the inner Napoleon triangle gets compared with the original. The centers of both triangles coincide with the centroid of the original triangle.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.