Hello and welcome to the octagon calculator, the ultimate tool for everything octangular. Here, we hope you will find a great tool for calculating the diagonals, perimeter, circumradius, inradius, and area of a regular octagon. In this octagon area calculator, you will also find the answers to the following questions: what is an octagon, how many sides does an octagon have, how to find the area of a regular octagon or how to draw an octagon.

We will review the octagon definition, discuss the octagon angles and how they affect the octagon shape. On top of all that, we will see a few examples of real-world octagons including octagon tiles, flooring, and the famous "Octagon house"".

Octagon definition: How many sides does an octagon have?

The standard definition of an octagon is something along the lines of: "An octagon is a polygon with 8 sides delimiting a closed area". Anyone with a basic understanding of Greek should be able to easily answer the question how many sides does an octagon have without any notions of mathematics. That is because "Octo-" in Greek means eight, so it is safe to assume an octagon has eight sides, or that an octopus has eight legs.

How many sides does an octagon have? 8 side, according to the octagon definition

We will dive a bit deeper into the Greek origin of the octagon shape when we talk about octagon angles, but, for now, let's stick to octagon sides. If someone asks "how many sides does an octagon have?" the answer is always the same, but if they ask about the length of those sides, there is not one answer we can give. Every side of an octagon can have different lengths and still be an octagon; there are no restrictions on that front. However, when all of an octagons internal angles and side lengths are the same, it is called a regular octagon and has special properties as we will see in the following sections.

Octagon angles: What is an octagon?

If we look at the origin of the word "Octagon" it comes from the Greek meaning "eight angles". The result of this is a polygon composed of eight vertices joined by eight straight lines. The eight sides are a necessary consequence of having eight angles. In fact, the standard octagon definition defines the octagon as having eight sides rather than eight angles, but you already know that both definitions are virtually the same. So the question what is an octagon? is equally well answered by saying "an eight-sided polygon" as well as "a polygon with eight angles".

Octagon angles and properties

While the sides of an octagon can have almost any length, the octagon angles are restricted. There is not a restriction imposed on each of the angles but on the sum of them. This is a geometric restriction since it would be impossible to join all eight sides together without following this rule. For any octagons, the sum of all of its internal angles is always 1080°.

This means that a regular octagon will have internal octagon angles of exactly 1080°/8 = 135° (if you prefer other units, feel free to use our angle converter). In our opinion, a regular octagon is much prettier than all other octagons. Later on in the text, we'll see how to find the area of an octagon and the tricks associated with a regular octagon.

Area of an octagon: How to find the area of a regular octagon?

If you want to know how to find the area of a regular octagon by hand, the easiest procedure is to apply the standard formula for the area of a regular polygon. The formula is the following:

area of regular polygon = perimeter * apothem / 2,

where the apothem is the distance for the center of the polygon to the mid-point of a side. The perimeter can be calculated a few ways: by summing up the length of each side, multiplying the length of one side by the number of sides, or, if you're feeling lazy, you can also use our perimeter of a polygon calculator.

regular octagon

A trick to remember this formula is to understand where it comes from. If you look at the apothem you can see that it's the height of a triangle made by taking a line from the vertices of the polygon/octagon to the center of it. The resulting triangle is what is called an isosceles triangle and its area is:

area of triangle = base * height / 2

as we explained in the triangle area calculator. Note that the base of the triangle is the length of a side of the octagon. Since there are as many of these triangles as the polygon has sides (eight for an octagon), you have to multiply the area of this triangle by the number of sides. You will obtain the total area of the octagon:

area of octagon = 8 * base * height / 2 = perimeter * apothem / 2.

These tricks work for any polygon, e.g., hexagons and any other polygon you can think of, as long as it is regular. Apart from using triangles, there are other tricks you can use to calculate the area of an octagon if you don't remember the formula, but they will not work for other polygons. For example, if you imagine an octagon shape inside of a square you can see that the difference is only four right triangles. "How to find the area of a regular octagon with this information?" you might ask. Well, it is very easy:

  1. Calculate the area of the square (the side is 2*apothem),
  2. Calculate the sides of the right triangles either by using the 45 45 90 triangle calculator or the fact that they are right isosceles triangles, and use the special right triangles calculator.
  3. Subtract the area of a right triangle four times from the area of the square,
  4. Enjoy success!

octagon in square

Alternatively, you can use this trick. If you organize the right triangles correctly, you can construct a square from all four of them. In this case, the hypotenuse is also the side of the octagon. Then you can calculate the area of the parallelogram you just made from the four right triangles, and subtract it from the area of the big square.

On top of these, you can get even more creative. For example, imagine that the octagon is composed by a rectangle with two trapezoids, with one above and below the rectangle. In this case, it will be much easier to calculate the area, since you only have to sum up the area of the rectangle plus double the area of one of the trapezoids, since both trapezoids are equal.

Diagonals of a regular octagon

In total, an octagon has 20 diagonals; the longest ones are on its axes of symmetry and they meet at the central point, O, which is also the origin of symmetry. There are three types of diagonals (take a look at the image above in the "Area of an octagon" section for reference):

  • Short diagonals, for example, AG, FH or CE;
  • Medium diagonals, such as AF or BE (also called the height of an octagon);
  • Long diagonals, for example, AE or BF.

You can derive the formula for each of them with ease using the basic principles of geometry. Here are the formulas for the length of the diagonals:

  • Short diagonal d = a * √(2 + √2)
  • Medium diagonal e = a * (1 + √2)
  • Long diagonal f = a * √(4 + 2√2).

If you're feeling lazy or find yourself in a rush, just use the octagon calculator.

