Choosing a water heater comes down to four questions: which fuel you have, how much hot water you use at once, what it costs to run, and how long it lasts. This guide answers each one and points to the calculator or guide that goes deeper.

In our sizing calculator's default four-person household (calculator assumptions), at 18 cents per kWh and EIA's 2025 average of about $1.48 per therm, a heat pump water heater costs about $312 a year to run, a gas tankless $345, a gas tank $513 and a standard electric tank $1,257. A storage tank lasts 10 to 15 years[3] and a tankless unit more than 20[3], according to DOE's Energy Saver Guide.

Bar chart of yearly energy cost for a four-person household: heat pump water heater $312, gas tankless $345, gas tank $513, electric tankless $1,193, electric tank $1,257, with how long each type lasts.
The sizing calculator's default household; lifespans from the DOE and REMDB.

The main types

TypeHow it worksLifespan
Storage tank, gas or electric
Keeps a tank of water hot
10 to 15 years (DOE)
Tankless
Heats water as it flows
More than 20 years (DOE)
Heat pump
Moves heat from the air into a tank
About 14.8 years (REMDB)
Lifespans: storage and tankless from the U.S. DOE Energy Saver Guide (2022); heat pump water heater from REMDB, version 4.0.0, Water Heater measure.

Solar water heaters pair roof collectors with a backup heater; this guide doesn't estimate their running cost or lifespan.

Running costs

From our water heater sizing calculator, for its default four-person household (calculator assumptions), at $0.18 per kWh, about the U.S. residential average of 18.19 cents for January to August 2026[9], and EIA's 2025 U.S. residential gas price of $15.34 per thousand cubic feet[7]. At 1,036 Btu a cubic foot[8], a thousand cubic feet holds 10.36 therms, so that's about $1.48 a therm (15.34 ÷ 10.36 = 1.48):

TypeEnergy cost per year
Heat pump water heater
$312
Tankless, gas
$345
Tank, gas
$513
Tankless, electric
$1,193
Tank, electric
$1,257
How this was calculated: annual energy cost from the water heater sizing calculator's default four-person household (calculator assumptions), at $0.18 per kWh and $1.48 per therm (EIA's 2025 U.S. residential average), with REMDB's Uniform Energy Factors (version 4.0.0, Water Heater measure) as the efficiencies. View the REMDB measure page.

ENERGY STAR says a heat pump water heater uses less than half the energy of a standard electric storage water heater[1]. See electric water heating cost for costs by state.

Which type fits your situation

The right choice depends on the fuel you already have, how much hot water you draw at once, and how much space the unit gets. This table lines the main types up on the running costs, efficiencies and lifespans above.

TypeEnergy cost/year (4-person)Efficiency (UEF)LifespanFits
Heat pump
$312
3.75
About 14.8 years
All-electric home with room and warmth around the unit
Gas tankless
$345
0.95 (condensing)
More than 20 years
Gas home that runs out of tank hot water, sized to its peak flow
Gas tank
$513
0.64
10 to 15 years
Gas home with moderate, bursty use
Electric tank
$1,257
0.93
10 to 15 years
Small or low-use homes, tight spaces
How this was calculated: energy costs from the sizing calculator above (calculator assumptions); efficiencies are REMDB's Uniform Energy Factors (version 4.0.0, Water Heater measure); lifespans from the DOE Energy Saver Guide (2022) and, for the heat pump unit, REMDB. View the REMDB measure page.

Route by your situation:

  • All-electric home: a heat pump water heater runs for about $312 a year here against $1,257 for a resistance tank (calculator assumptions), the largest gap between any two options on this page. See the heat pump water heater guide.
  • Gas available, and a tank runs out: a gas tankless heats water as it flows and lasts more than 20 years[3], but the DOE cautions that even the largest gas model may not keep up with several uses at once in a large household[18], so size it to your peak flow; see tankless costs and the tankless guide.
  • Limited space: most 240-volt heat pump models need at least 700 cubic feet of air space[10], so a compact tank can fit where a heat pump unit can't.
  • A cold garage or basement: heat pump water heaters work most efficiently in spaces that don't regularly get colder than 38°F[10].

Tank or tankless?

