Centroid of an Arbitrary Hexagon

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Given an arbitrary hexagon, construct exterior equilateral triangles on each side. Connect the centers of opposite triangles. The midpoints of the three lines form an equilateral triangle with the same center as the centroid of the hexagon.

Contributed by: Ed Pegg Jr (August 2022)
Open content licensed under CC BY-NC-SA



When a side is too close to the center of the drawing area, a spurious result may occur.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.