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.

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 tankless | Electric tankless | |
|---|---|---|
| Peak demand at 3.0 GPM | about 103,400 BTU/h of gas | about 27.3 kW, roughly 114 amps at 240 V |
| Yearly energy | about 134 therms | about 3,610 kWh |
| Yearly cost | about $201 | about $614 |
| Installed price (assumed) | about $3,775 (vent, gas line) | about $3,150 (circuits, no panel upgrade) |
| 10-year total | about $5,785 | about $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:
| Heater | What 5.75 GPM requires | Practical? |
|---|---|---|
| Electric tankless | about 52 kW, roughly 218 amps at 240 V | No, beyond a normal home service |
| Gas tankless | about 198,000 BTU/h | Yes, 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.

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
| Household | Best choice | Why |
|---|---|---|
| One bathroom, 1 to 2 people, warm inlet water | Electric tankless is fine | Low GPM; one 240 V feed may be enough if the panel has room |
| 2 to 3 bathrooms, gas already in the house | Gas tankless | Handles two showers at once; $201 a year in our example |
| 2 to 3 bathrooms, no gas | Heat pump tank | About $161 a year at national average prices, far less than electric tankless at $614 |
| Cold-inlet climate, 4 or more people | Gas tankless or a tank | Electric 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.

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
- Count your peak fixtures and add the GPM (2.5 per shower, 0.75 per faucet as a DOE planning figure).
- Measure your winter inlet water temperature and subtract it from 120°F to get your rise.
- Calculate: electric kW = GPM x rise x 0.14666; gas BTU/h = 500.4 x GPM x rise / efficiency.
- Have an electrician or gas installer confirm the supply for that number, in writing.
- Compare itemized quotes on the 10-year total, not the box price.
Sources
- ENERGY STAR: How Whole-Home Gas Tankless Water Heaters Work
- ENERGY STAR: Whole-Home Tankless Gas Water Heaters
- U.S. Department of Energy: Consumer Water Heaters
- U.S. Department of Energy: Measure Guideline, Transitioning to a Tankless Water Heater
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.


