Walk Unbuilt

Room Size Calculator and Bedroom Code Check

Enter a room's width, length and ceiling height. The calculator gives the square footage, checks the room against the International Residential Code minimums (70 sq ft, 7 ft in any direction, a 7 ft ceiling) and, for a bedroom, draws which bed sizes fit with walking space around them.

The room

Floor area

–

    What bed fits

    IRC minimums used by most US jurisdictions; local codes can be stricter. Walking space: 24 in tight, 36 in comfortable.

    The minimum room size rules

    Most US jurisdictions build on the International Residential Code (IRC). Its minimums for a habitable room (a bedroom, living room or den) are:

    • Floor area: at least 70 sq ft.
    • Width: at least 7 ft in any horizontal direction. A 6 ft by 12 ft room has 72 sq ft but still fails.
    • Ceiling: at least 7 ft over habitable rooms, hallways and bathrooms. Under a sloped ceiling, floor area where the ceiling is below 5 ft does not count toward the 70 sq ft.
    • Kitchens are exempt from the area and width minimums.

    A bedroom also needs an emergency escape opening: a window or door to the outside with at least 5.7 sq ft of clear opening (5.0 sq ft on a ground floor), at least 24 in high and 20 in wide, with the sill no more than 44 in above the floor. A room without one is not a legal bedroom, whatever its size.

    Local codes can be stricter. Check with your building department before you draw the plan.

    How the bed check works

    The calculator places each mattress with its headboard against a wall and checks the walking space left on both sides and at the foot. If it only fits with one side pushed against a wall, it says so: common in kids' rooms and guest rooms, awkward for two sleepers. 24 in is the tight minimum most designers use; 36 in is comfortable. Mattress sizes are the standard US sizes: twin 38 x 75 in, full 54 x 75 in, queen 60 x 80 in, king 76 x 80 in, California king 72 x 84 in. Frames and headboards add a few inches, so a tight fit on paper is tighter in the room. Doors, closets and windows also take wall space the calculator does not know about.

    FAQ

    What is the minimum size for a bedroom?

    Under the International Residential Code, a bedroom needs at least 70 sq ft of floor area, at least 7 ft in every horizontal direction, a ceiling of at least 7 ft and an emergency escape window or door. Local codes can require more.

    Can a 7 by 10 room be a bedroom?

    On size, yes: 7 ft by 10 ft is exactly 70 sq ft and meets the 7 ft minimum width under the IRC. It still needs a 7 ft ceiling and an emergency escape opening. No standard bed leaves 24 in of walking space on both sides, but pushed against one wall a twin, full or queen fits with 24 in on the open side and at the foot.

    What size room do you need for a queen bed?

    A queen mattress is 60 x 80 in. With 24 in of walking space on both sides and at the foot, the room needs about 9 ft by 8 ft 8 in; with a comfortable 36 in it needs about 11 ft by 9 ft 8 in.

    Does a bedroom legally need a closet?

    The IRC does not require a closet in a bedroom. Some local codes, appraisers and listing rules treat a closet as expected, so check locally before marketing a room as a bedroom.

    Related guide: How to Build a Bloxburg House in Real Life.