Water heater cost calculator

Size your next water heater the way the Department of Energy does, see what it costs installed, and check whether the quote you were given is in line.

Water heater
Your busiest hour

How many times does each happen in the hour your home uses the most hot water?

Extras and your quote
$

Quick answer: Replacing a 50-gallon tank water heater costs $700–$2,500 installed, and a gas tankless unit $1,400–$3,500 (Fixr, 2025–2026). Labor is $150–$450 for a like-for-like tank swap and $600–$1,900 for tankless. Size a tank by your busiest hour of hot water use, about 20 gallons per shower, and a tankless unit by the flow of fixtures running at once.

Water heater cost by type

Installed cost, unit plus standard labor, from national cost guides. Your price depends on local labor rates, the brand and how much the installer has to change.

TypeInstalledSource
Gas or electric tank, 40 gal$550–$2,300Fixr, Jan 2026
Gas or electric tank, 50 gal$700–$2,500Fixr, Jan 2026
Gas or electric tank, 75–80 gal$1,100–$3,600Fixr, Jan 2026
Gas tankless$1,400–$3,500Fixr, Jan 2025
Electric tankless$1,000–$3,000Fixr, Jan 2025
Heat pump (hybrid)$1,200–$4,600Fixr, Jan 2026

Labor and extra costs

ItemTypical costSource
Labor, tank replaced like for like$150–$450NerdWallet, Sep 2025
Labor, tankless installation$600–$1,900NerdWallet, Sep 2025
Plumber hourly rate$45–$200Fixr, Jan 2026
Haul away the old heater$75–$500Fixr, Jan 2026
Permit$25–$1,500Fixr, Jan 2026
Expansion tank$90–$350Angi, 2022 figure
Power venting$300–$1,000Fixr, Jan 2026
New gas line (switching from electric)about $500Fixr, Jan 2025
New 240 V circuit$300–$800Angi, 2022 figure

Two figures come from Angi's guide last updated in November 2022, the most recent published range we found. Prices have generally risen since.

Tank cost by size

Tank sizeInstalled (Fixr, Jan 2026)
30 gallons$550–$2,100
40 gallons$550–$2,300
50 gallons$700–$2,500
75 gallons$1,100–$3,400
80 gallons$1,200–$3,600

How to size a tank water heater

Tank heaters are sized by their first hour rating: how many gallons of hot water they can deliver in an hour starting with a full tank. It's printed at the top left of the yellow EnergyGuide label. Gallon capacity alone doesn't tell you this, because a gas tank reheats faster than an electric one of the same size.

Use (DOE worksheet)Gallons each
Showers20
Shaves2
Hand dishwashing or food prep3
Dishwasher loads7
Top-load washer loads25
Front-load washer loads15

Count how often each happens in your busiest hour, multiply and add. Pick a heater whose first hour rating is at least that total. Heat pump water heaters often don't carry the EnergyGuide label, so check the maker's spec sheet.

How to size a tankless water heater

A tankless unit heats water as it flows, so it's sized by flow rate in gallons per minute at your temperature rise. Add the flow of everything that may run at once: DOE uses 2.5 gpm for a shower and 0.75 gpm for a faucet. The rise is 120°F minus your incoming water temperature. At a 70°F rise, DOE says a typical gas unit delivers about 5 gpm and an electric unit about 2 gpm. Colder water means a bigger rise and less flow, which is why whole-house electric tankless struggles in northern winters.

What raises the price

  • Switching type. Going from a tank to tankless usually means a larger gas line or a new 240 V circuit, and new venting for gas.
  • Code upgrades. Many areas require an expansion tank, a drain pan or seismic straps when a heater is replaced.
  • Heat pump space. ENERGY STAR notes heat pump water heaters need room around them (often about 450 cubic feet of air), a place to drain condensate and, when replacing gas, a 240 V supply.
  • Access. An attic or tight closet takes longer than an open basement or garage.

Tax credits and rebates

The federal 30% credit for heat pump water heaters (up to $2,000) applied to units purchased and installed from January 1, 2023 to December 31, 2025, according to ENERGY STAR. It isn't available for 2026 installations. Many electric utilities and states still offer rebates for heat pump water heaters, so ask your utility before you buy.

How the calculator works

  1. Size

    For tanks, your busiest hour is added up with DOE's gallons per use. For tankless, the flow of fixtures running together is compared with what a typical gas or electric unit delivers at your temperature rise.

  2. Base cost

    The installed range for your heater type, and for tanks your size, from Fixr's cost guides.

  3. Extras

    Each extra you tick adds its published range to the low and high ends. Extras that don't apply to your heater type are left out.

  4. Quote check

    Your quote is placed on the range. It's a sense check against national data, not a judgment on a specific contractor.

Need heating or cooling sized too? Try the furnace or heat pump calculator, or the space heater calculator for a single room.

Common questions

How much does it cost to replace a water heater?

A standard 50-gallon tank costs $700–$2,500 installed, according to Fixr's January 2026 cost guide. Tankless units run $1,400–$3,500 for gas and $1,000–$3,000 for electric, and heat pump models $1,200–$4,600. Permits, hauling away the old unit and any new gas, venting or electrical work come on top.

How much is labor to install a water heater?

NerdWallet puts labor at $150–$450 to swap a tank like for like and $600–$1,900 for a tankless unit (September 2025). Switching from a tank to tankless can add up to $2,500 in labor because of new gas lines, venting or wiring. Fixr lists plumber rates of $45–$200 an hour.

What size water heater do I need?

For a tank, add up the hot water your household uses in its busiest hour, then pick a heater whose first hour rating (on the yellow EnergyGuide label) is at least that much. The US Department of Energy counts 20 gallons per shower, 7 per dishwasher load and 15–25 per washer load. Two showers, some dish rinsing and a front-load wash in one hour is 58 gallons.

What size tankless water heater do I need?

Add up the flow of everything that may run at once (DOE uses 2.5 gpm for a shower and 0.75 gpm for a faucet), then check the unit can deliver that flow at your temperature rise. DOE says a typical gas unit gives about 5 gpm and an electric one about 2 gpm at a 70°F rise. With 40°F winter water, two showers need 5 gpm at an 80°F rise.

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

Not from the federal government. ENERGY STAR says the 30% federal credit (up to $2,000) covered heat pump water heaters purchased and installed from January 1, 2023 to December 31, 2025. Many utilities and states still offer rebates, so check with your electric company before you buy.

How do I know if my water heater quote is fair?

Enter the quote in the calculator. If it lands inside the range for your heater type and the extras you need, it is in line with national cost data. Well above the range, ask for an itemized quote. Well below, check whether the permit, haul-away and code upgrades are included.

Is tankless worth it?

A tankless unit costs more up front and often needs a bigger gas line or new wiring, but it never runs out of hot water as long as you stay within its flow rate, and it lasts longer than a typical tank. It pays off best for households that use a lot of hot water and are installing gas tankless where a gas line is already sized for it.

Sources

We checked the figures on this page against these references. The calculator itself uses the rule-of-thumb method described on how we calculate.