Every rule links to its source. Every calculator shows its math.

CostPilot USA, know before you buildCostPilot USA
Calculator · Costs & Calculators

Water Heater Replacement Cost Calculator: The Heater vs. the Work Around It

Most water heater quotes are easy to read until the extras appear. This calculator separates the heater from the work your house needs to take it.

The short answer

A like-for-like tank replacement runs about $882 to $1,826 installed. Tankless units run about $1,400 to $3,900 and heat pump tanks about $2,000 to $4,500, before extras. Switching types is where costs climb: gas tankless usually needs new venting ($300 to $800) and often a larger gas line ($200 to $1,200); electric options may need a new 240-volt circuit ($300 to $500) or a panel upgrade ($1,000 to $3,000).

Water heater cost calculator

Pick the heater type, then add only the items your installer says your home needs. If you don't know yet, toggle each one on and off to see the possible range.

The numbers behind it

ItemInstalled range used
Tank water heater, like for like$882 to $1,826
Tankless water heater$1,400 to $3,900
Heat pump (hybrid) water heater$2,000 to $4,500
New venting for gas tankless$300 to $800
Larger gas line$200 to $1,200
New 240-volt circuit$300 to $500
Electrical panel upgrade$1,000 to $3,000
Expansion tank, where required$150 to $450

Which extras usually apply

ChangeUsual extras
Tank to tank, same fuelUsually none; sometimes an expansion tank
Gas tank to gas tanklessNew venting almost always; a larger gas line in many homes
Tank to electric tanklessA large dedicated circuit; sometimes a panel upgrade
Electric tank to heat pump tankOften a new 240-volt circuit, plus enough space and air around the unit

An expansion tank is usually required when your water system is "closed", for example when a backflow preventer or pressure-reducing valve keeps heated water from expanding back into the street main. Your plumber or the local code official will know.

Check the size before you check the price

The cheapest mistake to avoid is buying the wrong size.

For a tank, look at the first-hour rating on the yellow EnergyGuide label, not just the gallons. It tells you how much hot water the heater delivers in a busy hour. The U.S. Department of Energy suggests estimating your peak hour (showers, laundry, dishwasher running close together) and choosing a first-hour rating within a couple of gallons of that number.

For tankless, size by flow and temperature rise:

  1. Add up the flow of fixtures you'd run at once. Two showers at 2.0 gallons per minute and a kitchen faucet at 1.5 is 5.5 gpm.
  2. Find your temperature rise: the target (often 120°F) minus your incoming water temperature. Incoming water in northern states can be near 40°F in winter, which means an 80°F rise.
  3. Look for a unit rated to deliver that flow at that rise. The same tankless unit delivers far less hot water in Minnesota in January than in Arizona in June.

What changed in 2026

The federal tax credit for heat pump water heaters ended for equipment placed in service after December 31, 2025. Some states and utilities still offer rebates for heat pump models, and they can be large enough to change which option is cheapest, so check before you buy.

What the calculator leaves out

  • Emergency, night or weekend service premiums
  • Permits, which most areas require for water heater replacement
  • Moving the heater to a new location
  • Repairing water damage from a failed tank

Water heater replacement usually needs a plumbing permit, and a gas unit may need a gas permit too; see what needs a permit. Before you sign, compare quotes line by line with the contractor quote checker.

Questions homeowners ask

How much does it cost to replace a water heater?

A like-for-like tank runs about $882 to $1,826 installed. Tankless and heat pump models cost more, and switching types often adds venting, gas or electrical work.

Do I need an expansion tank?

Often yes when your plumbing is a closed system, such as when a backflow preventer or pressure-reducing valve is installed. Local code decides, so ask your plumber or building department.

What size tankless water heater do I need?

Add the gallons per minute of the fixtures you use at the same time, then find your temperature rise (target temperature minus incoming water temperature) and pick a unit rated for that flow at that rise.

Is there a tax credit for a heat pump water heater in 2026?

No federal credit. It ended for equipment placed in service after December 31, 2025. Some states and utilities still offer rebates.

Sources

  1. U.S. Department of Energy, Energy Saver: Sizing a new water heater
  2. IRS: FAQs on the termination of section 25C and related credits
  3. Angi: How much does water heater replacement cost? (2026)
  4. Remodel Calculators: Water heater replacement cost and code add-ons (2026)

Did this page answer your question?

Pradip TambeFounder and editor

Pradip Tambe runs CostPilot USA. He holds a master's degree in computer applications (MCA) and has spent about ten years building websites and data systems, including software used inside hospitals. He is not a contractor or a lawyer. His pages are built by reading the statutes, licensing board pages and federal rules directly, and every calculator on the site shows the numbers it uses.

How pages are researched

Next on the list

Keep reading