BedrockCalculator
Figures cited to primary sourcesWritten by Aapt Dubey, MBA (Marketing & Banking), ISB 4 primary sourcesLast updated

Polygon Area Calculator: Hexagon, Pentagon, Octagon and Ellipse

The Polygon Area Calculator: Hexagon, Pentagon, Octagon and Ellipse finds the area of a regular hexagon, pentagon, octagon or any regular polygon from one side, with apothem and angles, plus the area of an ellipse.

Quick Answer: A regular hexagon with 4 cm sides has an area of 41.5692 cm². For any regular polygon, the area is half the perimeter times the apothem, the distance from the centre to the middle of a side.

Assumptions

Computed

Preset scenarios

Area
41.5692 cm²
Shape
regular hexagon
Perimeter
24 cm
Apothem
3.4641 cm
Circumradius
4 cm
Each interior angle
120°
Each exterior angle
60°

Regular polygons with a side of 1

Download CSV
Each row is this calculator run on a regular polygon with a side of 1 and the number of sides shown. For a side of s, multiply the area by s squared and the apothem by s. Rounded to four decimal places.
SidesAreaApothemInterior angle (degrees)
30.4330.288760
410.590
51.72050.6882108
62.59810.866120
73.63391.0383128.5714
84.82841.2071135
96.18181.3737140
107.69421.5388144
1211.19621.866150
1620.10942.5137157.5
2031.56883.1569162

This table and its CSV are free to reuse with a link to this page, CC BY 4.0.

Area of a regular hexagon by side

Download CSV
Each row is this calculator run on a regular hexagon with the side length shown. The area is three times the square root of 3, over 2, times the side squared, rounded to four decimal places.
SideArea (unit squared)Apothem
12.59810.866
210.39231.7321
323.38272.5981
441.56923.4641
564.95194.3301
693.53075.1962
8166.27696.9282
10259.80768.6603
12374.12310.3923
15584.567112.9904
201,039.230517.3205
251,623.797621.6506

This table and its CSV are free to reuse with a link to this page, CC BY 4.0.

Polygon Area Calculator: Hexagon, Pentagon, Octagon and Ellipse: Area 41.5692 cm² (Shape: Regular polygon (all sides and angles equal); Number of sides (polygon): 6; Side length (polygon): 4; Length unit: Centimetres (cm)).

Save or share this result

A one-page summary of this calculator's default example, drawn from the same calculation as the result above.

The infographic is free to reuse with a link to this page, CC BY 4.0.

Illustration of an orange octagonal tile, a hexagonal honeycomb with a bee, a green sprig and an oval wooden mirror
Quick Answer: A regular hexagon with 4 cm sides has an area of 41.5692 cm². For any regular polygon, the area is half the perimeter times the apothem, the distance from the centre to the middle of a side.

What does this calculator do?

This polygon area calculator works out the area of any regular polygon from the number of sides and the length of one side: a pentagon, a hexagon, an octagon, or a shape with 20 or 100 sides. Alongside the area it gives the perimeter and each interior and exterior angle.

It also gives the apothem and the circumradius, the distance from the centre to a corner.

A second mode finds the area of an ellipse, or oval, from its two semi-axes, and estimates its perimeter.

"Regular" matters here. A regular polygon has every side the same length and every angle the same size, which is what makes one side length enough to fix the whole shape. A six-sided shape with uneven sides is still a hexagon, but its area depends on more than one measurement and this calculator does not cover it.

Lengths can be in any unit. The area comes back in that unit squared. Results are rounded to four decimal places for display, and the working runs at 34-digit precision with pi to the same number of digits.

Using the Polygon Area Calculator

  1. Choose a regular polygon or an ellipse.
  2. For a polygon, enter the number of sides and the length of one side. Five sides make a pentagon, six a hexagon, eight an octagon.
  3. For an ellipse, enter the semi-major axis a (half the longest width) and the semi-minor axis b (half the shortest).
  4. Pick the unit.

The presets load a pentagon with sides of 10, an octagon with 12 inch sides, and an ellipse with semi-axes of 5 and 3. Below the calculator, one table lists polygons from 3 to 20 sides with a side of 1, and another lists hexagon areas for sides from 1 to 25.

How is this calculated?

  1. Split into triangles. A regular polygon with n sides is n identical isosceles triangles meeting at the centre. Each has the side s as its base and the apothem as its height. The apothem comes from the tangent of half the central angle, 180°/n.

a = s/(2 tan(180^∘/n))

  1. Area. n triangles of area half s times a, which is half the perimeter times the apothem.

A = 1/2 ns a = 1/2P a

  1. Circumradius and angles. The circumradius uses the sine of the same half angle. Each interior angle is the total, (n − 2) × 180°, shared equally; each exterior angle is 360° shared equally.

R = s/(2 sin(180^∘/n)); θ_interior = ((n − 2) 180^∘)/n; θ_exterior = 360^∘/n

  1. Ellipse area. Pi times the two semi-axes, exactly. A circle is the case a = b.

A = πab

  1. Ellipse perimeter. There is no exact formula in elementary terms; the true value is an elliptic integral. The calculator uses Ramanujan's approximation, which is exact for a circle and very close for ordinary ovals, and labels the result as an approximation.

