What the page measures
A heptagon has seven sides, and the regular one has seven equal sides and seven equal angles. Because all the proportions are fixed, a single side length determines everything else about it. The page returns three results: the area enclosed, the perimeter around the outline, and the size of each interior angle. Seven-sided outlines are less common in construction than hexagons and octagons, so people usually meet them in coin design, in decorative paving, in garden or pavilion plans, in puzzles and in geometry coursework. The calculator covers the convex regular heptagon only. A star heptagon, an irregular seven-sided outline or a shape with curved sides needs a different method.
Heptagon perimeter, 900/7 degree angle and area
The perimeter is 7 × s. The interior angle is 180 × (7 − 2) / 7 degrees, which is 900/7, or about 128.5714 degrees, and it does not depend on size. The area is 7 s² / (4 tan(pi/7)). The tangent term comes from slicing the heptagon into seven identical isosceles triangles that meet at the center. Each has base s and a base-adjacent angle of pi/7, so its height is s / (2 tan(pi/7)). Seven triangles of half base times height add up to the formula. Numerically tan(pi/7) is about 0.481575, which makes the area roughly 3.6339 × s².
A heptagon with sides of length 2
With a side of 2, the perimeter is 14 and the interior angle is 128.5714 degrees. The area is 7 × 4 / (4 × 0.481575), which comes to about 14.5356 square units. A useful comparison is a circle with the same perimeter. A circle of circumference 14 has an area of 14² / (4 pi), about 15.60, so the heptagon holds about 93 percent of that. Among shapes with a given perimeter, the circle encloses the most area, and polygons with more sides come closer to it. A regular heptagon sits between the hexagon and the octagon in that ranking. For the same perimeter of 14, a regular hexagon has an area of about 14.1 and a regular octagon about 14.8, so the result of 14.54 falls neatly between them.
Other side lengths
A side of 5 gives a perimeter of 35 and an area of about 90.848. A side of 3 gives a perimeter of 21 and an area of about 32.705. A side of 10 gives a perimeter of 70 and an area of about 363.39. The interior angle stays at 128.5714 degrees in every case. Since area grows with the square of the side, going from 2 to 5 multiplies the area by 6.25, and 14.5356 × 6.25 is 90.85, which agrees with the direct calculation. This scaling check is a good way to catch a typing error before you order material for a heptagonal floor, planter or tabletop. The perimeter scales in direct proportion, so a side of 5 gives 35, exactly 2.5 times the perimeter of 14 for a side of 2. If the area ratio and the perimeter ratio do not follow those rules, one of the entries is wrong.
Angles and the 900-degree total
The interior angles of any convex heptagon add to 180 × (7 − 2) = 900 degrees. Dividing by seven gives the regular angle. Each exterior angle is 360/7, about 51.4286 degrees, and the seven exterior angles add to a full turn. Because 900/7 is not a whole number of degrees, a protractor cannot show the angle exactly, and a cut of 128.57 degrees is usually rounded on the saw. When you check the angle by hand, keep enough decimals. Rounding to 128.6 degrees seven times gives 900.2 degrees, a small mismatch that would leave a gap in a ring of seven pieces.
Why a heptagon is hard to draw
A regular heptagon cannot be constructed exactly with an unmarked straightedge and compass. Carl Friedrich Gauss showed in 1796 which regular polygons can be built that way, and Pierre Wantzel later proved the converse, ruling out the heptagon, nonagon and others. Builders therefore lay out a heptagon with coordinates, a chord table or a jig rather than a pure compass construction. A circle with radius equal to s / (2 sin(pi/7)), about 1.1524 × s, passes through all seven corners, and spacing the corners at 360/7 degrees around it gives the shape. This page provides the area and perimeter, so the layout still needs separate work.
Reuleaux heptagons and everyday coins
The seven-sided coin outline most people know is the British 50 pence and 20 pence coin. Those coins are not true heptagons. They use curved sides, and the shape is a Reuleaux polygon, built so that every width across the coin is the same, which lets vending machines treat it like a round coin. A plain straight-sided regular heptagon, the shape this calculator handles, has widths that vary between flats and corners. Do not enter a measurement from a curved-sided coin and expect the page to reproduce its area. The side of a regular heptagon is a straight edge from corner to corner. The same caution applies to a heptagonal gazebo or a seven-sided window frame. Measure the straight edge between neighboring corners on the actual outline, and if the edges bulge, the page describes a different shape.
Using the results for materials
The perimeter gives the length of edging, framing, trim or fence around a seven-sided outline. The area gives the flat surface to cover with paving, flooring, paint or fabric. For a paved heptagonal terrace with a side of 3 meters, the perimeter is 21 meters and the area is about 32.7 square meters. Net figures leave out cutting waste, joints and overlaps, so add an allowance in a separate step. The page does not convert units, and area comes back in the square of the unit used for the side. Keep every measurement in one unit through the whole calculation.
Convex regular heptagons and invalid input
The page assumes a convex regular heptagon with finite positive side length. Overflow or invalid input cannot return a usable answer. The displayed digits go well beyond what a measured side can support, so round the final value to the precision of your measurement. If you check the area by hand with a rounded tangent, you can lose a digit or two. Using 0.4816 for tan(pi/7) in place of 0.481575 changes the default area in the fourth significant digit. The calculator does not provide structural, layout or code guidance for anything you build from the shape.