Maximum occupancy is determined based on a combination of building codes, facility specifications, and user-defined inputs. To calculate maximum occupancy, divide the area of the room by the prescribed unit of area per person.