Skip to content

Online Regular Octagon Calculator

    Find the dimensions of a regular octagon from a measurement you already know. This octagon calculator gives its area, perimeter, side length, radii and diagonals.

    Shapes & measurements

    Regular Octagon Calculator

    Find the area, perimeter, diagonals and radii of a regular octagon from one known measurement.

    Your measurement

    Side length (a)
    units

    Use any consistent unit: for example, cm for lengths and cm² for area. Decimals and fractions such as 7 1/2 are accepted.

    Area

    —units²

    Enter a measurement, then calculate.

    Area = 2(1 + √2) × a²
    Perimeter = 8 × a

    A regular octagon has 8 equal sides and 8 equal interior angles. The circumradius reaches a vertex; the inradius (apothem) reaches the midpoint of a side at a right angle.

    A short diagonal skips one vertex; a medium diagonal skips two; the long diagonal joins opposite vertices. The diagram highlights your selected measurement and is not drawn to your entered scale. Answers are rounded for display; calculations use unrounded values.

    For octagon calculations on your phone, Unit Converter is free to download and includes an Octagon Calculator.

    How to use this tool

    1. Choose a Known measurement: side, perimeter, area, short, medium or long diagonal, circumradius, or inradius / apothem.
    2. Enter its value in a consistent length unit, using the corresponding square unit for area.
    3. Click Calculate to see the remaining regular-octagon dimensions.

    What is a regular octagon?

    A regular octagon is an eight-sided shape with equal sides and equal interior angles. Each interior angle is 135°. Lines from the center to neighboring corners divide the shape into eight equal triangles, each with a 45° angle at the center.

    These fixed proportions make it possible to find the whole shape from a single measurement. An octagon calculator can use a side, area, perimeter, radius or diagonal to find the remaining dimensions. This is useful when planning an octagonal panel, frame or floor layout from the dimension already specified in a drawing.

    Area and perimeter of an octagon

    The perimeter is the total distance around the eight edges. The area is the surface enclosed by those edges. Perimeter helps establish the length of a border; area describes how much surface an octagonal panel or floor covers.

    If a is the octagon side length, the perimeter P and area A are:

    P = 8a
    A = 2(1 + √2)a²

    The area of a regular octagon can also be found from its perimeter and apothem. The apothem, written r, is the perpendicular distance from the center to the midpoint of a side. In each of the eight triangles, the side is the base and the apothem is the height. Adding their areas gives:

    A = 8 × (ar ÷ 2) = Pr ÷ 2

    Lengths and perimeter use ordinary length units; area uses their square. A plan measured in meters therefore has an area in square meters. When the area is already known, rearranging the side-based formula gives a = √[A ÷ (2(1 + √2))].

    Inradius, circumradius and width across flats

    Two circles help describe the size of a regular octagon. The inner circle touches the midpoint of every side. Its radius is the inradius, another name for the apothem. The outer circle passes through all eight corners, and its radius is the circumradius.

    With side length a, inradius r and circumradius R:

    r = a(1 + √2) ÷ 2
    R = a√(4 + 2√2) ÷ 2

    The width across flats is the perpendicular distance between opposite parallel sides, equal to 2r = a(1 + √2). This is the width of a square that closely surrounds the octagon with four of its sides lying along the square’s edges.

    The distance between opposite corners is larger. It passes through the center and equals 2R, the diameter of the outer circle. A dimension marked across flats and one marked corner to corner therefore refer to different spans, even on the same octagon.

    The three diagonal lengths

    A diagonal joins two corners that are not next to each other. A regular octagon has 20 diagonals altogether, but only three different diagonal lengths:

    Short diagonal
    Skips one corner along the boundary. Its length is a√(2 + √2).
    Medium diagonal
    Skips two corners along the boundary. Its length is a(1 + √2), equal to the width across flats. The two measurements have the same length but different endpoints: this diagonal runs from corner to corner.
    Long diagonal
    Joins opposite corners through the center. Its length is a√(4 + 2√2), or twice the circumradius.

    The endpoints identify which diagonal a drawing gives. Counting the corners between them is more reliable than judging a line by its angle on the page.

    Laying out a regular octagon from a square

    A regular octagon can be drawn by marking off equal distances along both edges at every corner of a square, then joining each pair of marks. This removes four equal right triangles. Their sloping edges become four sides of the octagon, and the remaining portions of the square’s edges become the other four.

    Let B be the square’s side length and x the distance marked from each corner along an edge. A sloping edge has length x√2, while each remaining straight edge has length B − 2x. Making those lengths equal gives:

    x = B ÷ (2 + √2)

    The resulting octagon has side length a = B ÷ (1 + √2), and its width across flats is B. These relationships connect the size of the starting square to the finished outline.

    More tools: Browse all calculators and unit converters.

    Calculate octagon dimensions on your phone

    Keep the Octagon Calculator handy alongside Unit Converter’s other geometry tools. Download it free from the App Store or Google Play.

    Leave a Reply

    Your email address will not be published. Required fields are marked *