Hexagon Calculator
Enter the side length of a regular hexagon to find its area, perimeter, apothem, and diagonal. Uses the formula A = (3sqrt(3)/2) x s^2.
A hexagon is a six-sided polygon. A regular hexagon has all sides equal and all interior angles equal (120° each). It's one of the most efficient shapes in nature and engineering: honeycomb cells, basalt columns at the Giant's Causeway, snowflake crystals, the layout of cells in dragonfly eyes, soccer balls (mixed with pentagons), and modern hex-bolt heads all use hexagonal geometry.
The hexagon's mathematical elegance comes from its tessellation property: regular hexagons tile a plane with no gaps and no overlaps — one of only three regular polygons that do (triangles and squares being the other two). Among these, hexagons enclose maximum area for minimum perimeter — which is why bees build hexagonal honeycombs (minimal wax for maximum honey storage).
Key formulas for a regular hexagon with side length s: - **Perimeter**: 6s (six equal sides). - **Area**: (3√3/2) × s² ≈ 2.598 s². - **Apothem**: (s√3)/2 ≈ 0.866 s (perpendicular from center to side midpoint). - **Diagonal across vertices**: 2s. - **Diagonal across flats**: s√3 ≈ 1.732 s.
A regular hexagon can be divided into 6 equilateral triangles, each with side s. This decomposition simplifies many calculations and reveals the hexagon's deep connection to triangles.
Common applications: honeycomb design, tile patterns, mechanical fasteners (hex bolts), chemistry (benzene ring structure), geography (hex grids in geographic analysis), board games (Catan, military strategy games), and any context requiring efficient tessellation.
Inputs
Results
Area
64.9519 sq units
Perimeter
30
Apothem
4.3301
Long Diagonal
10
Short Diagonal
8.6603
Formula
How to use this calculator
- Enter side length of regular hexagon.
- Calculator returns perimeter, area, apothem, and diagonals.
- For irregular hexagons (sides not equal): split into triangles.
- For tessellation: side length determines packing density.
- For inscribed circle: radius = apothem = s√3/2.
- For circumscribed circle: radius = side length = s.
Worked examples
Honeycomb cell volume
**Scenario:** Honeybee cell: hexagonal cross-section side 2.7 mm, depth 11 mm. Volume? **Calculation:** Cross-section area: (3√3/2) × 7.29 = 18.95 mm². Volume: 18.95 × 11 = 208 mm³ ≈ 0.21 mL. **Result:** ~0.2 mL per cell. Single bee fills cell with ~250 mg honey. A typical hive (50,000 cells) holds ~10 L honey (~13 kg). Hexagonal shape gives bees ~13% more storage than square cells with same wax.
Hex bolt sizing
**Scenario:** Standard 1/2" hex bolt: across flats = 0.75". Find across vertices and bolt-circle dimensions. **Calculation:** Side length s: across flats = s√3, so s = 0.75/√3 ≈ 0.433". Across vertices = 2s ≈ 0.866". **Result:** Side ~0.43", across vertices ~0.87". Wrench grips 6 flat sides (3/4" wrench). Diagonal from corner to corner: 0.866" — limit for socket inside diameter. Standardization in ASME B18.2.1.
Hexagonal tile floor
**Scenario:** Bathroom floor 4 m × 3 m to tile with regular hexagons of 10 cm side. How many tiles? **Calculation:** Floor area: 12 m² = 120,000 cm². Tile area: (3√3/2) × 100 = 259.8 cm². Tiles needed: 120,000/259.8 ≈ 462. Add 10% waste: ~510 tiles. **Result:** ~510 tiles needed. Hexagonal tiles tessellate perfectly — no gaps. Compare 10×10 square tiles: 120 tiles (much fewer because square area = 100, hexagon area = 259.8 — hexagons are bigger relative to their side). Equal-side comparison favors hexagons for fewer pieces.
When to use this calculator
**Use hexagon calculations for:**
- **Honeycomb design**: bee farming, packaging cells. - **Tile design**: bathroom, kitchen, floor patterns. - **Mechanical fasteners**: hex bolt/nut analysis. - **Game design**: hex grid boards (Catan, war games). - **Chemistry**: aromatic ring structures. - **Materials science**: crystal lattices (HCP, graphene). - **Geography/GIS**: hex binning for spatial data. - **Cartography**: H3 global hexagonal grid.
**Hexagon advantages:**
- **Tessellation**: tiles plane perfectly. - **Efficient**: maximum area per perimeter among tile-able regular polygons. - **6 neighbors**: more uniform than square (4) or triangle (3) grids. - **No corner ambiguity**: cleaner than square grids for diagonal moves. - **Aesthetically pleasing**: natural-looking patterns.
**Hexagon vs other shapes:**
| Property | Triangle | Square | Hexagon | |---|---|---|---| | Tiles plane | Yes | Yes | Yes | | Sides | 3 | 4 | 6 | | Interior angle | 60° | 90° | 120° | | Sym lines | 3 | 4 | 6 | | Neighbors in grid | 3 | 4 or 8 | 6 | | Honeycomb efficiency | low | medium | high |
**Hex grid coordinates:**
Several coordinate systems: - **Offset coordinates**: shift even/odd rows. - **Cube coordinates**: (x, y, z) with x+y+z = 0. - **Axial coordinates**: simplified cube using 2 coords.
Each system has trade-offs for distance calculation and movement.
**Common applications:**
- **Beekeeping**: honeycomb measurements. - **Construction**: hexagonal pavers. - **Industrial**: standardized hex fasteners. - **Chemistry teaching**: organic molecule drawings. - **Crystal modeling**: HCP, graphite structures. - **Game design**: strategy games (Catan, military, hex maps). - **GIS**: Uber's H3 system for global indexing. - **Cartography**: cellular projections. - **Decoration**: bee-inspired or modular geometric design.
**Modern uses (H3 grid):**
Uber's H3 system divides Earth's surface into hexagonal cells at multiple resolutions. Each cell has uniform area at each level. Used for: - Ride-share dispatch. - Spatial data aggregation. - Geographic analysis. - Map visualization.
**Software:**
- **CAD**: parametric hex shapes (SolidWorks, Fusion 360). - **H3 library**: hexagonal global indexing (Uber). - **D3.js**: hex grid visualizations. - **Game engines**: hex grid extensions. - **3D modeling**: tessellation tools.
**Pitfalls:**
- **Confusing regular vs irregular**: formulas only apply to regular hexagons. - **Side vs across-flats**: across flats = s × √3. - **Long vs short diagonal**: 2s vs s√3. - **Apothem direction**: perpendicular to side, not to vertex. - **Hex grid coordinates**: choose system that fits problem. - **Tessellation gaps**: any irregularity breaks perfect tiling.
**Why bees use hexagons:**
Charles Darwin called honeycomb "the most wonderful of all known instincts." The mathematical reason: hexagonal cells maximize area for minimum perimeter wax usage. This was conjectured for centuries; proven by Thomas Hales in 1999 (Honeycomb Conjecture).
Bees evolved to build hexagons not by computation, but through individual cell construction that naturally meets at 120° angles when bees pack circular cells together (the cells deform from round to hexagonal under wall pressure).
**Hexagon in nature:**
- **Honeycomb**: bees, wasps build hexagonal cells. - **Basalt columns**: Giant's Causeway, Devils Postpile. - **Snowflakes**: 6-fold symmetry from water crystal structure. - **Dragonfly eye**: hexagonal ommatidia. - **Graphene**: hexagonal carbon lattice. - **Tortoise shell**: hexagonal-like scute pattern. - **Saturn's north pole**: hexagonal jet stream pattern (atmospheric).
Common mistakes to avoid
- Using regular hexagon formulas for irregular hexagons (sides not equal).
- Confusing side length with across-flats distance (off by factor √3).
- Confusing long and short diagonals (2s vs s√3).
- Forgetting that interior angles are 120°, not 90°.
- Treating apothem as same as side length.
- Confusing circumradius (R = s) with inradius (r = s√3/2).
- In hex grids: not choosing right coordinate system.
- Mixing units (side in cm, apothem in inches).
Frequently Asked Questions
Sources & further reading
Related Calculators
Area Calculator
Calculate the area of common shapes: circle, rectangle, triangle, and trapezoid.
Perimeter Calculator
Calculate the perimeter of common shapes: rectangle, triangle, circle, and regular polygon.
Triangle Calculator
Calculate triangle area, perimeter, and angles from three side lengths using Heron's formula and the law of cosines.