Irregular Octagon calculator

Calculator and formulas for calculating an irregular octagon


This function calculates various parameters of an irregular octagon (stretched octagon). An irregular, stretched octagon is an eight-sided polygon that doesn’t have equal side lengths.

The interior angles are all equal and have 135°. The slanted edges between a and b have the same length as a. In other words, there are 2 sides with length b and 6 sides with length a.

To perform the calculation, enter the lengths a and b. Then click the "Calculate" button.


Irregular octagon calculator

 Input
Short side a
Long side b
Decimal places
 Results
Length l
Height h
Diagonal d
Perimeter U
Area A


achsensymmetrisches Fünfeck

Formulas for irregular octagon


Side length (\(\small{l})\)

\(\displaystyle l=a·(1+\sqrt{2})+b-a \)

Height (\(\small{h})\)

\(\displaystyle h=a·(1+\sqrt{2})\)

Diagonal (\(\small{d})\)

\(\displaystyle d=\sqrt{l^2+a^2}\)

Perimeter (\(\small{P})\)

\(\displaystyle P=6·a+2·b\)

Area (\(\small{A})\)

\(\displaystyle A = 2 · a^2 · ( 1 + \sqrt{2} ) + h · ( b - a )\)


More polygons

TriangleSquarePentagonHexagonHeptagonOctagonNonagonDecagonHendecagonDodecagonHexadecagonN-GonPolygon ringConcave hexagonAxial Symmetric PentagonIrregular, stretched HexagonIrregular, stretched OctagonPentagramHexagramOctagramStar of Lakshmi


Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?