Area of an Equilateral Triangle

Calculates the area of an equilateral triangle as (√3 ÷ 4) × side². Its height is (√3 ÷ 2) × side.

An equilateral triangle has three equal sides and three angles of 60 degrees. Because its shape is completely determined, the side length alone gives you both the area and the height.

S=34a2h=32aS = \dfrac{\sqrt{3}}{4} a^2 \qquad h = \dfrac{\sqrt{3}}{2} a

Example

With the default side a=6a = 6, the height is

h=32×6=335.1962h = \dfrac{\sqrt{3}}{2} \times 6 = 3\sqrt{3} \approx 5.1962

and the area is

S=34×62=9315.5885S = \dfrac{\sqrt{3}}{4} \times 6^2 = 9\sqrt{3} \approx 15.5885

Where the formula comes from

Drop a perpendicular from the top vertex to the base. It cuts the base in half and leaves a right triangle with hypotenuse aa and legs a2\dfrac{a}{2} and hh. The Pythagorean theorem gives h2=a2a24=3a24h^2 = a^2 - \dfrac{a^2}{4} = \dfrac{3a^2}{4}, so h=32ah = \dfrac{\sqrt{3}}{2} a. Substituting that into S=12ahS = \dfrac{1}{2} a h yields S=34a2S = \dfrac{\sqrt{3}}{4} a^2.

Watch out

The height is always shorter than the side, by a factor of 320.8660\dfrac{\sqrt{3}}{2} \approx 0.8660. Using the side where the height belongs inflates the area. Note too that the area grows with the square of the side: double the side and the area becomes four times as large. The side must be a positive number.