Hexagon Calculator by Udayanga
Calculate Hexagon Measurements
About the Hexagon
A hexagon is a six-sided polygon with equal sides and angles in a regular hexagon. It has several important measurements that define its geometry.
Measurements

- Side (a): The length of one side of the hexagon.
- Long Diagonal (d): The distance between two opposite vertices, equal to 2 times the side.
- Short Diagonal (s): The distance between two non-adjacent vertices, equal to √3 times the side.
- Circumcircle Radius (R): The radius of the circle that passes through all the vertices of the hexagon, equal to the side length.
- Apothem (r): The perpendicular distance from the center to one side, equal to (√3/2) * a.
- Area: The total surface area of the hexagon, calculated as (3√3/2) * a².
- Perimeter: The total length of all six sides, equal to 6 times the side length.
Formulas Used
When the side length (a) is given, the other measurements can be calculated as follows:
- Long Diagonal (d) = 2 x a
- Short Diagonal (s) = √3 x a
- Circumcircle Radius (R) = a
- Apothem (r) = (√3/2) x a
- Area = (3√3/2) x a²
- Perimeter = 6 x a
Explore the Project Source Code
This Hexagon Calculator is an open-source project available on GitHub. You can find the full source code for both this web application and a Python desktop version in the repository.
Interested in the desktop version? Check out the Python application in the repository.
License :
MIT