Heptagon Calculator - Area, Perimeter, Apothem, and More

Use this heptagon calculator to find the area, perimeter, apothem, and circumradius of any regular heptagon from a single side length.

Updated: June 16, 2026 • Free Tool

Heptagon Calculator

Length of one side of the regular heptagon. Drives every other output.

Results

Area
0sq units
Perimeter 0units
Apothem 0units
Circumradius 0units

What Is a Heptagon Calculator?

A heptagon calculator takes one side length and returns the area, perimeter, apothem, and circumradius of a regular heptagon, so you do not have to juggle cotangents and square roots by hand.

  • Geometry homework: Check area and perimeter answers for regular heptagon problems on tests or worksheets without redoing the trigonometric formulas.
  • Tiling and design layouts: Size heptagonal tiles, panels, or stained-glass sections by picking a side length and reading the area and apothem you will actually need on site.
  • Engineering and drafting: Use the same tool to get every linked measurement of a heptagonal flange, nut, or hand-drawn component once you know one side.
  • Puzzle and game design: Plan heptagon-shaped board tiles, dice faces, or symbol grids by linking a chosen side length to total area and circumradius.

A regular heptagon is a seven-sided polygon with equal side lengths and equal interior angles, which makes every other measurement depend on that one side. The heptagon calculator uses that relationship to update the area, perimeter, apothem, and circumradius the moment you change the side length. If you have an area or apothem in hand instead of a side, switch to the dedicated area tool below and use it for the back-solve.

If you work with related polygons, the same numerical pattern shows up for hexagons, octagons, and decagons; only the constants change. That is why this calculator focuses on the regular heptagon specifically, with closed-form formulas you can audit line by line.

If you need to start from the area or apothem instead, the dedicated Heptagon Area Calculator accepts side length, apothem, or area as input and returns the rest of the measurements.

How the Heptagon Calculator Works

The calculator takes the side length you type, then applies the standard regular-polygon formulas for area, perimeter, apothem, and circumradius. Each of those formulas is a fixed function of the side length, so all four outputs update together as soon as the input changes.

A = (7/4) * s^2 * cot(pi/7) | P = 7s | a = s * cot(pi/7) / 2 | R = s / (2 * sin(pi/7))
  • s: Side length, the length of one of the seven equal sides. Drives every output.
  • A: Area of the heptagon, in the square of whatever length unit you use for s.
  • P: Perimeter, the total distance around the boundary. Equals seven times the side length.
  • a: Apothem, the perpendicular distance from the center of the heptagon to the midpoint of one side.
  • R: Circumradius, the distance from the center of the heptagon to any vertex.

cot(pi/7) is the key constant. It is the reciprocal of tan(pi/7) and is approximately 2.0765213966, which means the area coefficient (7/4) * cot(pi/7) is approximately 3.633912444. Multiplying the square of the side length by that coefficient gives the heptagon area in closed form.

The same side length also produces the apothem and circumradius through their own trigonometric identities. The formulas all stay stable for any positive side length, so a single side of 7 yields an area of about 178.06 square units, a perimeter of 49 units, an apothem of about 7.27 units, and a circumradius of about 8.07 units.

Worked example: side length 7

Side length s = 7 units

A = (7/4) * 7^2 * cot(pi/7) = 1.75 * 49 * 2.0765214 = 178.0617. P = 7 * 7 = 49. a = 7 * 2.0765214 / 2 = 7.2678. R = 7 / (2 sin(pi/7)) = 8.0667.

Area ≈ 178.0617 sq units, Perimeter = 49 units, Apothem ≈ 7.2678 units, Circumradius ≈ 8.0667 units.

Use these four values together: the apothem and circumradius describe the inscribed and circumscribed circles of the same heptagon, and the perimeter anchors the boundary length.

According to Wolfram MathWorld, the area of a regular heptagon is A = (7/4) s^2 cot(pi/7) and the apothem is a = s cot(pi/7) / 2.

The same chain of formulas with a different constant drives our Hexagon Calculator for the related six-sided polygon.

Key Heptagon Concepts

These four ideas cover every measurement the heptagon calculator returns and explain how the formulas fit together.

Regular heptagon

A seven-sided polygon whose sides are all the same length and whose seven interior angles are each 900/7 ≈ 128.57 degrees. Only the regular form admits the closed-form formulas used by this calculator.

Apothem

The perpendicular distance from the center of the heptagon to the midpoint of one side. The apothem is the radius of the inscribed circle and is the height of the seven equal isosceles triangles that make up the shape.

Circumradius

The distance from the center of the heptagon to any vertex. It is the radius of the circumscribed circle and is always larger than the apothem for a regular polygon.

Interior and exterior angle

Every interior angle of a regular heptagon is 900/7 ≈ 128.57 degrees and every exterior angle is 360/7 ≈ 51.43 degrees. These two angles always sum to 180 degrees for any regular polygon.

A regular heptagon can be pictured as seven congruent isosceles triangles that share a common center vertex. That picture is exactly what the apothem, circumradius, and area formulas are describing in coordinates.

According to Math Open Reference, this seven-triangle decomposition is the geometric intuition behind every regular heptagon identity.

For arbitrary n-gon measurements and irregular shapes, the Polygon Area Calculator applies the same trigonometric identities to any side count.

How to Use the Heptagon Calculator

