CCalclabhub

Everyday Life · 69 calculations

Travel

How To Calculate Hotel Cost

A hotel bill is more than the nightly rate on the booking page. There is the room subtotal, a percentage added in taxes and fees, and often a flat charge for extras on top. This calculation assembles those three pieces into a total and then divides back by the nights stayed to reveal the effective cost per night, which is the number that really lets you compare one hotel with another.

Last updated

Quick Answer

Total = nightly rate x nights x (1 + tax rate) + other charges

r
Nightly room rate
n
Number of nights stayed
p
Taxes and fees as a decimal rate (12 per cent = 0.12)
f
Flat additional charges

Multiply the nightly rate by the number of nights for the room subtotal. Taxes and fees are a percentage of that subtotal, so multiply the subtotal by the tax rate to find them, then add any flat extra charges to get the total. Dividing the total by nights gives the effective cost per night.

What Is Hotel Cost?

A hotel cost calculation builds the price of a stay from four inputs: the nightly room rate, the number of nights, a percentage for taxes and fees, and any flat extra charges. The starting point is the room subtotal, which is simply the rate multiplied by the nights. At 180 per night for three nights the subtotal is 540.0. Everything else in the calculation is derived from that one figure, so getting it right and stating its units clearly comes first.

Taxes and fees are expressed as a percentage of the room subtotal, not as a fixed amount. A rate of 12 per cent means twelve hundredths of the subtotal, or 0.12 as a decimal, and multiplying 540.0 by 0.12 gives 64.8. This is the step that catches people out, because the number on the bill is written as 12 rather than 0.12. Percent literally means per hundred, so the quoted figure must be divided by 100 before it can be used as a multiplier. Skipping that conversion would charge 12 times the subtotal instead of twelve hundredths of it.

Once the tax amount is known, the room charges come to the subtotal plus the tax, which here is 540.0 plus 64.8, or 604.8. An equivalent shortcut is to recognise that adding 12 per cent is the same as multiplying by 1.12: the original amount plus the tax in a single factor. Both routes lead to the same place, and the factor form is convenient when you want to see the total at a glance. What matters is that the percentage is applied to the room subtotal alone and to nothing else.

Many hotels add flat charges that do not scale with the tax percentage: a resort fee, a parking charge or a one-off booking supplement. In the worked case this is 45, entered as a lump sum. Adding it to the 604.8 of taxed room charges produces a total cost of 649.8000000000001. That long tail of decimals is simply what the arithmetic produces in binary floating point; it is not a typo and it does not mean the hotel has charged a strange fraction of a unit. For display you would round to two decimal places, but the underlying figure is left intact here so the calculation stays faithful to the engine.

Dividing the total by the nights stayed gives the effective cost per night, here 649.8000000000001 divided by 3, which is 216.60000000000002. This figure is more informative than the advertised nightly rate, because it folds in both the tax and the flat charges. A room advertised at 180 that carries high taxes and a resort fee can easily work out dearer per night than a room advertised at 200 with no extras. Comparing the effective per-night cost puts both offers on the same footing and stops the marketing rate from doing the deciding.

The relationship between the three monetary outputs is worth stating plainly. The room subtotal is rate times nights. Taxes and fees are that subtotal times the decimal tax rate. The total is the subtotal plus the taxes plus the flat charges, which can also be written as the subtotal times one plus the tax rate, plus the flat charges. Each quantity depends only on the inputs or on the subtotal, never on the final total, which keeps the structure easy to follow. The effective per-night figure is the only output that divides, and it recreates the rate once the tax and flat charges are spread evenly across the stay.

One subtle point concerns the flat charges and the tax. In this method the percentage is applied to the room subtotal before the flat charges are added, so the flat charges are not themselves taxed. Some jurisdictions tax certain extras and others do not, and the real bill will follow local rules. The model also assumes a single nightly rate for every night, a single tax rate for the whole stay and a flat charge that applies once. Weekend surcharges, seasonal pricing and per-night resort fees all break those assumptions, so a varied stay needs the nights priced individually and summed before the tax is applied.

