Regular octagon calculator
This tool calculates the basic geometric properties of a regular octagon. Regular polygons are equilateral (all sides equal) and also have all angles equal. The tool can calculate the properties of the octagon, given either the length of its sides, or the inradius or the circumradius or the area or the height or the width. Enter below the shape dimensions. The calculated results will have the same units as your input. Please use consistent units for any input.
Known data (select):
Edge α =
Height h =
Width w =
Interior φ =
Central θ =
Table of contents
Octagon is a polygon with eight sides and eight vertices. An octagon, like any other polygon, can be either convex or concave, as illustrated in the next figure. A convex octagon has none of its interior angles greater than 180°. To the contrary, a concave octagon (or polygon) has one or more of its interior angles greater than 180°. An octagon is called regular when its sides are equal and also its interior angles are equal. Having only the sides equal is not adequate, in that matter, since the octagon may be concave, with equal sides. As demonstrated in the figure below, many possible concave octagons can be defined, with equal sides, but unequal interior angles. These octagons are called equilateral. Any octagon that is not regular is called irregular.
The sum of the internal angles of any octagon, either convex or concave is always 1080°. This can be easily be concluded by finding out how many triangles can be fitted inside the octagon. To do so, we have to connect all vertices through straight lines, avoiding any intersections. This way, exactly six triangles can be defined inside the octagon. The vertices can be connected in different ways (resulting in different triangles), however the number of triangles remains constantly six. Since the sum of internal angles in one triangle is 180°, it is concluded that 6 triangles, side by side, should measure up to 6x180=1080°.
Properties of regular octagons
The regular octagon features eight axes of symmetry. Half of them pass through diagonally opposite vertices and the remaining ones, pass through the midpoints of opposite edges.
Interior angle and central angle
Regular octagons have equal interior angles by definition. Since there are eight of them, in total, it can be concluded that each interior angle should be equal to:
The central angle , is the angle between two successive diagonals of the regular octagon (that is lines connecting opposite vertices). There are eight central angles, totally, around a common center of the octagon (where all the diagonals are met), therefore each one should be:
The remaining two angles in the internal triangle, that is formed by two successive diagonals and the side of octagon, are equal to 67.5°. These are indeed , because the diagonals of the octagon are also axes of symmetry, thus bisecting interior angle (which is 135°).
It is worthy to mention, that the interior and central angles are supplementary, since their sum is 180°:
Circumcircle and incircle
Like any regular polygon, a circle can be drawn that passes through all eight vertices of the octagon. This is the cirmuscribed circle or circumcircle. The center of this circle is the center of the octagon. Likewise, the diagonals of the octagon are diameters of the circumcircle. The radius of circumcircle is usually called circumradius.
Another circle can also be drawn, that passes through the midpoints of the octagon edges. This circle is called inscribed circle or incircle. The radius of incircle is usually called inradius. The incircle is tangent to all eight edges and its center is the same with that of the circumcircle.
The radius of circumcircle, , and incircle, , are related to the length of the edges, . These relationships can be discovered using the right triangle, with sides: the circumradius, the inradius and half the octagon edge, which is shown in the next figure. Using basic trigonometry we may find:
where the central angle and the side length. It turns out that these expressions are valid for any regular polygon, not just the octagon. Specific expressions for the regular octagon can be derived by setting θ = 45°, the value of the central angle. These expressions are:
Using the following trigonometric constants for the sine, cosine and tangent:
the equations for the circumradius and inradius of the regular octagon can be expressed in this alternative form:
Approximate expressions for the circumradius and inradius of the regular octagon are given below:
Area and perimeter
The total area of a regular octagon can be divided into 8 identical isosceles triangles, as indicated in the figure below. The height of any of these triangles, perpendicular to the octagon edge , is indeed a radius of the incircle, therefore its length is equal to . Therefore, the area of each triangle is , and as a result, the total area of the eight triangles becomes:
Alternatively, using the trigonometric constant , the octagon area can be expressed this way:
An approximate expression for octagon area is:
The perimeter of any N-sided regular polygon is simply the sum of the lengths of all edges: . Therefore, for the regular octagon, with 8 edges:
The bounding box of a planar shape is the smallest rectangle that encloses the shape completely. The dimensions of this rectangle are defined by the height and the width . The following drawing illustrates the bounding box of a regular octagon. Both the height and the width are defined as the distance between two opposite edges. Due to symmetry, height and width are equal, and as a result the bounding box is actually a square.
Height and width
The height and width of the regular octagon are equally defined as the distance between two opposite edges. This length is equal to twice the inradius :
Using the respective analytical expressions for inradius (see previous section) we get:
which is approximated to:
How to draw a regular octagon
You can draw a regular octagon, given its circumradius , using only a ruler and a compass. Follow the steps described below:
- First just draw a line (a bit larger than the wanted diameter of the circumcircle).
- On that line mark two points: one is the center of the polygon (point O), and the other is a point of its circumcircle (point A). Draw a circle around the center point, with radius, , the circumradius. This is the circumcircle. Mark another point where the circumcircle intersects with the line (point B).
- Then construct a circular arc, having its center at point A, and radius a bit larger than .
- Also a circular arc, having its center at point B, and same radius with step 3. Mark the two points, where the two arcs intersect. Hint: extent the second arc quite beyond the intersection points.
- Draw a line, passing through the intersections of the two arcs from the last step (also passing through the center point O) and mark two more points, C and D, where this line intersects with the circumcircle (drawn at step 2).
- Using the same radius, as in step 4, place the tip of the compass on point C and construct a new circular arc, marking its intersection with the circumcircle.
- Repeat the same procedure, this time placing the tip at point D, and marking a new intersection point with the circumcircle.
- Draw a line, passing through the intersection point marked in step 6 and the center point O. Mark the two points, E and F, where this line intersects with the circumcircle.
- Draw a line, passing through the intersection point marked in step 7 and the center point O. Mark the two points, G and H, where this line intersects with the circumcircle.
- Eight points have been defined so far around the circumcircle, A, B, C, D, E, F, G, H. These are the vertices of the octagon. Draw linear segments between them and the regular octagon is now complete.
The following figure illustrates the drawing procedure step by step. Note, that compass opening remains the same from step 3 and forward. There is only a change (increase) between steps 2 and 3.
Determine the circumradius, the inradius and the area of a regular octagon with side length .
The circumradius and the inradius, in terms of the side length , for the regular octagon, have been derived in the previous sections. They are:
Therefore, we have to simply substitute . Doing so we find the circumradius:
and the inradius:
The area of a regular octagon is given by the equation:
Substituting we find:
What is the edge length of the following regular octagons:
- having area
- having height
- having circumradius
1. Regular octagon with given area
The area of a regular octagon , in terms of the side length , is given by the equation:
Since we are looking for , we have to rearrange the formula:
From the last equation we can calculate the required side length , if we substitute :
(To solve this problem we could perfectly use the equivalent expression for the area of the octagon: ).
2. Regular octagon with given height/width
The height (and the width) of the regular octagon is related to the side length with the equation:
Then we can calculate the required side length , if we substitute :
(Alternatively, we could perfectly use the equivalent expression for height: ).
3. Regular octagon with given circumradius
The circumradius of the regular octagon is related to the side length with the formula:
From the last equation we can calculate the required side length , if we substitute :
(Alternatively, we could perfectly use the equivalent expression for circumradius: ).
Regular octagon cheat-sheet
In the following table a concise list of the main formulas, related to the regular octagon is included. Also some approximations that may prove handy for practical problems are listed too.
Regular octagon quick reference