What is a diagonally bisected octagon?
A diagonally bisected octagon is one half of a regular octagon cut along its longest diagonal, the line through two opposite vertices. The half is a hexagon with four sides of the octagon (side a) and the cut d = 2R, where R is the octagon's circumradius; its height h, from the cut to the farthest vertex, is R.
How to use it
Choose what you know: the side length a, the cut length d, the area or the perimeter. The length unit is only a label: lengths come out in that unit and areas in its square. Each length you type must be from 0.000001 to 1,000,000,000 (boxes that allow 0 also accept 0), and each area from 0.000000000001 to 1,000,000,000,000,000,000; anything else, including text, is refused instead of being read as something else.
Derivation of the formulas
Join the centre to the vertices: the octagon splits into eight isosceles triangles with apex angle 45°, so
$$R = \frac{a}{2\sin(\pi/8)},\qquad d = 2R,\qquad h = R$$
The whole octagon has area \(2(1+\sqrt2)\,a^2\); the diagonal through two opposite vertices is an axis of symmetry, so each half has
$$A = (1 + \sqrt2)\,a^2,\qquad P = 4a + d$$
The angles at the ends of the cut are half of the octagon's 135°, that is 67.5°; the three others stay 135°. From another known value the side is solved first: \(a = d\sin(\pi/8)\), \(a = \sqrt{A/(1+\sqrt2)}\) or \(a = P/(4 + 1/\sin(\pi/8))\).
Worked example
The page opens with side length a = 5. Then area A = 60.355339; perimeter P = 33.06563; cut length d = 13.06563; height h = 6.532815 (shown to at most six decimals; see the precision note in the FAQ).
FAQ
How is it different from the straight bisected octagon?
The straight cut runs through the midpoints of two opposite sides, so it is shorter, (1 + √2)a instead of 2R, and each half has three full sides and two half sides. The areas are equal: each is half the octagon.
Is the height the same as the circumradius?
Yes. The vertex opposite the middle of the cut lies on the circumcircle, at distance R from the centre, which is the midpoint of the cut.
Why does the unit not change the numbers?
The calculator does not convert between units. Every length is read in the unit you chose, so the unit only labels the results; areas come out in that unit squared.
How precise are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable. The page shows up to six decimals; a value too small or too large for that is written out as a plain number instead.
References
Zwillinger, D. (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., 2018
Coxeter, H. S. M., Introduction to Geometry, 2nd ed., 1969