The boundaries of the calculation are otherwise simple. It does not include meals, flights, transport at the destination or the cost of changing a booking, and it says nothing about deposits or cancellation terms. It treats the quoted tax rate as known, whereas the rate can differ sharply between cities and even between neighbouring hotels. Because the flat charges are entered as one lump, it also hides how those charges were built up. Used as a budgeting tool before you book, the result is reliable enough to compare options; used as a prediction of the exact figure on the final invoice, it is only as good as the inputs you supplied.

This calculation sits naturally alongside a few other travel numbers. A road trip cost uses a nightly hotel rate as one of its components and can reuse the effective per-night figure from here. A moving cost brings in lodging on a longer timeline, and a cost per mile calculation spreads a total journey expense across the distance driven. Recognising that the hotel subtotal is just rate times nights, the same multiplication that appears in those other tools, makes the whole family of travel budgets much easier to reason about and quicker to adjust when a single assumption changes.

Formula

Multiply the nightly room rate by the number of nights. This room-only figure is the base to which the tax percentage is applied.

SymbolMeaning
rNightly room rate
nNumber of nights
SRoom subtotal

The tax rate p must be the decimal form of the percentage, so 12 per cent enters as 0.12. Multiply the room subtotal by it to find the tax amount.

SymbolMeaning
SRoom subtotal
pTax rate as a decimal
TTaxes and fees amount

C = S x (1 + p) + f, per night = C / n

Formula page →

Add the tax to the subtotal using the factor one plus the tax rate, then add the flat charges. Divide the total by nights for the effective cost per night.

SymbolMeaning
fFlat additional charges
nNumber of nights
SRoom subtotal

How To Calculate Hotel Cost

  1. 1

    Find the room subtotal

    Multiply the nightly rate by the number of nights. At 180 per night for 3 nights the subtotal is 540.0. This room-only figure is the base for everything that follows, so use the rate you will actually pay and confirm how many nights you are staying.

  2. 2

    Convert the tax percentage to a decimal

    Taxes and fees of 12 per cent must be written as 0.12 before they can multiply anything. Dividing the quoted percentage by 100 is essential; using 12 directly would inflate the bill enormously. In the calculator the field is marked as a percentage and this division is done for you.

  3. 3

    Work out the taxes and fees

    Multiply the subtotal by the decimal tax rate: 540.0 times 0.12 gives 64.8. Equivalently, multiply the subtotal by 1.12 to get the taxed room charges of 604.8 in one step. Check the direction of the answer: the tax must be a small fraction of the subtotal, never larger than it.

  4. 4

    Add the flat charges for the total

    Add the flat extras, here 45, to the taxed room charges. That gives 540.0 times 1.12 plus 45, or 649.8000000000001. Remember that the long decimal tail is the true arithmetic result and should be preserved in the calculation, even though you would round it when printing a bill.

  5. 5

    Divide by nights for the effective cost per night

    Take the total of 649.8000000000001 and divide by 3 nights to get 216.60000000000002 per night. This is the figure to compare across hotels, because it spreads the tax and the flat charges evenly over the stay. A lower advertised rate need not mean a lower effective cost once those extras are included.

Examples

Example 1: Three nights at 180 with 12 per cent tax and 45 in extras

nightlyRate
180
nights
3
taxesAndFeesPercent
12
otherCharges
45
StepCalculationResult
Room subtotal180 x 3540.0
Tax rate as a decimal12 / 1000.12
Taxes and fees540.0 x 0.1264.8
Total cost540.0 x 1.12 + 45649.8000000000001
Effective cost per night649.8000000000001 / 3216.60000000000002

Result: The room subtotal is 540.0, taxes and fees are 64.8, and the total cost is 649.8000000000001, giving an effective cost per night of 216.60000000000002.

Example 2: Two nights at 200 with 10 per cent tax and no extras

nightlyRate
200
nights
2
taxesAndFeesPercent
10
otherCharges
0
StepCalculationResult
Room subtotal200 x 2400.0
Tax rate as a decimal10 / 1000.10
Taxes and fees400.0 x 0.1040.0
Total cost400.0 x 1.10 + 0440.0
Effective cost per night440.0 / 2220.0

