Bunk beds save floor space in a kids’ room, but the top bunk sits high, and the gap between the top mattress and the ceiling is what decides whether a child can sit up without bumping their head. This calculator stacks up the heights of a bunk bed so you can check it before you buy or build one.
How the calculation works
- Top deck height = bottom deck height + mattress thickness + sitting room on the bottom bunk + top frame thickness
- Top mattress surface = top deck height + mattress thickness
- Headroom = ceiling height − top mattress surface
- Guardrail top = top deck + mattress thickness + guardrail height above the mattress
- Ladder rungs = top deck height ÷ 12 in, rounded up
Under an 8 ft (96 in) ceiling, a bunk bed with a 12 in bottom deck, 6 in mattresses, 33 in of sitting room and a 2 in frame puts the top deck at 53 in and the top mattress at 59 in. That leaves 37 in of headroom. A guardrail reaching 5 in above the mattress tops out at 64 in, and a ladder needs about 5 rungs.
What headroom do you need?
| Headroom above the top mattress | What it allows |
|---|---|
| Under 30 in | lying down only, risky for a child sitting up |
| 30 to 36 in | a young child can sit up |
| 36 in or more | comfortable reading in bed |
If the headroom is short, use thinner mattresses (a 5 in mattress gains 2 in over two bunks), a lower bottom deck or a low loft bed instead.
Safety rules
US safety rules for bunk beds (CPSC and ASTM F1427) cover the essentials:
- Guardrails on both sides of the top bunk, with the top of the rail at least 5 in above the mattress surface.
- Gaps in the guardrail and at the ends must be small enough that a child’s head cannot get trapped (about 3.5 in or less).
- Use the mattress size the maker states, so there is no gap between mattress and frame.
- No child under 6 years on the top bunk.
Also keep the bed away from ceiling fans, windows and light fixtures, check the bolts every few months, and make sure the ladder is fixed firmly to the frame. Rungs about 12 in apart suit most children.