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.
| Type | Installed | Source |
|---|---|---|
| Gas or electric tank, 40 gal | $550–$2,300 | Fixr, Jan 2026 |
| Gas or electric tank, 50 gal | $700–$2,500 | Fixr, Jan 2026 |
| Gas or electric tank, 75–80 gal | $1,100–$3,600 | Fixr, Jan 2026 |
| Gas tankless | $1,400–$3,500 | Fixr, Jan 2025 |
| Electric tankless | $1,000–$3,000 | Fixr, Jan 2025 |
| Heat pump (hybrid) | $1,200–$4,600 | Fixr, Jan 2026 |
Labor and extra costs
| Item | Typical cost | Source |
|---|---|---|
| Labor, tank replaced like for like | $150–$450 | NerdWallet, Sep 2025 |
| Labor, tankless installation | $600–$1,900 | NerdWallet, Sep 2025 |
| Plumber hourly rate | $45–$200 | Fixr, Jan 2026 |
| Haul away the old heater | $75–$500 | Fixr, Jan 2026 |
| Permit | $25–$1,500 | Fixr, Jan 2026 |
| Expansion tank | $90–$350 | Angi, 2022 figure |
| Power venting | $300–$1,000 | Fixr, Jan 2026 |
| New gas line (switching from electric) | about $500 | Fixr, Jan 2025 |
| New 240 V circuit | $300–$800 | Angi, 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 size | Installed (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 |
|---|---|
| Showers | 20 |
| Shaves | 2 |
| Hand dishwashing or food prep | 3 |
| Dishwasher loads | 7 |
| Top-load washer loads | 25 |
| Front-load washer loads | 15 |
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
- 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.
- Base cost
The installed range for your heater type, and for tanks your size, from Fixr's cost guides.
- 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.
- 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.