Rent apportionment is calculated by dividing the total rent by the number of days in the rental period and then multiplying by the number of days each party is responsible for the rent. This ensures each party pays their fair share based on occupancy.