Greetings:

I assumed, in my calculations, that by 6 ft wide, you refer the distance between the centers of two opposite sides (not corner to corner). Thus your octagon will have the orientation of a stop sign (U.S.), i.e., horizontal top and bottom. (We often refer to half that distance as the apothem, vs radius, i.e., center to corner) This being the case, The length of each side must measure

6[sqrt2 - 1] ft or, in practical terms, 2 ft. 5 13/16 in (to the nearest 32nd inch).

If you require greater accuracy (nrst 64th, etc.), or additional information, do not hesitate to ask.

Regards:

Rich B.

PS: In the event that your 6 ft width is corner to corner (diameter), then each side should measure 2.2961...ft or, 2 ft., 3 9/16 in. with like accuracy. Enjoy.