The true cost of replacing a water heater
The price to put a new water heater in is the number everyone asks for, and it is less than half the story. This starts with the installed cost for the kind of heater you choose, adds any extra work your house needs, and then adds what the heater will cost to run for as long as you live there. Pick a kind, then replace the figures with your quote.
The true cost of replacing a water heater
55 gallons a day, over 15 years
$6,749
- The heater, installed
- $1,432
- Extra work on the house
- $0
- Rebates
- $0
- Energy to heat the water
- $5,317
- Upkeep
- $0
- Life left in it when you move
- $0
- To pay when it goes in
- $1,432
- Energy in the first year
- $286
- Cost per year, all in
- $450
- A standard tank on the same fuel, same years
- $6,749
About $1,432 to put in, then about $286 a year to run.
Over 15 years the energy costs $5,317, more than the heater itself.
How much does it cost to replace a water heater?
Department of Energy national averages put a gas tank at about $1,432 installed, a standard electric tank at about $902, an electric heat pump heater at about $1,903 and a gas tankless heater at about $2,087. Those cover the unit, labor, removing the old heater and permits, in 2022 and 2023 dollars; quotes today are often higher.
The heater is only part of the cost. A gas tank in a home using 55 gallons of hot water a day burns about $286 of gas a year at average prices, which comes to more than the heater over its life.
How much does it cost to replace an electric water heater?
About $902 installed for a standard electric tank of 20 to 55 gallons, on the Department of Energy’s national average in 2022 dollars. It is the cheapest kind to put in and the dearest to run: about $617 of electricity a year for a home using 55 gallons of hot water a day at 17.3 cents per kWh.
How much does it cost to replace a heat pump water heater?
About $1,903 installed on the Department of Energy’s average, about $1,001 more than a standard electric tank. It uses far less power: about $170 of electricity a year on the same household, against $617 for the standard tank.
How much does a tankless water heater cost to install?
About $2,087 for a gas tankless heater on the Department of Energy’s average, in 2023 dollars, against $1,432 for a gas tank. Quotes are often far higher, because many homes need a larger gas line or new venting first.
Why is my water heater quote higher than the average?
The averages are national figures for tanks of 20 to 55 gallons, in 2022 and 2023 dollars. A quote runs higher when you change the kind of heater, when an older installation has to be brought up to code, when the heater sits in an attic, crawl space or tight closet, when the tank is larger, or when a failed heater is replaced in a hurry.
Year by year
The running total paid: the heater going in, then the energy year by year. The second line is a standard tank on the same fuel, for comparison. When you choose a standard tank the two lines are the same.
Show the figures for every year
| Year | New heater, this year | Standard tank, this year | New heater, total so far | Standard tank, total so far |
|---|---|---|---|---|
| 1 | $1,718 | $1,718 | $1,718 | $1,718 |
| 2 | $294 | $294 | $2,012 | $2,012 |
| 3 | $303 | $303 | $2,316 | $2,316 |
| 4 | $312 | $312 | $2,628 | $2,628 |
| 5 | $322 | $322 | $2,950 | $2,950 |
| 6 | $331 | $331 | $3,281 | $3,281 |
| 7 | $341 | $341 | $3,623 | $3,623 |
| 8 | $352 | $352 | $3,974 | $3,974 |
| 9 | $362 | $362 | $4,336 | $4,336 |
| 10 | $373 | $373 | $4,709 | $4,709 |
| 11 | $384 | $384 | $5,094 | $5,094 |
| 12 | $396 | $396 | $5,489 | $5,489 |
| 13 | $408 | $408 | $5,897 | $5,897 |
| 14 | $420 | $420 | $6,317 | $6,317 |
| 15 | $432 | $432 | $6,749 | $6,749 |
Installation cost by kind of heater
National averages from the US Department of Energy, for tanks of 20 to 55 gallons. Installed cost covers the unit, labor, removing the old heater and permits. The running cost is for a household using 55 gallons of hot water a day at US average energy prices.
| Kind | Installed | Lasts about | Energy per year | Per year, heater and energy |
|---|---|---|---|---|
| Gas tank | $1,432 | 15 years | $286 | $381 |
| Electric tank | $902 | 15 years | $617 | $678 |
| Electric heat pump | $1,903 | 15 years | $170 | $296 |
| Gas tankless | $2,087 | 20 years | $205 | $309 |
The last column spreads each heater’s price over the years it lasts and adds a year of energy. The installed costs are in 2022 dollars for the tanks and heat pump and 2023 dollars for tankless, so expect quotes today to be higher. Larger tanks cost more.
How this is worked out
The energy
Heating a gallon of water from 58 °F to 125 °F takes about 558 Btu. The calculator multiplies that by the gallons you use in a year, divides by the heater’s efficiency, and prices the result at what you pay for gas or electricity. A heater with twice the efficiency uses half the energy for the same hot water. Energy prices rise each year by the increase you set.
The heater itself
The installed cost is paid in the first year. If a heater wears out before you move, it is bought again. If it still has life left when you move, that share of its price is taken back off, so a heater that lasts 20 years is not charged in full to someone who stays 10.
Years to earn back the extra cost
The extra cost of the dearer heater, after rebates, divided by what it saves each year in energy and upkeep at today’s prices. If that is longer than the heater lasts, or longer than you will stay, it does not pay.
What is not counted
- Work the house needs before the new heater fits: a larger gas line, new venting, a 240-volt circuit, a drain for condensate. This is often the largest part of a quote and the reason quotes run far above the averages here. Put your whole quote in the installed cost.
- What the money could have earned if invested, and inflation. All figures are in the dollars of the year they are paid.
- Hot water you never run out of, on one side, or a wait for hot water at the tap, on the other.
- Repairs. Only the upkeep you enter is counted.
Why a quote runs above the average
- Changing the kind of heater. A like-for-like swap uses the pipes, vent and wiring that are already there. Going from a tank to tankless, or from gas to electric, usually means a larger gas line, new venting or a new 240-volt circuit.
- Bringing it up to code. An older installation may need an expansion tank, a drain pan, earthquake straps or a new shut-off valve before it passes inspection.
- Where it sits. An attic, a crawl space or a tight closet takes longer than a garage.
- Size. The averages here are for 20 to 55 gallon tanks. Larger tanks cost more to buy.
- A rush job. A heater that has failed is replaced at whatever price the first available installer quotes.
Put any of these in “Extra work the house needs” if they are quoted separately, or include them in the installed cost.
Comparing kinds
The calculator sets your choice against a standard tank on the same fuel. For a closer look at one comparison, there are separate calculators for tankless against a tank, a heat pump heater against a standard electric tank, and gas against electric.
Comparing quotes
If you have more than one quote, this workbook puts up to three side by side. Enter each installer’s price, the heater’s efficiency and fuel, and your own energy prices, and it works out what each would cost per year and over the years you stay. It also lists what to ask each installer is included.
Download the quote comparison (Excel)
It opens in Excel, Numbers and Google Sheets.
Where the starting figures come from
Installed cost and life. These are national averages worked out by the US Department of Energy when it set efficiency standards. They cover the unit, labor, removing the old heater and permits. The tankless figures are from its December 2024 rule on gas tankless water heaters, in 2023 dollars. Congress disapproved that rule in May 2025 and it was withdrawn, so it sets no standard; its cost analysis is still the Department’s published estimate. The tank figures are from its May 2024 rule on storage water heaters, in 2022 dollars. The Department puts the average life of a storage heater at about 15 years and of a gas tankless heater at 20. Prices have risen since, and a quote for your house can be well above the average.
Efficiency. The Uniform Energy Factor (UEF) is the federal measure of how much of the energy a heater uses ends up in the hot water. The starting values are the current federal minimums for a 40-gallon gas tank (0.58) and a 50-gallon electric tank (0.92), and the levels the Department analysed for tankless and heat pump heaters.
Hot water use. The 55 gallons a day, and the 58 °F and 125 °F temperatures, are the “medium” pattern of the federal test for water heaters.
Energy prices. The Energy Information Administration reports a US residential average for 2025 of 17.3 cents per kWh for electricity and $15.34 per thousand cubic feet for natural gas, which is about $1.48 a therm. Prices differ a great deal by state. Use the price on your own bill.
Tax credit. The federal credit for efficient water heaters ended for anything installed after December 31, 2025. The rebates field is for state and utility programs.
Our assumptions. The 15 years in the house, the 3% yearly rise in energy prices and no upkeep cost are starting assumptions. Figures were read at their sources on October 11, 2026.
Put this calculator on your site
Free to use on any site. Copy this code into your page and the calculator appears there, working exactly as it does here. Please keep the credit line.