Key facts
- Area of a regular octagon: A = 2(1 + √2) s² ≈ 4.8284 s².
- An octagon with side 10 has area ≈ 482.84, apothem ≈ 12.071 and circumradius ≈ 13.066.
- Width across the flats: w = (1 + √2) s ≈ 2.4142 s. From the width, A = 2(√2 − 1) w² ≈ 0.8284 w².
- Each interior angle is 135°; the eight angles add up to 1,080°.
- An octagon has 20 diagonals in three different lengths.
Octagon formulas
For a regular octagon with side s:
A = 2(1 + √2) s² ≈ 4.8284 s²Apothem a = (1 + √2) s ÷ 2 ≈ 1.2071 sCircumradius R = s ÷ (2 sin 22.5°) ≈ 1.3066 sWidth across flats w = 2a = (1 + √2) sPerimeter P = 8sHow to use the octagon calculator
- Choose what you know: side, apothem, circumradius, area or perimeter. If you have the width across the flats, enter half of it as the apothem.
- Enter the value and optionally a unit.
- Read the area, side, perimeter, apothem, circumradius, angles and diagonal count.
Worked examples: octagons
Example 1: from the side
Side 10 in. A ≈ 4.8284 × 100 = 482.84 in². The apothem is about 12.07 in, so the octagon is about 24.14 in across the flats.
Example 2: a stop sign
A stop sign 30 in across the flats has apothem 15 in and side 30 ÷ (1 + √2) ≈ 12.43 in. Its area is 0.8284 × 30² ≈ 745.6 in², about 5.18 ft².
Example 3: an octagonal deck
You want a deck 4 m across the flats. The side is 4 ÷ 2.4142 ≈ 1.657 m, the perimeter is about 13.25 m and the area is 0.8284 × 16 ≈ 13.25 m². Each frame piece is mitred at 22.5° at both ends.
Example 4: from the apothem
An octagon with apothem 5 has side ≈ 4.142 and area ≈ 82.84.
Octagon measurements at a glance
| Measurement | In terms of side s |
|---|---|
| Area | 4.8284 s² |
| Perimeter | 8 s |
| Apothem | 1.2071 s |
| Circumradius | 1.3066 s |
| Width across flats | 2.4142 s |
| Width across corners | 2.6131 s |
| Interior angle | 135° |
| Exterior angle | 45° |
Cutting an octagon from a square
Start with a square of side w and cut off each corner as an isosceles right triangle with legs s ÷ √2 ≈ 0.2929 w. The result is a regular octagon with side s = w ÷ (1 + √2). This is the quickest way to mark out an octagonal table top or planter from square stock.
Diagonals
From any corner of an octagon you can draw five diagonals, in three lengths: about 1.848 s (skipping one corner), 2.414 s (skipping two, the same as the width across flats) and 2.613 s (to the opposite corner). Altogether there are 8 × 5 ÷ 2 = 20 diagonals.
Mistakes to avoid with octagons
- Confusing the width across the flats with the width across the corners.
- Using the side as the radius; unlike a hexagon, an octagon’s circumradius is larger than its side.
- Cutting mitre joints at 45° instead of 22.5° per piece for an octagonal frame.
For other shapes with equal sides, use the regular polygon calculator, the hexagon calculator or the pentagon calculator.
The octagon on every street corner
The world’s most familiar octagon is the stop sign. The US adopted the eight-sided shape in the early 1920s, when highway officials chose shapes by danger level and gave the octagon to the most important instruction, so drivers could recognize it even from behind or when covered in snow. It was standardized as red with white letters in the US Manual on Uniform Traffic Control Devices in 1954, and the 1968 Vienna Convention on Road Signs and Signals made the red octagon the international standard.
Octagons also appear in architecture and sport. The Tower of the Winds in Athens, built around 50 BCE, is an octagonal marble clock tower with a relief of a wind god on each face; the Dome of the Rock in Jerusalem stands on an octagonal base; and the Ultimate Fighting Championship fights in an eight-sided cage it calls the Octagon. A regular octagon can be made by cutting the corners off a square: if the square’s side is a, each cut removes a right isosceles triangle with legs a ÷ (2 + √2). Octagons and squares together tile the plane, a pattern common in floor tiles. For any regular shape, use the regular polygon calculator; for six sides, the hexagon calculator; and for areas in general, the area calculator.
How this calculator works
- Area of a regular 8-gon with side s: A = 8 × s² ÷ (4 × tan(180° ÷ 8)).
- From any one measurement (side, apothem, circumradius, area or perimeter), the others are worked out.
- Interior angle = (8 − 2) × 180° ÷ 8; exterior angle = 360° ÷ 8; number of diagonals = 8 × (8 − 3) ÷ 2.
- Assumes all sides and angles are equal; irregular shapes need splitting into triangles.
Frequently asked questions
What is the formula for the area of an octagon?
For a regular octagon, A = 2(1 + √2) × s², about 4.828 times the side squared.
What is the area of an octagon with side 10?
About 482.84 square units.
How do I find the area from the width?
If w is the width across the flats, A = 2(√2 − 1) × w², about 0.8284 w².
What is the interior angle of an octagon?
135°. The eight angles add up to 1,080°.
How many diagonals does an octagon have?
Twenty.
How do I find the side of an octagon from its width?
Divide the width across the flats by 1 + √2, about 2.414.
What angle do I cut for an octagon frame?
Each piece is mitred at 22.5° at both ends so the joints meet at the 135° corners.
What shape is a stop sign?
A regular octagon.