Mon, Nov 30, 2026 · US edition
HomeCostEdge
Latest
Home/Free tools/Water Heater Replacement Cost Calculator (2026)

Water Heater Replacement Cost Calculator (2026)

Pick the type and size of the new water heater, say whether any upgrades are needed, and see the installed 2026 price and the cost per year of service.

Useful when your old tank is leaking and you need to know quickly whether a quote is fair. Free and private.

Plumber installing a new water heater tank in a utility room

Embed this calculator on your website (free)

Run a blog, a real estate or insurance site, or a local business page? Paste this code into any HTML block. The calculator stays free, has no ads and updates itself when we update it.

How the Water Heater Replacement Cost Calculator works

Installed cost = base price for the type (about $1,350 gas tank, $1,250 electric tank, $3,300 gas tankless, $2,300 electric tankless, $3,200 heat pump) × tank size factor + upgrades, × local adjustment, + permit. Cost per year = installed cost ÷ typical lifespan.

Worked example

This is what the calculator shows with its starting numbers. Change any value above to see your own result.

InputValue
New water heater typeGas tank
Tank size (ignored for tankless)50 gallons
Upgrades neededNone, straight swap
Permit fee (check your city)$100
Local price adjustment0 %

Estimated installed cost: $1,558

ResultValue
Typical quote range$1,246 to $1,948
Unit and labor$1,458
UpgradesNone
Permit$100
Typical lifespan10 years
Cost per year of service$156

Example: a leaking tank in Michigan

An illustrative example. The numbers are exactly what the calculator above shows with its starting values.

A homeowner in Michigan finds the 12-year-old 50-gallon gas tank leaking at the base and wants the same type and size with no upgrades. The calculator shows $1,558 including a $100 permit, with typical quotes from $1,246 to $1,948, about $156 per year of service.

How the quotes compared: after shutting off the water and gas, the homeowner called two licensed plumbers for same-day prices and asked both whether the city required an expansion tank. One quote left it out and one included it, and only the complete quote would pass inspection.

What each input means

  • New water heater type: replacing like for like is the cheapest. Switching from a tank to tankless or from gas to a heat pump usually needs extra work.
  • Tank size: most homes use 40 or 50 gallons. Larger tanks cost more and need more space. Ignored for tankless units.
  • Upgrades needed: many codes now require a thermal expansion tank, a drain pan or updated venting. A new gas line, flue or a dedicated electrical circuit costs the most.
  • Permit fee: many cities require a permit for water heater replacement, often $50 to $300. A licensed plumber usually pulls it.
  • Local price adjustment: positive for high-cost metros, negative for lower-cost areas.

How to use the Water Heater Replacement Cost Calculator step by step

  1. New water heater type: set it to match your home or your quote.
  2. Tank size: set it to match your home or your quote.
  3. Upgrades needed: set it to match your home or your quote.
  4. Read the headline estimate first, then the lines under it to see which part of the job costs the most.
  5. Change one input at a time, then take the range to contractors and ask each one to explain where their quote differs.

What a new water heater costs in 2026

TypeTypical installed range
Gas or electric tankabout $880 to $1,800 (Angi average about $1,334)
Tankless (gas or electric)about $1,400 to $4,000
Heat pump (hybrid) tankabout $1,200 to $4,600

Labor alone typically runs about $150 to $450 for a tank swap and $600 to $1,900 for a tankless install, according to NerdWallet, because tankless units often need new gas lines, venting or electrical work.

Tank, tankless or heat pump?

  • Tank: cheapest to buy and install, lasts about 8 to 12 years, and keeps water hot around the clock, so it loses some heat on standby.
  • Tankless: heats water on demand, lasts up to about 20 years and saves space, but costs more to install, especially when switching from a tank.
  • Heat pump: an electric tank that moves heat from the surrounding air. The U.S. Department of Energy says these can be two to three times more efficient than standard electric water heaters. It needs space and a room that stays above roughly 40°F.

Tax credits changed in 2026

Heat pump water heaters qualified for the 25C credit of 30% up to $2,000 until the end of 2025. The IRS now limits that credit to property placed in service before December 31, 2025. Check your electric utility, because many still offer rebates for heat pump water heaters.

Signs it is time to replace

  • Water pooling at the base of the tank.
  • Rusty water or a metallic smell from the hot tap only.
  • Rumbling or popping from sediment build-up.
  • A tank older than about 10 years with any of the above.

Picking the right size

For tanks, the first-hour rating on the label matters more than the gallon size. It tells you how much hot water the heater can deliver in a busy hour. A household of one or two often does well with 40 gallons; three to four people usually need 50; larger families or homes with big soaking tubs may need 65 to 80. For tankless units, size by flow rate in gallons per minute: add up the fixtures that run at the same time, such as a shower at about 2 gallons per minute and a dishwasher at about 1.5. A unit that is too small gives lukewarm showers in winter, when incoming water is coldest.

Simple maintenance

Drain a few gallons from the tank once a year to flush sediment, test the pressure relief valve, and check the anode rod every few years. These small jobs can add years to a tank’s life.

Every type side by side

Here is what the calculator shows for each type with a $100 permit and no local adjustment. The cost per year divides the installed price by a typical lifespan, which is the fairest way to compare a cheap tank with a long-lived tankless unit.