Result: With no flat extras, the subtotal is 400.0, the tax is 40.0 and the total is 440.0, which works out at an effective 220.0 per night.

Example 3: Four nights at 120 with 15 per cent tax and 20 in extras

nightlyRate
120
nights
4
taxesAndFeesPercent
15
otherCharges
20
StepCalculationResult
Room subtotal120 x 4480.0
Tax rate as a decimal15 / 1000.15
Taxes and fees480.0 x 0.1572.0
Total cost480.0 x 1.15 + 20572.0
Effective cost per night572.0 / 4143.0

Result: The subtotal is 480.0 with 72.0 in tax, and adding the 20 flat charge brings the total to 572.0, an effective cost of 143.0 per night.

Calculator

Total cost

$649.80

Room subtotal
$540.00
Taxes and fees
$64.80
Effective cost per night
$216.60

Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.

Prefer a full-width tool? Open the Hotel Cost calculator page.

Common Mistakes

  • Adding the tax percentage as a flat amount

    Taxes and fees of 12 per cent do not mean adding 12 currency units. They mean adding twelve hundredths of the room subtotal. Divide the percentage by 100 before multiplying, or the charge will be wildly wrong.

  • Applying tax to the total rather than the subtotal

    The percentage applies to the room subtotal only, before any flat charges are included. Taxing the parking or resort fee as well overstates the bill under the assumptions used here. Keep the two categories separate until the final addition.

  • Forgetting the flat additional charges

    Resort fees, parking and similar extras can be a noticeable part of the bill and are easy to miss when you only look at the nightly rate. Enter them as a lump sum after the tax has been calculated, so the total reflects the whole cost.

  • Comparing advertised rates instead of effective per-night cost

    A cheaper room with high taxes and fees can cost more than a dearer one without them. Divide each total by the nights stayed and compare those effective figures; it is the only fair way to judge two offers on the same basis.

  • Assuming one rate covers every night

    Weekend surcharges and seasonal pricing mean nights are not always equal. When rates vary, price each night separately, sum them into a subtotal and only then apply the tax percentage, rather than multiplying a single average rate.

  • Rounding away the true total too early

    The exact arithmetic can produce a long decimal such as 649.8000000000001. Rounding it before dividing by nights changes the effective per-night figure slightly. Keep the full value during the calculation and round only the final displayed amount.

FAQ

What is the difference between the room subtotal and the total cost?

The room subtotal is just the nightly rate multiplied by the number of nights, with nothing else added. The total cost is that subtotal plus taxes and fees plus any flat extra charges. The subtotal is what the percentage is calculated on.

Why is the tax applied to the subtotal and not to the whole bill?

Under the model used here, taxes and fees are a percentage of the room charges only. Flat extras such as parking are entered afterwards and are not scaled by the tax rate. Local rules vary, so check the real invoice if an extra is taxable where you are staying.

How do I convert a percentage into a multiplier?

Divide the percentage by 100 to get a decimal, then add 1 if you want a single factor for the subtotal plus tax. A rate of 12 per cent becomes 0.12, and multiplying the subtotal by 1.12 gives the taxed room charges in one step.

What counts as a flat additional charge?

Anything charged once rather than as a percentage of the room: resort fees, parking, a booking supplement or a one-off service. It is entered as a lump sum and added after the tax, so it does not change with the number of nights in this method.

Why should I look at the effective cost per night?

It spreads the taxes and flat charges across the whole stay, giving one number you can compare between hotels. An advertised rate can be misleading, whereas the effective per-night figure shows what the room truly costs you once all the extras are folded in.

What if the room rate changes between nights?

Price each night at its own rate and add the amounts to form the subtotal, then apply the single tax percentage to that combined subtotal and add the flat charges. Dividing by the total number of nights then gives the correct average per-night cost.

References

  1. [1]Wikipedia, Hotel — https://en.wikipedia.org/wiki/Hotel
  2. [2]Wikipedia, Tax — https://en.wikipedia.org/wiki/Tax
  3. [3]Wikipedia, Percentage — https://en.wikipedia.org/wiki/Percentage