TankVsTanklessWaterHeater.com is a comparison resource. Not affiliated with any manufacturer or individual contractor. Pricing reflects 2026 national averages.
Tank vs Tankless Water Heater Cost Comparison 2026: Upfront, Annual & Long-Term
The real question is not unit cost. It is total cost of ownership across the life of the heater. Here is the honest 20-year comparison.
Bottom line: At the DOE test's 55 gallons a day and the 2025 EIA gas price, a condensing gas tankless uses about $107/yr less gas than a minimum-efficiency tank, or $2,144 over 20 years. Tankless is cheaper over 20 years only if its installed price is less than that plus one tank replacement above your tank quote. Run it with your quotes.
Upfront Cost Breakdown (2026)
Cost Component
Gas Tank
Electric Tank
Gas Tankless
Electric Tankless
Unit cost
$400-900
$350-800
$800-1,500
$300-700
Labour (install)
$300-500
$250-450
$500-1,200
$300-800
Gas line upgrade (if needed)
N/A
N/A
$0-1,500
N/A
Electrical panel upgrade (if needed)
N/A
$0-1,500
N/A
$0-3,000
New venting
$0-300
N/A
$300-800
N/A
Permits
$50-150
$50-150
$75-200
$75-200
Total installed range
$800-2,000
$700-2,900
$1,800-6,200
$700-5,700
Annual Operating Cost
Energy = gallons a day x 365 x 8.3 lb/gal x 67°F rise (the DOE test's 58°F in, 125°F out) / UEF. Prices are the EIA US residential averages for 2025: $15.34 per thousand cubic feet of gas (10.37 therms, so $1.48 per therm) and 17.23 cents per kWh. Efficiency: gas tank 0.58 and electric tank 0.92 are the federal minimums for a 40-gallon gas and 50-gallon electric tank at medium draw (10 CFR 430.32); gas tankless 0.93 is a condensing model (Rheem RTGH-95DVLN); electric tankless 0.96 is the Rheem/EcoSmart ECOS rating.
DOE draw pattern
Gas Tank
Gas Tankless
Electric Tank
Electric Tankless
Annual Saving (Gas)
Low (38 gal/day)
$197/yr
$123/yr
$423/yr
$406/yr
$74/yr
Medium (55 gal/day)
$285/yr
$178/yr
$613/yr
$587/yr
$107/yr
High (84 gal/day)
$435/yr
$271/yr
$936/yr
$897/yr
$164/yr
20-Year Cost: Energy Plus Your Two Quotes
The energy side is the only part that can be worked out without your quotes. Gas, DOE medium use (55 gal/day), 2025 EIA price, same assumptions as the table above:
Years
Gas Tank energy
Gas Tankless energy
Tankless uses less by
5 years
$1,424
$888
$536
10 years
$2,849
$1,777
$1,072
15 years
$4,273
$2,665
$1,608
20 years
$5,697
$3,553
$2,144
The break-even test: over 20 years, tankless is the cheaper choice if (tankless quote - tank quote) is less than $2,144 + one tank replacement, adjusted for any difference in upkeep. Higher use, a higher gas price or colder incoming water widens the gap; low use narrows it. The calculator runs this with your own figures and finds the breakeven year.
The Replacement Cost Factor
This is the most commonly overlooked cost in tank vs tankless comparisons. A tank water heater needs replacing every 10-15 years. Over 20 years, that is usually one replacement, at roughly the price of the first install. A tankless unit, properly maintained, should last the full 20+ years without replacement. That single factor often determines which type is cheaper over the long term.
In a 20-year comparison, the tank side carries its own installed price twice (the first tank and its replacement) while the tankless side carries one. Put both quotes into the calculator and set how often you expect to replace the tank.
Hidden Costs to Budget For
Cost Item
Tank
Tankless
Notes
Gas line upgrade
Rarely needed
$500-1,500
If existing line is undersized for higher BTU demand
Electrical panel upgrade
$0-1,500
$0-3,000 (electric)
Electric tankless needs 100-200A dedicated circuit
New venting
$0-300
$300-800
Tankless uses different vent type (Category III stainless)
Permit fees
$50-150
$75-200
Required in most jurisdictions, varies by state
Condensate drain
N/A
$150-300
Condensing tankless only (high-efficiency models)
Annual maintenance
$50-150/yr
$100-200/yr
Tankless descaling more critical, especially hard water areas
Need Installation Cost Details?
This page covers the comparison. For granular installation cost data:
How much does a tankless water heater save over 20 years?
On energy, at the DOE test's medium use of 55 gallons a day, a condensing gas tankless (UEF 0.93) uses about $107 a year less gas than a minimum-efficiency 40-gallon gas tank (UEF 0.58) at the 2025 EIA residential average of $1.48 per therm: about $2,144 over 20 years. Whether that is a saving overall depends on the two installed quotes. Tankless comes out ahead over 20 years only if its installed price exceeds the tank's by less than that energy figure plus the tank replacement it avoids. Electric tankless saves far less over an electric tank, because electric tanks already convert about 92% of their energy to hot water.
What is the total installed cost of a tankless water heater in 2026?
Gas tankless units range from $2,000 to $6,500 total installed. The unit itself costs $800-1,500, installation labour is $500-1,200, and if your home needs a gas line upgrade ($500-1,500) or new venting ($300-800), those add significantly. Electric tankless total installed ranges from $1,200 to $4,500, with panel upgrades being the main wildcard.
How many tank replacements should I count over 20 years?
Count one for a tank that lasts 10-15 years, and two only if you expect it to fail before year 10. Each replacement costs roughly what the first install did, so the simplest honest model is to repeat your tank quote at the replacement year. The calculator on the homepage does that with the replacement interval you choose. This replacement cost is the most commonly overlooked factor in tank vs tankless comparisons.
Do I need to upgrade my gas line for a tankless water heater?
Possibly. Tankless water heaters have a much higher BTU input demand than tank heaters (150,000-200,000 BTU vs 30,000-40,000 BTU for tanks). If your existing gas line cannot support that flow, a plumber will need to upsize it. This costs $500-1,500 depending on pipe length and local labour rates. Always ask your installer to assess the gas line before agreeing to the project.