Octagon Calculator

How we build and test

Enter the one dimension of a regular octagon you know, the width across the flats, the length of a side or the width across the corners, to get all the others along with the perimeter, the area and the miter angle for the joints.

in

Gives the short point length of each of the eight boards.

Side length

Enter the dimension you know.

What this calculator does

  • Side length of an octagon from the width across flats or corners
  • Perimeter, area and the corner cut from a square
  • Miter angle and the short point of each board for a frame

How to use the octagon calculator

  1. Choose the dimension you know. Width across flats is measured from the middle of one side straight across to the opposite side. It is the size of the square the octagon fits inside.
  2. Enter the measurement and pick its unit.
  3. If you are building a mitered frame, such as a window surround, a planter rim or the border of a deck, enter the board width to get the short point length of each piece.

Formulas

Side = width across flats × (√2 − 1) = width across flats × 0.4142
Width across flats = side × (1 + √2) = side × 2.4142
Width across corners = side × √(4 + 2√2) = side × 2.6131
Perimeter = 8 × side
Area = 2 × (1 + √2) × side² = 4.8284 × side²
Corner cut from a square = (width across flats − side) ÷ 2
Short point of a frame board = side − 2 × board width × tan 22.5°

These are exact results for a regular octagon, one with eight equal sides and eight equal angles. Each inside corner is 135°. Two boards meeting at a corner are each cut at half of the 45° turn, which is 22.5° on a miter saw scale. The side length is the long point to long point length of each board in a frame.

Worked example: an octagon 8 ft across the flats

  1. Side: 8 × 0.4142 = 3.3137 ft, which is 39.76 in, or 3 ft 3 3/4 in.
  2. Across corners: 3.3137 × 2.6131 = 8.659 ft, or 8 ft 7 15/16 in.
  3. Perimeter: 8 × 3.3137 = 26.51 ft, or 26 ft 6 1/8 in.
  4. Area: 4.8284 × 3.3137² = 53.02 ft².
  5. Corner cut: (8 − 3.3137) ÷ 2 = 2.343 ft, or 2 ft 4 1/8 in in from each corner of an 8 ft square.

Octagon sizes

Across flats Side Across corners Area
4 ft 1 ft 7 7/8 in 4 ft 3 15/16 in 13.25 ft²
6 ft 2 ft 5 13/16 in 6 ft 5 15/16 in 29.82 ft²
8 ft 3 ft 3 3/4 in 8 ft 7 15/16 in 53.02 ft²
10 ft 4 ft 1 11/16 in 10 ft 9 7/8 in 82.84 ft²
12 ft 4 ft 11 5/8 in 12 ft 11 7/8 in 119.29 ft²

Laying out an octagon

The easiest way to mark an octagon on a deck frame, a slab form or a sheet of plywood is to start with a square as wide as the octagon across its flats. Measure the corner cut distance in from each corner along both edges and make a mark. Join the two marks at each corner with a straight line. The four lines you draw and the four pieces of the square left between them are the eight sides. Check the layout by measuring the sides: all eight should match the side length.

For a frame or a ring of boards, cut both ends of every board at 22.5° with the long points one side length apart. Cut a test pair from scrap first. An error of half a degree at each cut adds up to 8° around sixteen cuts, enough to leave the last joint open.

Questions

How do I find the side length of an octagon?

Multiply the width across the flats by 0.4142. An octagon 8 ft across has sides of 3.314 ft, or 3 ft 3 3/4 in. If you know the width across the corners, multiply it by 0.3827.

What angle do I cut boards for an octagon?

Set the miter saw to 22.5° and cut both ends of each board. Two 22.5° cuts make each 45° turn, and eight turns bring the frame back to the start. The inside corner between two sides is 135°.

How do I calculate the area of an octagon?

Multiply the side length squared by 4.8284, or the width across the flats squared by 0.8284. An octagon 8 ft across covers 53.02 ft², about 83% of the 64 ft² square around it.

How do I turn a square into an octagon?

Measure in from each corner by 0.2929 times the width of the square, along both edges, and cut across between the marks. On an 8 ft square the marks are 2 ft 4 1/8 in from each corner.

Sources

  1. Weisstein, Eric W., Regular Octagon, MathWorld, a Wolfram Web Resource.
    Used for: the inradius, circumradius and area of a regular octagon in terms of its side a, including area = 2(1 + √2) a².

Related calculators