What is a straight bisected octagon?
A straight bisected octagon is one half of a regular octagon cut straight across through the midpoints of two opposite sides. The half is a hexagon: three full sides a, two half sides a/2 at the ends of the cut, and the cut l, which is the octagon's width across flats (twice the inradius). Its height h, from the cut to the opposite side, is l/2.
How to use it
Choose what you know: the side length a, the cut length l, 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
The inradius of a regular octagon is \(r = \dfrac{a}{2\tan(\pi/8)}\) and \(\tan(\pi/8) = \sqrt2 - 1\), so
$$l = 2r = (1 + \sqrt2)\,a,\qquad h = r = \frac{(1+\sqrt2)\,a}{2}$$
The cut is an axis of symmetry, so the half has half the octagon's area, and its outline is four side lengths plus the cut:
$$A = (1 + \sqrt2)\,a^2,\qquad P = 3a + 2\cdot\tfrac{a}{2} + l = (5 + \sqrt2)\,a$$
The cut meets the two halved sides at right angles; the other four angles stay 135°.
Worked example
The page opens with side length a = 5. Then area A = 60.355339; perimeter P = 32.071068; cut length l = 12.071068; height h = 6.035534 (shown to at most six decimals; see the precision note in the FAQ).
FAQ
Why is the area the same as for the diagonal cut?
Both cuts pass through the centre along a line of symmetry, so each splits the octagon into two congruent halves.
What is the width across flats?
The distance between two parallel opposite sides of the octagon, l = (1 + √2)a; it is the length of the straight 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