Accommodation Tax in Berlin

How is the accommodation tax in Berlin calculated?
The accommodation tax in Berlin is calculated based on the total cost of all overnight stays. First, all nights are added together. Then, a percentage rate of 7.5% is applied to the total amount to determine the tax.