freeCodeCamp/guide/english/mathematics/hexagon/index.md

1.0 KiB

title
Hexagon

Hexagon

A hexagon is a polygon with six sides. The sum of the internal angles totals 720°. In a regular hexagon, each individual angle measures 120°.

a regular hexagon

Area

The formula for the area of a regular hexagon with side length s is:

A = (3√3*s2)/ 2

For a hexagon with a side length of 4, the area would be calculated as:

(3√3*42)/ 2 ≈ 41.57

Examples

A natural example of a hexagonal grid are bees' honeycombs.

a honeycomb

An unnatural example of a hexagonal grid is the New York County Supreme Court building on Foley Square, Manhattan:

NYC Supreme Court Building