distance across hex corners

Hex Span: Distance Across Corners

By Matthew Martinez
AD

Ever wondered how to calculate the distance across the corners of a hexagon, that essential six-sided shape with honeycomb symmetry? Whether you're in geometry, game design, or urban planning, knowing the formula for this can be quite advantageous. Let's dive into the world of hexes and their corner distances.

The key to calculating the distance across hex corners lies in understanding hexagons' unique properties. Unlike squares, hexes can be both equilateral and regular, with all sides and angles equal. This simplicity belies their versatility, from packing efficiency to creating symmetrical patterns.

The Equilateral Hexagon

Let's start with the equilateral hexagon, where all sides (abcdef) and angles (A-B-C-D-E-F) are equal. To find the distance across opposite corners, say A-F, we use the Pythagorean theorem twice, as AF forms a right-angled triangle with AB, BC, and CB.

AD
a diagram showing the different angles of a hexagon
a diagram showing the different angles of a hexagon
Basis 2D and 3D Geometry and Shapes Formulas - PDF Download
Basis 2D and 3D Geometry and Shapes Formulas - PDF Download
GEOMETRY - basic rules
GEOMETRY - basic rules

Here's the step-by-step calculation: 1. AB = BC = CF = a (side length) 2. Angle A-B-C = 120° 3. AB² + BC² = AC² (Pythagorean theorem) 4. a² + a² = AF² 5. AF = a√2

Regular Hexagon Corner Distance

Now, what if the hexagon is regular but not equilateral? Say ABCDEF forms a regular hexagon inscribed in a circle with radius R. The sides (a) and the angle (120°) remain the same. The distance, AF, can be found using the same approach:

Resource - Found an Excellent Resource for Blank Numbered Hex Maps (and other goodies)
Resource - Found an Excellent Resource for Blank Numbered Hex Maps (and other goodies)
three dimensional shapes are shown with the names and numbers on them, including pentagons, hexagon, octagon, and polygon
three dimensional shapes are shown with the names and numbers on them, including pentagons, hexagon, octagon, and polygon
the corner and miter angles for various numbers of sides
the corner and miter angles for various numbers of sides

1. a = R√3 (side length of regular hexagon) 2. AB² + BC² = AC² 3. (R√3)² + (R√3)² = AF² 4. AF = 2R

Off-Center Corner Distance

What happens when the corners aren't opposite? Say we want to find the distance across corners A and D in a regular hexagon. Using the cosine rule (AF² = AB² + BC² - 2AB*BC*cos(A)), we get:

AD

1. AF = 2R*cos(60°) 2. AF = R

In Praise of the 6 Mile Hex
In Praise of the 6 Mile Hex
Finding the Area of a Regular Hexagon with Side Length 7
Finding the Area of a Regular Hexagon with Side Length 7
Hexágono regular. Relaciones métricas
Hexágono regular. Relaciones métricas
How to add elevation to DnD & TTRPG hexmaps!
How to add elevation to DnD & TTRPG hexmaps!
hexes and facings are shown in this graphic above the image is an illustration of hexes and facings
hexes and facings are shown in this graphic above the image is an illustration of hexes and facings
Relación de áreas en el hexágono regular
Relación de áreas en el hexágono regular

Hexagonal Grid Distances

In many applications, hexes aren't standalone but part of larger grids. Calculating distances across corners in these cases involves understanding hexagonal coordinates and applying previously learned concepts. Each hex center has coordinates (x, y), with neighboring hexes at (±1, 0), (±1, ±√3), and (±√3, ±1).

Using the distance formula for two points in a plane (d = √[(x2-x1)² + (y2-y1)²]), we find:

AD

Neighboring Hex Distance

For hex neighbors, like (x, y) and (x+1, y), the distance is simply the side length, a or 2R:

октагоны
октагоны
Interior Angles and Sum of a Hexagon with Examples - Neurochispas
Interior Angles and Sum of a Hexagon with Examples - Neurochispas
English Paper Piecing Instructions & Hexagon Fun
English Paper Piecing Instructions & Hexagon Fun
a drawing of two circles with the same area for each other to be drawn on paper
a drawing of two circles with the same area for each other to be drawn on paper
the hexagonal pattern is shown in black and white
the hexagonal pattern is shown in black and white
Sides and Corners – Number of sides – Number of corners – Triangle, Square, Pentagon, Hexagon, Octagon – Two Worksheets / FREE Printable Worksheets
Sides and Corners – Number of sides – Number of corners – Triangle, Square, Pentagon, Hexagon, Octagon – Two Worksheets / FREE Printable Worksheets
10 Area common to three squares inside the regular hexagon
10 Area common to three squares inside the regular hexagon
the numbers are arranged in hexagons to form an eight - sided pentagon
the numbers are arranged in hexagons to form an eight - sided pentagon
the hex - based spell area is shown in green, brown and white colors
the hex - based spell area is shown in green, brown and white colors
8th Grade Geometry Worksheet: Area of Regular Hexagons
8th Grade Geometry Worksheet: Area of Regular Hexagons
Área hexágono regular
Área hexágono regular
the hexagonal compact city blocks are labeled in red and gray, with text below
the hexagonal compact city blocks are labeled in red and gray, with text below
Properties of hexagon and regular hexagon calculator
Properties of hexagon and regular hexagon calculator

1. a = R√3

Diagonal Hex Distance

For diagonal neighbors, say (x, y) and (x+1, y+√3), the distance is a little more complex:

AD

1. a² + (√3*a)² = d² 2. d = a√(4+3) = a√7

Understanding these distances unlocks a world of possibilities, from game balance to urban development. So go forth, calculate, and build with hexagons!

AD