Water heater replacement cost per gallon (2026)

US-average water heater replacement pricing per gallon of tank capacity, broken out by variant. Multiply by your project size for a total, or use the calculator below.

Water heater replacement cost per gallon of tank capacity by variant
VariantLow per gallonTypical per gallonHigh per gallon
Tank, natural gas
The default replacement. 8 to 12 year lifespan.
$32$48$78
Tank, electric
Cheaper to install, more expensive to run.
$28$42$69
Tankless, natural gas
Endless hot water. Needs venting and a larger gas line.
$77$115$187
Tankless, electric
Point-of-use friendly. Whole-home models need a 200 amp panel.
$58$86$140
Heat pump water heater
60 to 70 percent lower operating cost. Eligible for federal credit.
$83$125$203

National averages. State and metro multipliers shift these 12 to 55% in either direction.

Calculate your total

Enter project size and variant; the total updates instantly.

Estimate your cost

US national average

Adjust the variant and size. Numbers update live.

50 gallons

40 gallon for 1 to 2 people, 50 gallon for 3 to 4, 75 gallon or tankless for 5 plus.

Estimated total
$1,400 - $3,450
Typical: $2,100
Variant
Tank, electric
Size
50 gal
Region factor
1.00x
Get a contractor quote

Free, no obligation. We hand you off to vetted local pros.

See per-unit pricing for your state

Frequently asked questions

How long does a water heater replacement take?+

A like-for-like tank swap takes two to four hours. Tankless conversions, location moves, or fuel changes extend the job to a full day or more.

Should I switch from tank to tankless?+

Yes if you have natural gas, hot water demand at multiple fixtures, and plan to stay in the home five plus years. Otherwise the payback period exceeds the unit lifespan.

How long does a water heater last?+

Tank: 8 to 12 years (electric often lasts longer than gas). Tankless: 15 to 20 years. Heat pump: 10 to 15 years. Annual flushing extends life materially.

Do I need a permit to replace a water heater?+

Yes in most US cities. Skipping the permit voids the manufacturer warranty in many cases and can flag at home sale inspection.

Can I install a water heater myself?+

Legal in some jurisdictions for like-for-like electric tank swaps. Gas, tankless, and heat pump installs require licensed plumbers and inspections almost everywhere.