Water Heater Replacement Cost Calculator

Estimate the cost to replace a water heater by type (gas, electric, tankless, heat pump), tank size, and whether it's a straight swap or a conversion. Get a materials and labor breakdown in seconds.

Estimated Cost

Location

Low

$920

Average

$1,795

High

$3,350

Project Details

Adjust the project scope below to update the estimate instantly.

Preparing interactive controls…

40 gallons suits 2–3 people; 50 is the most common; 75–80 for large households. Tankless units are sized by flow rate, not gallons, so this is ignored for tankless types.

Adds the selected target type's gas, venting, electrical, condensate, or relocation components instead of one generic conversion multiplier.

Applies to storage units. Tankless profiles ignore this input; recirculation and local system conditions may still require separate expansion control.

Scope Notes & Exclusions8 planning notes included with this estimate
  • The 1.00Γ— capacity factor applies only to the storage appliance, not labor or accessories.
  • The standard-swap scope assumes the existing fuel supply and vent category are serviceable and compatible with the replacement unit.
  • Warning: The standard-swap scenario requires serviceable, compatible utilities, venting, drain, location, and clearances. Select conversion when new target-type utilities or relocation work is needed.
  • Warning: Local code, manufacturer instructions, fuel supply, electrical load, vent design, seismic requirements, and combustion-air conditions control the permitted installation.
  • Excluded: Drywall, flooring, framing, cabinetry, roofing, or finish repair caused by relocation or access
  • Excluded: Water-damage remediation, hazardous-material work, recirculation systems, water treatment, and unrelated plumbing replacement
  • Excluded: Utility-company meter work, fuel storage, and work outside the selected target-type conversion components
  • Excluded: Chimney liner, masonry chimney repair, or whole-building gas-service upgrade

Cost Breakdown

Review the subtotals first, then expand a section for itemized quantities and price ranges.

Materials & Equipment5 line items Β· 61% of the average estimateAverage$1,100
ItemQtyLowAverageHigh
Gas Storage Water Heater β€” 50 gal1 job$450$800$1,450
Water Connections, Shutoffs, Seismic / Support & Fittings1 job$40$75$100
Drain Pan & Ordinary Drain Connection1 job$20$25$50
Existing Vent Connection / Adapter1 job$20$50$100
Thermal Expansion Tank1 job$50$150$350
Subtotal$580$1,100$2,050
Labor, Trade Services & Removal4 line items Β· 32% of the average estimateAverage$575
ItemQtyLowAverageHigh
Set, Connect & Start-Up Labor1 job$175$350$650
Draft, Combustion, Gas-Leak & Safety Commissioning1 job$75$150$250
Existing Water-Heater Disconnect & Removal1 job$25$50$100
Old Unit Haul-Away / Disposal1 job$15$25$50
Subtotal$290$575$1,050
Design, Permits & Project Costs1 line items Β· 7% of the average estimateAverage$120
ItemQtyLowAverageHigh
Permit & Inspection Allowance1 job$50$120$250
Subtotal$50$120$250

About the Water Heater Calculator

Replacing a water heater is one of those jobs that arrives on its own schedule β€” usually the morning you find a cold shower or a puddle on the floor. The price swings widely with the type you choose, storage capacity or tankless flow class, and whether the new unit drops straight into the old one's spot or needs new venting, gas, electrical, or condensate work. This calculator separates the appliance, applicable accessories, installation and commissioning, old-unit removal and disposal, and permit fees before you call a contractor.

How We Calculate Water Heater Cost

Each heater type selects a complete profile. Storage-tank and heat-pump equipment prices scale with gallons, but accessories and labor do not; tankless profiles ignore gallons and expose a planning GPM class. The model then adds only applicable components: drain pan for storage, vent connection for gas, condensate parts for heat pump, and expansion tank for storage when selected. Installation and type-specific commissioning are separate. If you choose conversion, the target profile adds explicit gas, vent, electrical, condensate, or relocation components rather than one generic multiplier. Removal, disposal, and permit remain separate lines.

Factors That Affect Water Heater Cost

The two biggest cost drivers are type and install scenario. A like-for-like tank swap is the cheap path; a tankless or fuel conversion can double or triple the labor because of venting, gas-line resizing, or a panel upgrade. After that come tank size, whether code requires an expansion tank, how accessible the unit is (a tight attic or crawl space costs more than a garage), and local plumber rates β€” use the Location selector to adjust labor for your state. Disposal and permit fees are small but real, and a moved unit can pull in drywall and flooring work the estimate doesn't cover.

Water Heater Cost by Type

Typical installed cost and service life by type. Installed cost includes the unit and standard labor; conversions and difficult access run higher.

TypeInstalled costTypical lifespanNotes
Electric tank$800 – $1,8008–12 yrsCheapest to install
Gas tank$1,100 – $2,5008–12 yrsLower running cost where gas is available
Heat pump (hybrid)$1,800 – $4,50013–15 yrsMost efficient; needs space + drain; utility rebates vary
Tankless electric$1,200 – $3,00018–20 yrsEndless hot water; may need a panel upgrade
Tankless gas$2,500 – $5,50018–20 yrsEndless hot water; needs venting + larger gas line

