To be considered a "bedroom," a room must be at least eight feet wide and eight feet tall, as well as have a window that opens to the street, a garden, or a courtyard. The same may be said for any number of bedrooms. If there is no window, it is not a true bedroom. Bathrooms also require space of at least six feet by nine feet. In most cases, if there are three walls and a floor, then it's a room. Two walls and a ceiling would still leave enough space for someone to stand up inside. But a garage that functions as a living room would not be considered a bedroom because there are no rooms beyond it. A basement can be considered a room if it has a door that leads out into the world and another door (or window) that allows light into it. Rooms can be subdivided into other rooms. For example, a room with two beds in it is technically a bedroom, but a bedroom could be divided into two separate spaces by a wall-mounted closet or dresser. In this case, both rooms would need to be at least six feet wide and eight feet tall to meet the requirements for a bona fide bedroom. Some apartments have one-room layouts where there is only space for a bed and a bathroom. These are usually found in small apartments or studio apartments, but they can be done legally in larger ones too.