---
slug: water-heater-cost-calculator
title: "Water Heater Replacement Cost Calculator"
category: home
updated: 2026-11-17
canonical: https://calcseed.com/c/home/water-heater-cost-calculator/
html: /c/home/water-heater-cost-calculator/
---

# Water Heater Replacement Cost Calculator

Estimate the total cost to replace a water heater from tank size, fuel type and installation labor.

## Quick answer

**Quick answer:** with the default inputs (50, gas, $600, $150), the total cost is **$1,650.00**. At these inputs: water heater cost = **$900.00**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| Tank size | 50 |  |
| Fuel type | gas |  |
| Installation labor | 600 | $ |
| Permit, disposal & extras | 150 | $ |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| Total cost | 1650 |  |
| Water heater cost | 900 |  |

## Formula

```text
total cost = water heater + labor + extras
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| Tank size | select |  | 50 |
| Fuel type | select |  | gas |
| Installation labor | number | $ | 600 |
| Permit, disposal & extras | number | $ | 150 |

## Outputs

| Result | Format |
| --- | --- |
| Total cost | primary |
| Water heater cost | currency |
| Total cost | currency |

## How it works

### What the total includes

Three lines are added: the **tank price**, which depends only on size and fuel, the **labor** you enter, and **permit, disposal and extras**. At the defaults — 50 gallon gas, $600 labor, $150 extras — the unit is **$900** and the total is **$1,650**. The unit price is a fixed table lookup, so it does not drift with your zip code; only labor and extras move.

### How the price is assembled

The unit price table has six cells: gas at $700, $900 and $1,800 for 40, 50 and 80 gallons, and electric at $500, $700 and $1,500. Gas costs about $200 more at every size because of the burner, gas valve and flue, and the jump from 50 to 80 gallons is the steepest step in the whole table — roughly double, because an 80 gallon tank is a commercial-grade body with a larger burner.

Labor is the variable that swings most between quotes for identical equipment. A like-for-like swap in an open basement is 1.5–2.5 hours and quotes at $350–$550. Pulling the old unit from a closet, cutting out a failed pan, re-sweating corroded nipples or correcting a vent slope can turn it into a 6 hour job at $900–$1,200. That is why the same $900 heater shows up in quotes from $1,400 to $2,300.

### Worked example at 50 gallons gas

Unit: **$900**. Labor: **$600**. Permit, disposal and extras: **$150**. Total: 900 + 600 + 150 = **$1,650**. Drop to a 40 gallon gas unit and the total is 700 + 600 + 150 = **$1,450**; switch the same 50 gallon to electric and it is 700 + 600 + 150 = **$1,450**, exactly $200 less than gas because the electric unit is $200 cheaper to buy.

The 80 gallon gas unit is the outlier at 1,800 + 600 + 150 = **$2,550**, a 55% jump over the 50 gallon for 60% more capacity. It only makes sense where a large tub or a five-person household runs out of hot water; otherwise the money is better spent on a 50 gallon plus a mixing valve, or on a tankless unit that never runs out at all.

### 2026 installed cost by size and fuel

| Size | Gas unit | Electric unit | Gas installed | Electric installed |
| --- | --- | --- | --- | --- |
| 40 gallon | $700 | $500 | $1,450 | $1,250 |
| 50 gallon | $900 | $700 | $1,650 | $1,450 |
| 80 gallon | $1,800 | $1,500 | $2,550 | $2,250 |

Installed figures add the $600 labor and $150 extras defaults, so they represent a straightforward swap. Add $250–$600 if the unit sits in a tight attic or crawlspace, $150–$400 for a new expansion tank and pan where code requires them, and $300–$800 if the gas line or flue has to be modified.

### What the labor actually covers

- Draining and hauling out the old tank, which holds 40–80 gallons of water and weighs 300–500 lb full.
- Disconnecting gas or 240 V electrical, then reconnecting and leak-testing.
- Re-piping the cold inlet, hot outlet and dielectric unions, about $40–$90 in parts.
- Checking the T&P relief valve and discharge pipe, which is the most commonly failed inspection item.
- Permit filing and the inspection visit, typically $100–$300 of the extras line.

#### Code upgrades that appear on the invoice

- Drip pan with a drain line, required under any tank above a finished ceiling, $40–$120 in parts.
- Earthquake strapping in seismic zones, $30–$80.
- Expansion tank on a closed system with a backflow preventer, $50–$120 plus an hour of labor.
- Sediment trap on the gas line, required by code and often missing on older installs, $25–$60.

### Gas versus electric running cost

Purchase price favors electric by $150–$200, but operating cost favors gas in most markets: $250–$400 a year for gas against $450–$700 for electric resistance at 2026 national average rates. Over a 10-year life that is a $2,000–$3,000 swing, which more than repays the higher purchase price. In a market with cheap hydro power the gap narrows, which is why the answer changes by region rather than by tank.

### Repair or replace

A tank lasts 8–12 years with annual flushing. Past year 8, a $250–$450 repair on a unit that will need replacing in two years is poor value against a $1,650 replacement. Leaks at the tank seam, rust-colored hot water and a burner that will not stay lit are the three signals that end the decision: a leaking tank cannot be repaired, only replaced. A failed thermocouple or heating element on a 4-year-old unit is worth fixing, and so is a bad dip tube, which is a $30 part plus an hour of labor.

#### Heat pump water heaters

A heat pump unit costs $1,500–$2,500 installed after any rebate, roughly $800–$1,300 more than the $1,650 gas example, and cuts water-heating energy by 50–65%. It also needs 700–1,000 cubic feet of air and dumps cold air into the space, which is welcome in a garage in summer and unwelcome in a closet. Federal tax credits of up to $2,000 have historically applied, so check the current program before ruling it out on price alone.

## FAQ

### How much does it cost to replace a water heater?

$1,250–$2,550 installed for a tank unit at the defaults of $600 labor and $150 extras. A 50 gallon gas unit is $1,650, the most common configuration.

### Gas or electric water heater?

Electric is $150–$200 cheaper to buy at every size, but gas costs $250–$400 a year to run against $450–$700 for electric, so gas wins over a 10-year life unless power is unusually cheap.

### How long does a water heater last?

Eight to twelve years with annual flushing. Past year 8, a $250–$450 repair rarely beats putting that money toward a $1,650 replacement.

### What size water heater do I need?

40 gallons for one to two people, 50 for three to four, 80 for five or more or a large soaking tub. The 80 gallon step costs $900 more than the 50 in the same fuel.

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

Most jurisdictions require one, and the fee plus inspection typically runs $100–$300, which is most of the $150 extras default in this calculator.

### Should I upgrade to a heat pump water heater?

It costs $1,500–$2,500 installed after rebate, $800–$1,300 more than a gas tank, and cuts water-heating energy 50–65%. It needs 700–1,000 cubic feet of air, so a closet will not work.

### Why is my quote so much higher than the calculator?

Usually access and code. An attic or crawlspace install adds $250–$600, and a pan, expansion tank or vent correction adds $250–$700 more.

### Can I replace a water heater myself?

Legally, often not: gas connections and permits usually require a licensed installer, and a DIY job can void the warranty. The $600 labor line is the part you would be trading for that risk.

### How long does a water heater replacement take?

Two to four hours for a straightforward swap, half a day where the unit must be drained from an attic or the vent reworked. Plan on the water being off for that window.

## Method and sources

Methodology: Cost ranges reflect 2026 U.S. national averages for materials and labor; regional pricing varies, so use results as a planning baseline and confirm with local quotes.

Last updated: 2026-11-17.
- Tank water heater unit and installation pricing, US average 2026.
