# Hexagons and Squares - Diagonal Lengths

## Distance between corners for hexagons and squares

### Hexagon

The distance between the corners in a hexagon as indicated in the figure can be expressed as

*D _{h} = (2 / 3) 3^{1/2} d *

* = 1.154701 d (1)*

### Square

The distance between corners - length of diagonal - in a square can be expressed as

*D _{s} = 2^{1/2} d *

* = 1.4142 d (2)*

### Example - Distance between Corners in a Hexagon

The distance between corners in a hexagon where *d = 0.4 m* can be calculated as

*D _{h} = 1.154701 0.4 *

* = 0.462 m*