Hexagon Calculator: Six Triangles Explain Every Dimension
About the Author

A Hexagon Calculator uses one defining property of a regular hexagon: joining its center to the six corners makes six equilateral triangles. From that single construction, you can derive the area, apothem, perimeter, and diagonals without memorizing unrelated formulas. The explanation below builds those relationships, checks them with numerical examples, and shows why measuring across the flats gives a different answer from measuring across the corners.
The Geometry Behind a Regular Hexagon Calculator
A hexagon has six sides. A regular hexagon also has six equal side lengths and six equal interior angles, each measuring 120°. Those extra conditions matter. One measurement fixes the size of a regular hexagon, but it cannot fix the shape of an arbitrary six-sided figure.
Draw segments from the center to each vertex. The full turn of 360° is divided into six central angles of 60°. Each central triangle has two equal radii and a 60° angle between them. Its remaining angles are 60° too, so all three sides are equal. The circumradius R therefore equals the hexagon side s.
This is a special shortcut. A square's circumradius does not equal its side, and neither does a regular pentagon's. For another number of sides, use the regular polygon calculator. Wolfram MathWorld's hexagon reference distinguishes the general six-sided polygon from the regular figure considered here.
Drop a Perpendicular to Find the Apothem
The apothem a runs from the center to the midpoint of a side, meeting it at 90°. It is also the radius of the largest circle centered inside the regular hexagon. The circumradius reaches a corner; the apothem reaches an edge. They are not interchangeable.
Bisect one of the equilateral triangles. The resulting right triangle has hypotenuse s, short leg s/2, and long leg a. By the Pythagorean theorem, a² = s² − (s/2)² = 3s²/4. Taking the positive square root gives a = √3s/2, approximately 0.8660254s.
For s = 6 cm, the apothem is 3√3 cm, approximately 5.1961524 cm. The center-to-corner distance is 6 cm. That difference of about 0.804 cm explains why a circle drawn through the vertices extends beyond every side. You can explore the same altitude calculation with the equilateral triangle calculator.
Build the Hexagon Area Formula From Six Pieces
One central triangle has base s and perpendicular height a, so its area is sa/2. Multiply by six: A = 3sa. Substituting a = √3s/2 gives the familiar A = (3√3/2)s². The multiplier is approximately 2.598076211, but keeping √3 until the final step avoids unnecessary rounding.
The perimeter is P = 6s. This turns A = 3sa into A = Pa/2, another useful form when the perimeter and apothem are known. The side-only formula and the perimeter-apothem formula measure exactly the same six triangles.
Worked example: a 6 cm side
One triangle: (6 × 3√3) / 2 = 9√3 cm².
Whole hexagon: 6 × 9√3 = 54√3 ≈ 93.5307436 cm².
Perimeter check: P = 36 cm, so Pa/2 = 36 × 3√3 / 2 = 54√3 cm².
Notice the units. Perimeter stays in centimeters; area uses square centimeters. Doubling the side to 12 cm doubles the perimeter to 72 cm and quadruples the area to about 374.122974 cm². The area calculator is useful when you need to combine this hexagonal region with rectangles or other shapes in a larger plan.
Across Flats Is Shorter Than Across Corners
A regular hexagon has two common width measurements. Across flats, F, is the perpendicular distance between opposite parallel sides: F = 2a = √3s. Across corners, D, joins opposite vertices through the center: D = 2s. For the flat-top diagram above, these are its vertical and horizontal spans respectively.
Their ratio is fixed: D/F = 2/√3 ≈ 1.1547005. A part measuring 10 mm across flats therefore measures about 11.547005 mm across corners. Its side is 10/√3 ≈ 5.7735027 mm, its perimeter is 20√3 ≈ 34.641016 mm, and its area is 50√3 ≈ 86.602540 mm².
If you mistakenly enter that 10 mm flat-to-flat width as a side length, the area becomes 150√3 ≈ 259.807621 mm². That is three times the correct area. The distinction matters for hexagonal tiles, printed templates, and idealized hex bar stock. For a real fastener, use its specified across-flats dimension and allow for its manufacturing tolerances and chamfers.
Nine Diagonals, but Only Two Lengths
A diagonal connects nonadjacent vertices. From each of the six vertices, three other vertices are nonadjacent. Counting each connection twice gives 6 × 3 / 2 = 9 diagonals in total. Three pass through the center and have length 2s.
The remaining six skip one vertex and have length √3s. To see why, take the two top vertices in the diagram and their corresponding bottom vertices: the vertical connection between a top and bottom pair spans two apothems. Rotational symmetry gives the same length for every short diagonal.
With s = 4, the long diagonal is 8 and the short diagonal is 4√3 ≈ 6.9282032. Their lengths are different even though every edge is equal. Also, the short diagonal equals the across-flats distance numerically, but its endpoints are corners rather than side midpoints. A length match does not make them the same segment.
Work Backward From Area, Perimeter, or Width
If the area is given, rearrange A = (3√3/2)s² and take the positive root: s = √(2A/(3√3)). An area of 100 cm² gives s ≈ 6.2040324 cm, perimeter ≈ 37.224194 cm, and apothem ≈ 5.3728497 cm. A negative root is algebraically possible after squaring, but cannot represent a length.
For perimeter, divide by six. A 42 m perimeter gives s = 7 m and area 73.5√3 ≈ 127.305734 m². The perimeter calculator covers boundary lengths for other shapes when the outline changes.
| Known quantity | Side length | Area directly |
|---|---|---|
| Apothem a | 2a / √3 | 2√3a² |
| Across flats F | F / √3 | √3F² / 2 |
| Across corners D | D / 2 | 3√3D² / 8 |
| Perimeter P | P / 6 | √3P² / 24 |
Use the direct area expression when doing a manual check. For F = 10, √3F²/2 gives 50√3 immediately, without rounding the intermediate side. It also makes unit conversion easier to audit: 10 mm is 1 cm, so 86.602540 mm² becomes 0.86602540 cm², a factor of 100 smaller.
When Six Sides Are Not Enough Information
Equal sides alone do not guarantee a regular hexagon. Its angles must also agree. Six measured boundary lengths can establish the perimeter, but they generally leave more than one possible area. Do not average unequal sides and apply the regular formula as though the answer were exact.
For an irregular outline, split it into triangles with known heights, or use ordered vertex coordinates and the shoelace formula. The geometry calculator provides a starting point for related shape calculations. Neither one width nor one diagonal determines a general hexagon.
For a supposedly regular measured piece, compare F/s with √3 and D/s with 2. Then check that all six sides and angles agree; two matching ratios alone do not prove regularity. Keep the precision of the original measurement in mind. If a 6 cm side is actually 6.06 cm, a 1% increase, the area rises by 1.01² − 1 = 2.01%. Extra decimal places in a calculator cannot remove that measurement uncertainty.



