Build your retirement plan for free.Explore Plan Builder →

Cost of Living by City Comparison Calculator

Enter the annual cost of living for two cities to compare their affordability, monthly cost gap, and long-term financial difference.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Name City A and City B

    Enter labels that make the locations easy to identify in the results.

  2. 2

    Enter each city's annual cost

    Use comparable annual budgets that include the same expense categories, such as housing, food, transportation, and utilities.

  3. 3

    Compare the cost gap

    The calculator shows the lower-cost city, annual and monthly differences, and simple five- and ten-year totals. Those longer totals do not include inflation or changes in spending.

Example Calculation

A household estimates annual living costs of $52,000 in City A and $61,000 in City B, using the same expense categories in both budgets.

City A Name

City A

City B Name

City B

City A Annual Cost ($)

52,000

City B Annual Cost ($)

61,000

Results

More Affordable City

City A

Annual Cost Difference

$9,000

Monthly Difference

$750

Cost Gap

17.3%

5-Year Cumulative Difference

$45,000

10-Year Cumulative Difference

$90,000

Tips

A $5,000 annual gap equals about $417 per month

Change City B Annual Cost to $57,000 while keeping City A at $52,000 to test a smaller relocation cost difference.

A reversed cost ranking changes which city is affordable

Set City A Annual Cost to $61,000 and City B Annual Cost to $52,000 to test the reverse case; the calculator identifies City B as less expensive.

Use matching expense categories before comparing

Add costs such as rent, transportation, and food to both city budgets, then change one total to see how omitted expenses affect the annual and monthly gaps.

What this calculator estimates

A city cost-of-living comparison measures the difference between two annual spending estimates. This calculator uses totals you provide; it does not supply city prices or adjust for taxes, income, household size, or lifestyle.

How the comparison works

Annual Difference = |City B Annual Cost − City A Annual Cost|
Monthly Difference = Annual Difference ÷ 12
Cost Gap (%) = Annual Difference ÷ City A Annual Cost × 100
5-Year Difference = Annual Difference × 5
10-Year Difference = Annual Difference × 10

The more affordable city is the one with the lower annual cost. City A is the percentage baseline, so the percentage can change if you reverse the city inputs even though the dollar difference remains the same.

For the example, $61,000 − $52,000 = $9,000 per year. Divide $9,000 by 12 to get $750 per month. The percentage gap is $9,000 ÷ $52,000 × 100 = 17.3%. If the annual difference stayed fixed, five years would total $9,000 × 5 = $45,000 and ten years would total $9,000 × 10 = $90,000.

How a different annual gap changes the comparison

The following examples keep City A at $52,000 and change City B. The percentage is calculated relative to City A.

City A annual cost City B annual cost Annual difference Monthly difference Cost gap
$52,000 $54,000 $2,000 $167 3.8%
$52,000 $57,000 $5,000 $417 9.6%
$52,000 $67,600 $15,600 $1,300 30.0%

These totals do not account for future rent increases, inflation, or changing household needs. For a relocation decision, compare a realistic monthly budget and expected income in each city rather than relying on a single percentage.

Build a comparable city budget

Use the same household size and expense categories for both places. A budget that includes rent in one city but not the other will distort the result. The Census Bureau's American Community Survey provides local housing and demographic data, while the BLS Consumer Expenditure Survey reports household spending patterns; neither replaces quotes for your specific rent, commute, insurance, or services.

To estimate a new city's monthly expenses from an index ratio, use the Cost of Living Calculator by City. For a city-specific salary comparison, use the Salary Equivalent by City Calculator.

When to use a different calculator

Frequently Asked Questions

How does this calculator compare cost of living between cities?

It subtracts the lower annual cost from the higher one, divides the annual gap by 12 for a monthly difference, and multiplies it by five and ten for simple cumulative totals. The percentage gap is measured relative to City A's annual cost.

Does the cost gap percentage depend on which city I enter first?

Yes, because the calculator divides the absolute difference by City A's cost. Swapping City A and City B can change the percentage even though the dollar gap stays the same, so read the percentage with its stated baseline.

Do the five- and ten-year totals account for inflation?

No, they multiply the current annual difference by five or ten without changing either city's costs. For projections that reflect rising costs, adjust the annual estimates or use an inflation scenario separately.

What costs should I include in each city's estimate?

Include the same categories in both totals, especially housing, utilities, food, transportation, health care, and taxes if they affect your budget. The BLS Consumer Expenditure Survey provides data on household spending categories, but your actual costs depend on your household and location.

Can this comparison tell me what salary I need after moving?

No, it compares expenses and does not account for taxes, benefits, or income. Use the [Salary Equivalent by City Calculator](/calculators/salary-equivalent-by-city-calculator/) to compare salary requirements, then check local housing data such as the Census Bureau's American Community Survey.