The second most common size used on beds (especially old beds) is 5/16th; this is an imperial size.
If you have tried using a standard M8 headboard bolt on your bed but it has failed to bolt; this is most probably the bolt you require
- 5/16th Imperial Thread (British Standard Whitworth (BSW)
- 2" (50mm) Length
- Thumbwheel with a slot