Type a single value into the side-length field and the calculator updates the other measurements in real time. The whole workflow stays focused on one input, which is why it fits neatly into homework checks, layout sketches, and quick sanity tests on a draft drawing.

  1. 1 Enter the side length: Type the side length of your regular heptagon in the single input field. Use the same length unit you want the outputs in (meters, inches, feet, and so on).
  2. 2 Read the linked outputs: The results panel refreshes immediately to show area, perimeter, apothem, and circumradius. The output units automatically square for area and stay linear for the rest.
  3. 3 Check the units: Make sure the linear and area units match your project. If you typed meters, area is in square meters; if you typed inches, area is in square inches.
  4. 4 Copy the value you need: Use the area to size a heptagonal panel, the apothem to lay out the inscribed circle, or the circumradius to position the outer guide.
  5. 5 Reset to start over: Press the Reset button to restore the default side length of 7 and compare against a clean reference calculation.

Practical example: a stained-glass artist is cutting a regular heptagonal piece and settles on a side of 7.4 inches. Typing that value in gives an area of 198.9 square inches, a perimeter of 51.8 inches, an apothem of 7.68 inches, and a circumradius of 8.53 inches. The apothem tells the artist where the lead came should run and the circumradius gives the outer guide radius for the cutting jig.

If your project is a ten-sided regular polygon, the Decagon Area Calculator uses the same workflow with the 10/4 * cot(pi/10) area constant.

Benefits of Using the Heptagon Calculator

These are the practical reasons a heptagon calculator is worth keeping on hand instead of doing the trigonometry by hand every time.

  • Fewer rounding mistakes: Avoid stacking rounding errors from cot(pi/7), sin(pi/7), and the squared side length when you copy values between formulas.
  • All four measurements in one pass: Type the side once and the area, perimeter, apothem, and circumradius update together, so you do not have to chain trig steps on paper.
  • Consistent units: Linear and square units stay in lockstep, so the output is directly usable in your CAD file, worksheet, or pattern layout.
  • Auditable formulas: Each output traces back to a single named identity (P = 7s, A = (7/4)s^2 cot(pi/7), and so on) so you can verify the math by hand when needed.
  • Geometry-friendly defaults: The default side length of 7 matches the typical homework example and gives a quick cross-check against textbook tables.

If you are working on a related shape, the same solver pattern applies to our Hexagon Calculator and our Polygon Area Calculator. They are the closest peers in the math-conversion category.

For a generic area-from-shape tool that also handles circles, ellipses, and triangles, see the Area Calculator.

Factors That Affect Heptagon Results

Three things change every output and a few caveats to keep in mind before you trust the result.

Side length

Side length is the single variable that drives the heptagon. Doubling the side length quadruples the area, doubles the perimeter, and doubles both the apothem and the circumradius.

Regular versus irregular shape

The closed-form formulas only work for regular heptagons. An irregular heptagon with unequal sides or angles needs a triangle decomposition or a coordinate-based shoelace approach.

Unit system

The side-length unit carries through to the apothem, circumradius, and perimeter. The area unit is the square of that length, so mixing meters and square feet will give nonsense.

  • Side length must be strictly positive. A value of 0 collapses the heptagon, and the calculator returns 0 for every output in that case rather than throwing a divide-by-zero error.
  • Inputs are interpreted in double-precision floating point, so results above about 1e308 may lose precision. For typical engineering and homework values this is not a concern, but extreme inputs should be sanity-checked by hand.
  • The tool assumes a planar regular heptagon. Curved surfaces, three-dimensional solids, or heptagons drawn in non-Euclidean geometry need a different approach.

If you also need to measure an irregular seven-sided shape, our Irregular Polygon Area Calculator applies the shoelace formula to the coordinates of your vertices. For comparison with related regular polygons, the Decagon Area Calculator and the Dodecagon Area use the same pattern with different constants.

According to Wikipedia, a heptagon is a seven-sided polygon, and the regular form has interior angles of 900/7 ≈ 128.571 degrees.

When the heptagon is not regular, the Irregular Polygon Area Calculator applies the shoelace formula to your vertex coordinates instead of the closed-form heptagon identities.

Heptagon calculator with side length input returning area, perimeter, apothem, and circumradius for a regular heptagon
Heptagon calculator with side length input returning area, perimeter, apothem, and circumradius for a regular heptagon

Frequently Asked Questions

Q: What is the formula for the area of a regular heptagon?

A: The area of a regular heptagon is A = (7/4) * s^2 * cot(pi/7), where s is the side length. With cot(pi/7) = 2.0765214, the area simplifies to about 3.6339124 * s^2 in the same square units as s.

Q: How many sides does a heptagon have?

A: A heptagon has exactly seven sides and seven vertices. A regular heptagon makes all seven sides equal in length and gives each interior angle a value of 900/7 ≈ 128.57 degrees.

Q: What is the interior angle of a regular heptagon?

A: Each interior angle of a regular heptagon is 900/7 degrees, which is about 128.57 degrees. The exterior angle is 360/7 ≈ 51.43 degrees, and the two angles always sum to 180 degrees.

Q: How do you find the apothem of a regular heptagon?

A: The apothem is a = s * cot(pi/7) / 2. With cot(pi/7) = 2.0765214 this is about 1.0382607 times the side length, so a heptagon with side 7 has an apothem near 7.27 units.

Q: What input does the heptagon calculator take?

A: The heptagon calculator on this page takes a single side length and returns the area, perimeter, apothem, and circumradius. If you want to start from the area or apothem instead, the Heptagon Area Calculator accepts those values as inputs.

Q: How is the heptagon different from a hexagon or octagon?

A: A heptagon has seven sides, a hexagon has six, and an octagon has eight. The formulas are the same shape - one constant per polygon - so a hexagon uses 6/4 * cot(pi/6) for area while a heptagon uses 7/4 * cot(pi/7).