SetupInstalled costTypical quotesLifespanCost per year
Gas tank, 50 gal, straight swap$1,558$1,246 to $1,94810 years$156
Gas tank, 50 gal, with code items$1,958$1,566 to $2,44810 years$196
Electric tank, 50 gal$1,450$1,160 to $1,81311 years$132
Heat pump tank, 50 gal$3,556$2,845 to $4,44513 years$274
Gas tankless, existing gas line and venting fit$3,400$2,720 to $4,25018 years$189
Gas tankless, new gas line and flue$4,600$3,680 to $5,75018 years$256
Electric tankless, new circuit$3,600$2,880 to $4,50018 years$200

The cost per year of service covers only the purchase. Energy bills, maintenance and repairs come on top, and they differ a lot by type, so a heat pump with a higher yearly purchase cost can still be the cheapest to own in an all-electric home.

Three more examples

Illustrative examples. The numbers are exactly what the calculator shows with these inputs.

Calculator example 2, a gas tank that needs code updates: the same 50-gallon gas swap, but the inspector will want an expansion tank, a drain pan and venting fixes. The estimate rises from $1,558 to $1,958, or $196 per year of service. Most of that difference is work a complete quote should already include.

Calculator example 3, switching to gas tankless: moving from a tank to a gas tankless unit that needs a bigger gas line and a new flue comes to $4,600 (quotes $3,680 to $5,750). Spread over an 18-year life, that is $256 a year, against $156 for the gas tank. The tankless unit only wins on purchase cost per year if the upgrades are small, as in a same-spot tankless replacement at $3,400.

Calculator example 4, a large family in a higher-cost city: an 80-gallon gas tank with code items and a 15% local adjustment comes to $2,734 (quotes $2,187 to $3,417), about $273 per year.

If your tank is leaking right now

  1. Shut off the cold water supply at the valve above the heater. If it will not turn, close the main water valve to the house.
  2. Turn off the energy source. Switch off the breaker for an electric heater, or set a gas control to off.
  3. Contain the water. Move belongings, and if the leak is steady, attach a hose to the drain valve and drain the tank to a floor drain or outdoors once the water has cooled.
  4. Photograph the damage before cleanup if you may file an insurance claim.
  5. Get two quotes for the same type and size, and ask whether each includes the permit and any code items your city requires.

What a complete quote should list

  • Brand, model, type, capacity and the tank warranty in years.
  • Removal and disposal of the old heater.
  • Expansion tank, drain pan, earthquake straps or venting changes if your area requires them.
  • New connectors, shutoff valve and relief valve discharge pipe.
  • The permit and inspection, and who arranges them.
  • Any gas line, flue or electrical work for a change of type.

Common mistakes

  • Comparing a bare-bones quote with a complete one. The lower number may leave out items the inspector will require.
  • Upsizing without checking the first-hour rating. A bigger tank costs more and wastes standby heat if a smaller model with a strong rating would do.
  • Switching types in an emergency. Tankless and heat pump conversions take planning. If you are rushed, a like-for-like swap now and a planned upgrade later can be the better path.
  • Skipping the permit. It can cause trouble at inspection when you sell, and the inspection protects you from a bad install.

Watch: $4,600 Water Heater Cheaper Than $2,758? The Math

More short cost videos on our HomeCostEdge YouTube channel.

Frequently asked questions

How much does it cost to replace a water heater?
A 50-gallon gas tank swapped like for like costs about $1,558 in this calculator, including a $100 permit. Tankless and heat pump units cost more.
How long does a water heater last?
Tank water heaters typically last 8 to 12 years, heat pump models about 10 to 15, and tankless units up to about 20 years with maintenance.
Is a tankless water heater worth it?
It can be if you plan to stay long enough for the energy savings and longer life to offset the higher installation cost. Switching from a tank often requires new gas lines or venting.
Is there a tax credit for a heat pump water heater in 2026?
No federal credit. The 25C credit ended for equipment placed in service after 2025. Utility rebates may still be available.
Do I need a permit to replace a water heater?
In many cities, yes. A licensed plumber usually pulls it, and an inspector checks venting, gas connections, the relief valve and expansion tank.
Can I replace a water heater myself?
Electric tank swaps are possible for experienced DIYers where local rules allow, but gas work, venting and permits make professional installation the safer choice.
Should I get a bigger tank when I replace my water heater?
Only if you regularly run out of hot water. Compare first-hour ratings on the labels rather than gallons alone, since a well-rated 50-gallon tank can outperform an older, larger one.
How long does a water heater replacement take?
A straight tank swap is often done in a few hours. Switching to tankless or a heat pump can take a day or more when gas lines, venting or wiring change.

Sources

Prices checked November 2026. Local prices vary widely; always get written quotes.

Related calculators

Please note: This tool gives estimates for planning only. It is not a quote and not contractor, engineering, legal, tax or financial advice. Your actual prices will differ.

← All free calculators

Cata, author and researcher at HomeCostEdge
Built and checked by Cata · Finance and Banking graduate (European university)
Every calculator on HomeCostEdge uses published sources and shows a worked example, and is reviewed again when prices or rules change. This is general educational information, not advice. For decisions about your own situation, talk to a licensed professional. About Cata · How I research · Report an error

More on this topic

Keep HomeCostEdge one tap away

Planning a repair or a remodel? Bookmark the calculators, add HomeCostEdge to your home screen, or send a cost guide to the friend who is about to get a quote.

Independent. We publish cost guides, not leads. No contractor, installer or manufacturer pays to be listed, ranked or recommended here.
Sourced. Prices come from published 2026 cost guides, government data and manufacturer specs, each with the date we checked it. See our editorial policy.
Private tools. Estimates are worked out in your browser. We never see your square footage, your ZIP code or your budget.
Transparent ads. Ads keep the guides free. They are labeled, kept apart from our picks, and never change a price we quote. How we make money.