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.

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.
| Input | Value |
|---|---|
| New water heater type | Gas tank |
| Tank size (ignored for tankless) | 50 gallons |
| Upgrades needed | None, straight swap |
| Permit fee (check your city) | $100 |
| Local price adjustment | 0 % |
Estimated installed cost: $1,558
| Result | Value |
|---|---|
| Typical quote range | $1,246 to $1,948 |
| Unit and labor | $1,458 |
| Upgrades | None |
| Permit | $100 |
| Typical lifespan | 10 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
- New water heater type: set it to match your home or your quote.
- Tank size: set it to match your home or your quote.
- Upgrades needed: set it to match your home or your quote.
- Read the headline estimate first, then the lines under it to see which part of the job costs the most.
- 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
| Type | Typical installed range |
|---|---|
| Gas or electric tank | about $880 to $1,800 (Angi average about $1,334) |
| Tankless (gas or electric) | about $1,400 to $4,000 |
| Heat pump (hybrid) tank | about $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.
| Setup | Installed cost | Typical quotes | Lifespan | Cost per year |
|---|---|---|---|---|
| Gas tank, 50 gal, straight swap | $1,558 | $1,246 to $1,948 | 10 years | $156 |
| Gas tank, 50 gal, with code items | $1,958 | $1,566 to $2,448 | 10 years | $196 |
| Electric tank, 50 gal | $1,450 | $1,160 to $1,813 | 11 years | $132 |
| Heat pump tank, 50 gal | $3,556 | $2,845 to $4,445 | 13 years | $274 |
| Gas tankless, existing gas line and venting fit | $3,400 | $2,720 to $4,250 | 18 years | $189 |
| Gas tankless, new gas line and flue | $4,600 | $3,680 to $5,750 | 18 years | $256 |
| Electric tankless, new circuit | $3,600 | $2,880 to $4,500 | 18 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
- 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.
- Turn off the energy source. Switch off the breaker for an electric heater, or set a gas control to off.
- 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.
- Photograph the damage before cleanup if you may file an insurance claim.
- 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?
How long does a water heater last?
Is a tankless water heater worth it?
Is there a tax credit for a heat pump water heater in 2026?
Do I need a permit to replace a water heater?
Can I replace a water heater myself?
Should I get a bigger tank when I replace my water heater?
How long does a water heater replacement take?
Sources
- NerdWallet: Water heater cost in 2026
- Fixr: Cost to install a water heater (2026 data)
- U.S. DOE Energy Saver: Heat pump water heaters
- IRS: Energy Efficient Home Improvement Credit (25C)
Related calculators
- HVAC Replacement Cost Calculator: Choose the system you need, enter your home size and climate, and see a 2026 installed price with a rough system size and the ductwork cost.
- Bathroom Remodel Cost Calculator: Enter the bathroom size, pick the finish level and say whether any plumbing moves.
- Kitchen Remodel Cost Calculator: Enter your kitchen size and pick the scope, from a cosmetic refresh to an upscale full remodel.
- Solar Panel Payback Calculator: Enter your electric bill and rate, the system size and price, and see how long solar panels take to pay for themselves in 2026, without the old federal tax credit.