Circumradius and inradius

We should also talk about the circumradius and the inradius. Our octagon area calculator is capable of finding the radii of the circumscribed and inscribed circles.

You can notice that the circumradius is simply half of the length of the longest diagonal:

R = f/2 = a / 2 * √(4 + 2√2)

Similarly, the inradius is the same as the apothem, which is just half of the octagon's height:

r = e/2 = a/2 * (1 + √2)

Octagon shape: How to draw an octagon?

It might seem easy to draw an octagon at first, and, in principle, it is. Just draw any shape with eight straight sides and you're done. But normally, what people want to draw is not any octagon, but a regular octagon, as its is the octagon shape that comes to mind first. So let's see how to draw an octagon as regularly and as easy as possible.

The most precise way would be to use proper drawing tools and start drawing the regular octagon shape one side at a time, joining them with the corresponding 135° regular octagon angles. But not everyone has such tools laying around so it is not a very practical method. To obtain the octagon shape we are looking for, it is best to start with its circumference, since it can be drawn by hand (not recommended) or by using a glass, cup or even a coin.

How to draw an octagon shape? use your imagination

With the circumference drawn, start dividing the corresponding circle area into halves. First, you will make two half-circles. Then, divide them in half again and get four quarter circles. Halve it once more and you end up with eight circle-eights. We can now take the points of division along the circumference and join the adjacent ones with a straight line. The result is a perfectly regular octagon, minus the human error you may make whilst drawing and halving.

Another how to draw an octagon trick would be the one we have already discussed when learning how to find the area of an octagon with squares. Start by drawing a big square and then 'chop off' its corners. The mathematical term for this procedure is truncating the square. If you do it right, you will get a regular octagon shape out of it. This method is not as precise as the previous one, but it's easier to perform without any tools at all.

How to use the octagon calculator

Using the octagon calculator is too complicated, but just in case someone might have any doubts and for the sake of completeness, let's go over the features and uses of this octagon area calculator. First of all, we should look at the different fields and what they mean.

  • Side Length - It is the length of each side of the regular octagon.
  • Perimeter - Sum of the length of all the sides of the octagon
  • Area - Space enclosed by the octagon itself
  • Longest diagonal - Length of the line joining 2 furthest vertices
  • Medium diagonal - Length of the line joining 2 vertices with 3 vertices between them
  • Shortest diagonal - Length of the line joining 2 vertices with 2 vertices in between them
  • Circumcircle radius - Radius of the circumference that contains all 8 vertices of the regular octagon
  • Incircle radius - Radius of the smallest circumference that is tangent to all 8 sides

Now that you know what each of the parameters means, it is time to see how to use the octagon calculator to easily obtain the values you are looking for. The best feature of this calculator is that it only requires one input to calculate the rest of the values. This is what makes the octagon calculator the fastest way to calculate any properties of an octagon, by a significant margin.

Octagons in real life: the octagon house

So far we have talked about the octagon definition and how to draw an octagon. We've seen pictures of octagons and even answered the (now obvious) question of how many sides does an octagon have. Now, it is time to see how octagons are used in real life. The octagon shape is easier to manufacture and use in designs than a circle, due to the flat sides and the octagon angles. We can often find octagon tiles as flooring or in a bathroom. There are even houses that have an octagon shape, most notably the famous "Octagon House".

The Octagon House is a house built in an octagonal shape in Washington D.C. in the USA. It was built for Colonel John Tayloe III. This is the reason, it's also known as Colonel John Tayloe III House. It follows the American "tradition" of naming buildings after their shape, as they did with the Pentagon. The Pentagon is the headquarters of the United States Department of Defence and was built in the shape of a regular pentagon.

The Octagon house has many interesting architectural features such a triangular service stairway, a bigger oval stairway and the obvious octagonal shape of the building. On top of such unique characteristics, there are several ghost stories surrounding the house, partly because the owner was an important figure in the early American history.

More real-world uses of Octagons: Octagon tiles and camera apertures

Like any regular polygon, the octagon shape turns out to be useful in many different applications. We have already talked about making houses in an octagonal shape and, sticking with buildings, octagons are particularly popular when it comes to flooring, mostly in the form of octagon tiles. The shape of a regular octagon means that we can combine octagon tiles and square tiles to completely fill the floor of any room, no matter its square footage. Using a different pattern in each type of tile, or by using different colors, this combinations would allow you to create a beautiful floor for your kitchen or bathroom. Just remember to use our tile calculator to assist you!

Octagon aperture in a camera

Another interesting use of octagons is inside photographic cameras. In particular, the shutter that protects the sensor from exposure to light when the camera is not in use. This shutter, or aperture, is always made following a regular polygonal shape, including the octagon shape. You can learn more about aperture and how to play with it to get more professional looking pictures with our aperture area calculator.

Before you head out to check that calculator we want to give you a quick tip/trick. When you see a picture of a bright source of light, you might have noticed that it looks like a star with a different number of pointy arm, depending on the camera. This is the key to figure out if your camera has an octagon aperture or not: the number of pointy arms is exactly equal to the numbers of sides of the polygon that makes up the aperture. And how many sides does an octagon have? Exactly! So you only need to look for 'star shapes' with 8 pointy arms and you'll know that this picture was taken using an octagonal aperture. It works every time - it's physics, and, more specifically, a diffraction pattern.

Álvaro Díez and Bogna Haponiuk.

Get the widget!

Octagon Calculator can be embedded on your website to enrich the content you wrote and make it easier for your visitors to understand your message.

It is free, awesome and will keep people coming back!

Octagon Calculator | Shape | Definition