P ≈ π(a + b)(1 + 3h/(10 + √(4 − 3h))), h = ((a − b)²)/((a + b)²)

  1. Round for display to four decimal places, half up.

Worked Example

The default is a regular hexagon with 4 cm sides.

  1. Apothem: 4 ÷ (2 × tan 30°), 3.4641 cm.
  2. Perimeter: 6 × 4 = 24 cm.
  3. Area: half of 24 × 3.4641, carried at full precision, 41.5692 cm².
  4. Circumradius: 4 cm, the same as the side, which is special to the hexagon. Interior angles 120°, exterior angles 60°.

A regular pentagon with sides of 10 has an apothem of 6.8819, a perimeter of 50 and an area of 172.0477. Its interior angles are 108°.

A regular octagon with 12 inch sides covers 695.2935 in², with a perimeter of 96 in and interior angles of 135°.

An ellipse with semi-axes of 5 and 3 has an area of 15 pi, 47.1239, and a perimeter of about 25.527.

How Do You Find the Area of a Hexagon?

For a regular hexagon, multiply the side squared by three times the square root of 3, over 2, which is about 2.5981 times the side squared. The formula comes from the hexagon splitting into six equilateral triangles, each with the hexagon's side as its own side.

That is also why a hexagon's corners are exactly one side length from its centre. The hexagon table below the calculator gives areas for sides from 1 to 25; a side of 10 gives 259.8076.

How Do You Find the Area of a Pentagon?

Use half the perimeter times the apothem, as for any regular polygon, with the apothem equal to the side divided by twice the tangent of 36°. With a side of 1 the area is 1.7205, so for any regular pentagon, multiply 1.7205 by the side squared. The first table below the calculator lists that factor for every common polygon.

What Is the Area of an Octagon?

For a regular octagon, the area is twice (1 + √2) times the side squared, about 4.8284 times the side squared. An octagon with 12 inch sides covers 695.2935 square inches. A regular octagon can also be seen as a square with its four corners cut off at 45 degrees.

How Do You Find the Area of an Ellipse?

Multiply pi by the two semi-axes, A = πab. The semi-axes are half the full widths, measured across the longest and shortest directions through the centre. An ellipse 10 wide and 6 tall has semi-axes of 5 and 3 and an area of 47.1239.

What does this calculator not account for?

  • Irregular polygons. Unequal sides or angles need more measurements. Split the shape into triangles, find each with the triangle area calculator, and add them up, or use the coordinates of the corners.
  • Other starting measurements. The calculator starts from the side length. If you know the apothem or the distance across, work back to the side first.
  • Exact ellipse perimeter. The perimeter is an approximation, correct to many digits for ordinary ellipses but not exact for very long, thin ones.
  • Unit conversion. Lengths are not converted between units.

What mistakes do people make with this?

  • Using a full width as a semi-axis. For an ellipse, halve the width and the height before entering them.
  • Treating the apothem and the circumradius as the same. The apothem goes to the middle of a side; the circumradius goes to a corner and is longer.
  • Measuring across a hexagon wrongly. Across the flats is twice the apothem; across the corners is twice the side, which is noticeably longer.
  • Assuming a shape is regular. A stop-sign octagon is regular; a room with eight walls usually is not.
  • Angles in radians. The angles here are in degrees.

Frequently Asked Questions

What is a 6 sided shape called?

A hexagon. A regular hexagon, with six equal sides and six angles of 120 degrees, is the shape of a honeycomb cell and tiles a flat surface with no gaps.

What is the formula for the area of a regular polygon?

Half the perimeter times the apothem, A = ½Pa. It works for every regular polygon because each one is a ring of identical triangles around the centre.

What is the sum of the interior angles of a polygon?

(n − 2) × 180 degrees, for any polygon with n sides, regular or not, because any polygon can be cut into n − 2 triangles from one corner. In a regular polygon each angle is that total divided by n, which is the interior angle the calculator shows.

Why does a hexagon have an apothem of 3.4641 when the side is 4?

The apothem is the height of one of the six equilateral triangles that make up the hexagon, which is the side times the square root of 3, over 2.

Is a circle a polygon?

No: a polygon has straight sides. But a regular polygon with many sides gets very close to a circle, and its area approaches pi times the circumradius squared as the sides increase.

Can an ellipse have equal axes?

Yes. When a = b the ellipse is a circle, and the calculator names it one. Its area is pi a², and Ramanujan's perimeter formula gives the exact circumference.

Sources

Did this calculator answer your question?

How this calculator is tested

This calculator is checked by 8 automated test cases: specific inputs whose correct result is known in advance, and rules the output must always obey. They run on every change to the site. See the testing and corrections policy.

Show the test cases
  • Default: a regular hexagon with 4 cm sides is 41.5692 cm²
  • a regular pentagon with sides of 10 is 172.0477
  • a regular octagon with 12 in sides is 695.2935 in²
  • an ellipse with semi-axes 5 and 3: area 15 pi, perimeter by Ramanujan
  • an ellipse with equal axes is a circle
  • a square through the polygon formula matches side squared
  • refuses fewer than 3 sides and a missing side
  • builds the reference tables from compute()

Add This Website as Preferred Source on Google

See Bedrock Calculator first in your Search results & AI Overviews