For a single story building, calculate the length x width x height (to roof deck) of the building. For a multi-story building, calculate length x width x height (to next floor) of each floor and add them together.
You cannot calculate the cubic feet in a multi-story building based on the interior volume alone as heat rises from floor to floor, reducing the amount of British thermal unites (BTUs) required on upper floors.