Source: Installed-cost ranges, 2026 (HomeAdvisor / Fixr); lifespan per U.S. Department of Energy. Vary by region and access.

Tank vs. tankless: which is worth it?

A storage tank is cheaper to buy and install, simpler to service, and a like-for-like swap is usually a half-day job. The trade-off is an 8–12 year life, standby heat loss, and a finite tank of hot water that can run out during back-to-back showers.

Tankless heats water only when a tap opens and can provide continuous hot water when it is correctly sized for simultaneous demand and temperature rise. Gas models need proper venting and often a larger gas line; electric models can demand a service-panel upgrade. Whether the higher installation cost pays back depends on energy prices, usage, maintenance, and how long you keep the unit. A heat-pump hybrid keeps storage capacity while reducing energy use, provided the room has adequate air volume, temperature, clearance, and a condensate route.

Signs your water heater needs replacing

Catch a failing heater before it floods. Watch for rusty or discolored hot water, a metallic taste, popping or rumbling from sediment hardening in the tank, water that no longer gets fully hot, moisture or rust around the base, and an age past 10–12 years for a tank unit (check the serial-number date on the label).

A small leak from a fitting is often a cheap fix. Water weeping from the tank body itself is not β€” the steel has corroded through and the unit is done. If you're seeing two or more of these signs on a heater near its rated life, replace it on your schedule rather than waiting for the 2 a.m. emergency that adds water-damage cleanup to the bill.

Water Heater Cost by Tank Size

Tank SizeLowAverageHigh
30 gallons$866$1,699$3,176
40 gallons$893$1,747$3,263
50 gallons$920$1,795$3,350
65 gallons$961$1,867$3,481
75 gallons$988$1,915$3,568
80 gallons$1,001$1,939$3,611

Gas tank water heater, standard swap, at the national average. Use the calculator above for other types and your state.

Planning a larger project? You may also want to estimate costs for house repiping cost, water damage repair cost, bathroom remodel cost, or septic tank size & cost.

Cost basis & data provenance

Scope-matched

This calculator checks a typical 50-gal gas tank swap with expansion tank against a scope-matched benchmark of $1,500–$2,000, using Fixr 50-gallon water-heater installation guide (accessed 2026-07-20). Cost data is scheduled for review by 2027-01.

  • Fixr β€” 50-Gallon Water Heater: $900–$2,500; $1,800 average. This matches the canonical 50-gallon natural-gas swap, which separately includes the appliance, connections, drain pan, vent adapter, expansion tank, installation/commissioning, removal, disposal, and permit. Checked 2026-07-20.

Sources

Costs are based on current industry ranges and vary by location and market conditions. See how we calculate costs β€” cost data last reviewed July 2026.

Frequently Asked Questions

What is the average cost to replace a water heater?
A like-for-like swap of a standard tank water heater (gas or electric, 40–50 gallons) typically runs about $1,000–$2,500 installed, with most homeowners landing near $1,500–$1,800. Heat-pump units run roughly $2,000–$4,500, and tankless gas $2,500–$5,500 because of venting and gas-line work. Use the calculator above with your type, size, and install scenario for a tailored range.
What type of water heater is cheapest to install?
A standard electric tank water heater is the cheapest to install β€” often $800–$1,800 β€” because it needs no venting or gas line and the appliance itself is inexpensive. Gas tanks cost a bit more upfront but usually run cheaper month to month where natural gas is available. Tankless and heat-pump units cost the most to install but cut operating cost and last longer, so the cheapest install is rarely the cheapest over the unit's life.
What is the labor cost to install a 40-gallon water heater?
For a straight replacement of a 40-gallon tank in the same spot, plumber labor alone is usually about $250–$900, with the typical job near $500. That covers disconnecting and hauling the old unit, setting and connecting the new one, and testing. Permits, an expansion tank, or moving the unit add to that. A fuel conversion or a tankless upgrade pushes labor well past $1,000 because of new venting and gas or electrical work.
Should I repair or replace my water heater?
If the unit is under about 8 years old and the problem is a thermostat, heating element, or valve, a repair (often $150–$600) usually makes sense. Once a tank heater is past 10–12 years, leaking from the tank body, or needing a second major repair, replacement is the better spend β€” the tank itself is failing and won't be fixed by new parts. A 20-year-old tank is well past its expected life and should be replaced before it leaks.
How long does a water heater last?
A conventional tank water heater lasts about 8–12 years; annual flushing to clear sediment can push that toward the upper end. Tankless units commonly last 18–20 years, and heat-pump (hybrid) models around 13–15 years. Hard water shortens all of these. If your tank is near or past its rated life, budgeting for replacement beats waiting for it to fail and flood the area around it.
Why are tankless water heaters so much more expensive to install?
The unit costs more, but most of the gap is labor. A gas tankless heater needs stainless or dedicated venting, often a larger gas line to feed its high burn rate, and sometimes a condensate drain β€” none of which a tank swap requires. Electric tankless units frequently need an electrical panel upgrade to handle the load. That added work is why a tankless conversion commonly runs $2,500–$5,500 versus roughly $1,500 for a tank swap, even though the energy savings pay back over the unit's longer life.