Gas vs Electric Tankless Water Heater: Which Is Better?

Last updated: November 30, 2026

Choose gas if your house has gas and can vent it. Choose electric only for one bathroom, or after an electrician has confirmed your panel can carry it. In our worked example a gas tankless costs about $201 a year to run and $5,785 over 10 years including installation. The electric one costs about $614 a year and $9,290 over 10 years. The bigger problem for electric is not the bill, it is the electrical load: one whole-home unit can ask for more than half of a 200-amp panel.

Modern bathroom with a glass shower enclosure

Same house, two heaters: the numbers

Assumptions: a family of four using 64 gallons a day, incoming water at 58°F, delivered at 120°F (a 62°F rise), electricity at 17 cents per kWh, gas at $1.50 per therm, and a condensing gas unit at 90% efficiency. Peak demand is two showers at once, 3.0 gallons per minute (GPM).

Gas tanklessElectric tankless
Peak demand at 3.0 GPMabout 103,400 BTU/h of gasabout 27.3 kW, roughly 114 amps at 240 V
Yearly energyabout 134 thermsabout 3,610 kWh
Yearly costabout $201about $614
Installed price (assumed)about $3,775 (vent, gas line)about $3,150 (circuits, no panel upgrade)
10-year totalabout $5,785about $9,290

The formulas: electric kW = GPM x temperature rise x 0.14666, and gas BTU/h = 500.4 x GPM x temperature rise, divided by efficiency. Change the inputs in our cost calculator or size calculator for your own water temperature and prices. The installed prices are our assumptions; get itemized quotes.

The electrical test: can your panel run it?

That 114 amps is usually delivered as several dedicated double-pole breakers. On a typical 200-amp service it is 57% of the total capacity, before the range, dryer, air conditioner or an electric car charger. A home with an older 100-amp panel is a service upgrade, and that cost is not in the $3,150 above.

Now add a third fixture. Two showers at 2.5 GPM each plus one faucet at 0.75 GPM is 5.75 GPM (DOE planning figures). With a 62°F rise that needs:

HeaterWhat 5.75 GPM requiresPractical?
Electric tanklessabout 52 kW, roughly 218 amps at 240 VNo, beyond a normal home service
Gas tanklessabout 198,000 BTU/hYes, at the top of the whole-home range (the largest gas models are around 199,000 BTU/h)

This is why DOE’s typical capacity figures put a gas tankless near 5 GPM and an electric one near 2 GPM at a 70°F rise. Electric whole-home units work in warm-water climates with one or two fixtures, and not in a cold-inlet household with a busy morning. Our tankless sizing guide walks through your own GPM and rise.

Gas tankless water heater with yellow gas supply line, shutoff valve and combustion exhaust vent

The gas test: can you vent it and feed it?

A 103,400 BTU/h input is more than double what a standard 40-gallon gas tank burns, so the existing gas line is often too small and gets replaced or upsized. That, plus the vent, is why we budget $3,775. Check four things before you buy:

  • Gas line: ask the installer to confirm the pipe size and pressure can deliver the unit’s maximum input while your furnace and range are also running.
  • Vent route: a legal path to the outside, with the clearances in the manual.
  • Condensate: condensing models need a drain for the acidic condensate they make.
  • Power: most gas units need a 120 V outlet for the fan and controls, so they stop in a power outage.

ENERGY STAR says its certified gas tankless models use a secondary heat exchanger and use about 9% less energy than conventional gas tankless units; that compares gas models with each other, not with electric. See how gas tankless heaters work and our installation requirements guide.

Pick by household

HouseholdBest choiceWhy
One bathroom, 1 to 2 people, warm inlet waterElectric tankless is fineLow GPM; one 240 V feed may be enough if the panel has room
2 to 3 bathrooms, gas already in the houseGas tanklessHandles two showers at once; $201 a year in our example
2 to 3 bathrooms, no gasHeat pump tankAbout $161 a year at national average prices, far less than electric tankless at $614
Cold-inlet climate, 4 or more peopleGas tankless or a tankElectric tankless runs out of capacity at a large temperature rise

Also compare against a tank: at national average prices a standard electric tank costs about $613 a year, a gas tank about $302 and a heat pump about $161. Tankless saves standby loss but is not automatically the cheapest; see is a tankless water heater worth it and tank vs tankless.

Electrician inspecting a residential electrical breaker panel to verify capacity for an electric tankless water heater

Upkeep in one paragraph

Both types scale up in hard water, so descale the heat exchanger or elements on the schedule in the manual and more often if your water is hard. Gas units also need the vent and air intake inspected and the condensate drain kept clear. Electric units need their electrical connections checked if breakers trip or terminals overheat. For lifespan numbers see how long water heaters last.

Before you order

  1. Count your peak fixtures and add the GPM (2.5 per shower, 0.75 per faucet as a DOE planning figure).
  2. Measure your winter inlet water temperature and subtract it from 120°F to get your rise.
  3. Calculate: electric kW = GPM x rise x 0.14666; gas BTU/h = 500.4 x GPM x rise / efficiency.
  4. Have an electrician or gas installer confirm the supply for that number, in writing.
  5. Compare itemized quotes on the 10-year total, not the box price.

Sources

Calculations are ours, from the assumptions stated. Gas, electrical and venting work must follow the manufacturer’s instructions and local code; use a licensed professional.

About the author: Gerard Soteras is the founder and editor of Heater Guide HQ. Every guide is researched from manufacturer manuals, U.S. government sources and published cost data, and the numbers come from our own calculations, which we show in each article. Read our editorial policy to see how we research, write and update content, or learn more about the site.

Scroll to Top