A tank stores hot water and can run out; a tankless heater doesn't store water, so it doesn't run out but can only heat so much flow at once. In REMDB's estimates a condensing gas tankless costs more to install than a 50-gallon gas tank[6], about $2,450 against $2,050 at the mid estimate[6], and it lasts longer[3]. See the tankless guide and tankless costs.

If hot water takes a long time to reach a far tap, a hot water recirculating pump can shorten the wait with either type.

Sizing

  • Tanks are sized by first-hour rating, the hot water they can deliver in your busiest hour.
  • Tankless heaters are sized by flow rate and temperature rise.

The calculator's default four-person household (calculator assumptions) draws about 112 gallons of hot water a day. It puts 30 percent of that in the busiest hour, about 34 gallons (112 × 0.30 = 33.6), then adds a 20 percent margin for a first-hour rating near 40 gallons (33.6 × 1.2 = 40.3). Its household table, also a calculator assumption, then points to a 50-gallon gas tank, or 65 gallons for an electric or heat pump tank, which reheat more slowly.

For a tankless heater, size on flow and temperature rise instead. The calculator assumes 2.5 gallons per minute per fixture, the federal showerhead limit[11], so two fixtures at once make 5 gpm (2 × 2.5 = 5), and heating from an assumed 55°F inlet to the 120°F setting CPSC recommends[12] is a 65°F rise. Water weighs 8.34 pounds a gallon[13] and a Btu raises a pound by 1°F, so that's 5 × 60 × 8.34 × 65 = 162,630 BTU per hour, about 162,500.

Treating REMDB's 0.95 UEF for a condensing gas tankless[6] as the burner's efficiency (a calculator assumption), the unit draws about 171,100 BTU per hour of input (162,500 ÷ 0.95 = 171,053). That's under the 200,000 BTU per hour limit for a residential gas instantaneous water heater[14]. The same output from an electric tankless is about 47.6 kW (162,500 ÷ 3,412[15] = 47.6), about 198 amps at 240 volts (47,600 ÷ 240 = 198), which is why a whole-house electric tankless can need a panel upgrade.

Our sizing calculator estimates both, and what size tankless water heater covers flow and temperature rise in detail.

Efficiency ratings

Water heaters are rated by Uniform Energy Factor (UEF), from a federal 24-hour simulated-use test[16] that counts standby periods too; a higher number means less energy for the same hot water. In REMDB's water heater data, a standard electric tank is 0.93[6], just under 1, and a heat pump water heater 3.75[6], because it moves heat into the tank rather than making it.

Gas units read lower because combustion loses heat up the flue. ENERGY STAR requires a certified gas tankless model to reach a UEF of 0.95 or higher[2], while REMDB's standard 50-gallon gas tank is 0.64[6]. Compare models of the same type and size class, since the label figure is what drives the running cost.

Installation

  • Gas: a gas supply and the venting the manufacturer specifies; condensing models also drain condensate.
  • Electric: a 240-volt circuit sized to the tank, which ENERGY STAR's installer guide puts at a 30-amp breaker and 10-gauge wire for a typical electric storage water heater[10]. A whole-house electric tankless draws far more, as the 198-amp example above shows; see water heater wire size.
  • Heat pump: most 240-volt[10] models need at least 700 cubic feet of air space[10], though a closet of at least 84 cubic feet[10] can work with a fully louvered door. A 240-volt unit typically uses the same 30-amp breaker and 10-gauge wire[10].

Rebates

The federal 25C tax credit isn't allowed for property placed in service after December 31, 2025[17]. State-run HEEHR rebates cover up to $1,750[5] of a heat pump water heater for income-qualified households upgrading from existing electric equipment (DOE Program Notice 26-2)[4]; see the HVAC tax credits guide.

Maintenance and replacement

Follow the manufacturer's maintenance schedule for flushing sediment, checking the anode rod and, on tankless units, descaling. ENERGY STAR advises replacing a water heater proactively once it's over 10 years old[1]; see how long a water heater lasts.

Frequently asked questions

What is the most efficient type of water heater?

A heat pump water heater, which ENERGY STAR says uses less than half the energy of a standard electric tank[1]. Among the gas options here, a condensing tankless (UEF 0.95 in REMDB[6]) beats a standard gas tank (0.64[6]).

Is tankless better than a tank?

It doesn't run out and lasts longer[3], but it costs more to install[6] and has a flow limit: the DOE cautions that even the largest gas model may not supply several uses at once in a large household[18].

