Glad you asked...
To calculate the percentage of a building which is occupied, take the number of occupied rooms and divide it by the total number of rooms available, this gives you the percentage of occupancy.
Then again, this answer might help you...
Occupancy rate is calculated by the percentage of all rental units occupied or rented at a given time divided by the total rental units available.

