Chord if you go to this webpage you will find the formula for finding the length of a chord of a circle in terms of its central angle and radius: .

Now for an octagon the sides and diagonals are subtended by

.

That will give the four length you need.