Bed nights is calculated by dividing the number of beds occupied by the total number of beds in a hotel and multiplying the result by 100 to get the percentage. For example, if a hotel has 10 double rooms and there were 5 single guests staying at some point, the occupancy rate (or room occupancy) would be 50 percent.