What size water heater do I need?

Size a tank by first-hour rating and a tankless heater by flow and temperature rise. Our sizing calculator does both.

How long do water heaters last?

A storage tank lasts 10 to 15 years[3] and a tankless unit more than 20[3], according to DOE; REMDB gives a heat pump water heater about 14.8 years[6].

Which water heater is cheapest to run?

A heat pump water heater, at about $312 a year for the calculator's default four-person household (calculator assumptions), against $1,257 for a standard electric resistance tank. Among gas options a tankless heater is cheapest at about $345 a year, with a gas tank near $513.

Is gas or electric better for a water heater?

It depends on the electric type. In the calculator's default household (calculator assumptions), a heat pump water heater is the cheapest of all at about $312 a year, but a plain electric resistance tank is the most expensive at about $1,257, more than a gas tank's $513. For costs by state, see electric water heating cost.

Sources & References

  1. ENERGY STAR: Heat pump water heater fact sheet (uses less than half the energy of a standard electric storage water heater; if your water heater is over 10 years old, be proactive and replace it)
  2. ENERGY STAR: Water Heater Key Product Criteria (gas tankless UEF 0.95 or higher)
  3. U.S. DOE: Energy Saver Guide, 2022 (PDF; storage water heaters last 10 to 15 years, tankless can last more than 20)
  4. U.S. DOE: Program Notice 26-2, High-Efficiency Electric Home Rebate (HEEHR) Program (effective May 29, 2026): rebates only from existing electric equipment to more efficient electric equipment
  5. 42 U.S.C. 18795a (High-Efficiency Electric Home Rebate Program: up to $1,750 for a heat pump water heater; 100% of cost below 80% of area median income, 50% from 80% to 150%)
  6. National Laboratory of the Rockies (formerly NREL): REMDB, version 4.0.0 (April 2025), Water Heater measure (retrofit, 2023 dollars): UEF gas tank 0.64, gas tankless condensing 0.95, electric tankless 0.98, electric tank 0.93, heat pump 3.75; mid installed cost about $2,450 condensing gas tankless and $2,050 for a 50-gallon gas tank; heat pump tank life 14.8 years
  7. U.S. EIA: U.S. Price of Natural Gas Delivered to Residential Consumers, annual (2025: $15.34 per thousand cubic feet; released October 30, 2026)
  8. U.S. EIA: Heat Content of Natural Gas Delivered to Consumers (U.S., 2025: 1,036 Btu per cubic foot)
  9. EIA: Electric Power Monthly, Table 5.6.B (U.S. residential average 18.19 cents/kWh, January to August 2026)
  10. ENERGY STAR: Heat Pump Water Heater Installation Guide (most 240 V unitary models need at least 700 cubic feet of air space; a closet of at least 84 cubic feet with a fully louvered door; most efficient in spaces not regularly colder than 38°F; a 240 V unit typically uses a 30-amp breaker and 10-gauge wire)
  11. 10 CFR 430.32 (showerheads: 2.5 gallons per minute at 80 psi)
  12. CPSC Publication 5098: Avoiding Tap Water Scalds (CPSC urges lowering water heaters to 120 degrees Fahrenheit, which also conserves energy)
  13. USGS Water Science School: A Million Gallons of Water, How Much Is It? (water weighs 8.34 pounds per gallon)
  14. 10 CFR 430.2 (a gas-fired instantaneous water heater has a nameplate input rating less than 200,000 Btu/h)
  15. NIST: Special Publication 811, Guide for the Use of the International System of Units (1 kW = 3,412 Btu/h)
  16. 10 CFR Part 430, Subpart B, Appendix E (Cornell LII): the Uniform Energy Factor comes from all the energy a water heater uses in a 24-hour simulated-use test, standby periods included
  17. IRS: FAQs for modification of sections 25C, 25D and others under Public Law 119-21 (FS-2025-05): 25C not allowed for property placed in service after December 31, 2025
  18. U.S. DOE Energy Saver: Tankless or Demand-Type Water Heaters (archived copy of a retired page, Wayback Machine, October 1, 2025): typically 2 to 5 gallons per minute; even the largest gas-fired model may not supply enough hot water for simultaneous, multiple uses in large households

Related Articles