Can I Afford to Live in Harrisburg vs Nairobi on $40K?

Here's how a $40K/year salary plays out in both cities after taxes, rent, and core living expenses โ€” based on Q1 2026 data.

Harrisburg, PA
$2,625/mo take-home
Rent: $1,250/mo (48% of take-home)
Difficult
Nairobi, KE
$1,728/mo take-home
Rent: $500/mo (29% of take-home)
Manageable
Share on X

Monthly budget breakdown

Harrisburg
PA
Nairobi
KE
Monthly take-home (est.)
$2,625Best โœ“
$1,728
1BR rent
$1,250
$500Best โœ“
Groceries (est.)
$372Best โœ“
$380
Transport (est.)
$72Best โœ“
$150
Utilities
$175
$70Best โœ“
Internet
$63
$40Best โœ“
Left after essentials
$693/month
$588/month

Frequently asked questions

Is $40K a good salary in Harrisburg?

At $40K/year in Harrisburg, your estimated monthly take-home is $2,625. With 1BR rent around $1,250/month, rent takes up 48% of your take-home. That's considered difficult.

Is $40K a good salary in Nairobi?

At $40K/year in Nairobi, your estimated monthly take-home is $1,728. With 1BR rent around $500/month, rent takes up 29% of your take-home. That's considered manageable.

Which city is more affordable on a $40K salary?

Harrisburg leaves you with more money after core expenses โ€” $693/month vs $588/month in Nairobi.

Can I afford to live alone in Harrisburg on $40K?

It's tight. Rent in Harrisburg would take 48% of your $40K take-home pay. You may need to find roommates or look at studios to stay within the 30% rule.

Compare other salary bands โ€” Harrisburg vs Nairobi

See the full cost-of-living comparison

Rent, groceries, taxes, transportation, and more โ€” side by side.

Full comparison

Take-home estimates use simplified federal/state brackets and do not account for pre-tax deductions, 401(k), or local taxes. Data: Zillow, BLS, Numbeo ยท Q1 2026 ยท For general guidance only