Solve a regular polygon from the number of sides plus any one known size — side, perimeter, area, apothem, circumradius, across flats, or across corners — with a live diagram and exact derived geometry.
Regular polygon solver
Choose the side count, then give the one measurement you actually know. Everything else updates instantly.
Regular hexagon
Diagram is proportional for ordinary side counts; very high-n previews are simplified. R = circumradius, a = apothem.
Core measurements
These are the values most polygon calculators make you hunt for.
—Side length
—Perimeter
—Area
—Apothem / inradius
—Circumradius
—Interior angle
—Exterior angle
—Across flats / incircle Ø
—Across corners / circumcircle Ø
—Number of diagonals
For odd-sided polygons, “across flats” and “across corners” are the incircle and circumcircle diameters; there is no pair of exactly opposite parallel faces/vertices.
Advanced geometry & calculation steps Open only when needed
—Central angle
—Interior-angle sum
—Incircle area
—Circumcircle area
—Polygon / circumcircle area
Session-only recent shapes
Keep a few comparisons while you work. These snapshots are not written to localStorage.
Scope & truth boundary
Regular polygons only. Every side and every interior angle must be equal. A single measurement cannot solve a general irregular polygon. Across-flats/across-corners labels are literal opposite-face/opposite-vertex dimensions only for even n; for odd n this page reports the corresponding incircle/circumcircle diameters.
Calculations run locally in your browser. The unit selector labels the result; it does not change the underlying geometry.
Regular polygon formulas without crowding the calculator
One known size is enough
For a regular n-gon, the side count plus any one independent size fixes the scale. That is why this solver accepts side, perimeter, area, apothem, circumradius, or the corresponding circle diameters.
Apothem vs circumradius
The apothem reaches the midpoint of a side and equals the incircle radius. The circumradius reaches a vertex. Mixing these two radii is a common source of incorrect area calculations.
Across flats and across corners
For even-sided polygons these match practical opposite-face and opposite-vertex measurements used for square, hex and octagonal stock. For odd n the page deliberately labels them as circle diameters rather than pretending opposite faces exist.
Why the area formula works
Connect the center to every vertex. The polygon becomes n congruent triangles, each with base s and height equal to the apothem, so total area is one-half × perimeter × apothem.
Use consistent measurements and valid geometric assumptions
Keep linear inputs in a consistent unit, verify that side lengths or coordinate points can form the stated shape, and treat sketches as explanatory unless explicitly marked to scale. Coordinate formulas can become unstable for nearly degenerate shapes, so invalid or nearly collinear inputs are rejected rather than silently returning misleading values.