Choosing between tank and tankless water heaters depends on annual operating cost. The correct comparison uses the Uniform Energy Factor (UEF), which accounts for water heating and standby heat loss. For a household drawing 55 gallons daily, a gas tank (UEF 0.64) costs roughly $21/month, while a non-condensing tankless (UEF 0.84) costs $16/month. For electric units, a tank (UEF 0.92) runs near $53/month and a tankless (UEF 0.99) around $49. The annual difference can reach $60+ for gas models, depending on fuel rates and daily draw.

UEF and Standby Loss: The Real Efficiency Basis

UEF measures total energy input against useful hot water delivered over 24 hours, including standby losses. A gas tank may burn at 80% combustion efficiency, but its UEF falls between 0.58 and 0.70 due to standby loss. Non-condensing tankless units rate 0.81 to 0.87; condensing tankless models reach 0.93 to 0.97. Standby loss accounts for 15 to 25% of a tank's annual energy use, meaning a UEF 0.64 tank loses roughly one-fifth of input energy to surrounding air. Tankless units have zero standby loss, so their UEF is consistently higher.

However, tankless savings shrink as daily usage rises. The U.S. DOE estimates tankless savings at 24 to 34% for homes drawing ≤41 gallons/day. At 86 gallons/day, savings fall to 8 to 14%, as the tankless burner runs longer at full capacity, narrowing its efficiency advantage.

Annual Cost Formula for Gas Units

For gas heaters, annual cost = 41,045 x fuel cost per therm x 365 / (100,000 x UEF). The constant 41,045 is the daily Btu requirement for standard test conditions, and 100,000 converts therms to Btu.

At $1.20/therm, a UEF 0.64 tank costs $280/year; a UEF 0.84 non-condensing tankless costs $214; a UEF 0.95 condensing tankless costs $189. The tank-to-non-condensing gap is $66/year, and to condensing is $91/year. Fuel rate is the dominant variable. At $0.80/therm, costs are $187, $143, and $126, respectively. At $2.00/therm, they are $467, $356, and $315. Higher fuel prices increase absolute dollar savings, but percentage savings stay roughly constant as the UEF ratio doesn't change.

Annual Cost Formula for Electric Units

For electric heaters, annual cost = 12.03 x cost per kWh x 365 / UEF. The constant 12.03 is the daily kWh of useful thermal energy (daily Btu / 3,412 Btu per kWh).

At $0.15/kWh, a UEF 0.92 tank costs $716/year; a UEF 0.99 tankless costs $665/year (a $51 difference). At $0.25/kWh, costs are $1,193 and $1,109 (an $84 difference). Savings are modest because electric resistance heating is already efficient and electric tank standby loss is small. Heat pump water heaters (UEF 3.75) use far less electricity—$176/year at $0.15/kWh—but have slower recovery rates and require adequate air volume, affecting installation location and continuous high-demand supply.

Daily Thermal Energy and Standby Loss in kWh

Daily thermal energy = gallons/day x 8.334 x temp rise (°F), yielding Btu/day. Dividing by 3,412 gives kWh/day. For 55 gallons/day with a 67°F rise (58°F to 125°F), this is 30,707 Btu or 9.0 kWh/day. The DOE medium draw test uses 55 gallons and a 65°F rise, giving 29,794 Btu or 8.73 kWh/day.

A 50-gallon electric tank (UEF 0.92) has ~1.20 kWh/day standby loss, totaling 438 kWh/year ($66 at $0.15/kWh). Tankless units have zero standby loss. At 30 gallons/day (65°F rise), useful energy is 16,252 Btu or 4.76 kWh. An electric tank consumes 5.17 kWh/day, a tankless 4.81 kWh/day—an annual difference of 132 kWh ($20 at $0.15/kWh). At 80 gallons/day, useful energy is 43,338 Btu or 12.70 kWh; the tank consumes 13.80 kWh/day, the tankless 12.83 kWh/day—an annual difference of 354 kWh ($53 at $0.15/kWh).

Payback Period and Breakeven Rules

Payback depends on annual savings and installed cost premium. If a gas tankless costs $1,500 more and saves $66/year, payback is ~23 years. At $2.00/therm ($111 annual savings), payback drops to ~14 years. Installed cost premiums vary, making payback range from 5 to over 25 years.

Lifespan also matters. Tanks last 10 to 15 years; tankless units 20+ years. If a tank needs replacement at year 12, a tankless avoids this cost. A tankless costing $1,500 more but avoiding a $500 tank replacement effectively has a $1,000 net premium, shortening payback.

Breakeven also depends on the efficiency gap versus the old unit. Replacing a UEF 0.55 tank with a UEF 0.95 tankless saves $113/year at $1.20/therm; replacing a UEF 0.70 tank saves only $54/year. Older, less efficient tanks see faster paybacks.

Verification Checklist for Your Own Estimate

To calculate annual cost, gather: daily hot water draw (gallons), incoming cold water temperature (coldest month) to find temperature rise, UEF rating, and current fuel rate. For gas, use annual cost = 41,045 x fuel cost/therm x 365 / (100,000 x UEF). For electric, use annual cost = 12.03 x cost/kWh x 365 / UEF.

Compare existing versus candidate tankless models. Include installed cost difference and expected lifespan. If annual savings x expected years exceeds the installed cost premium, tankless is lower-cost over its service life. Check daily draw against DOE thresholds: at ≤41 gallons/day, tankless savings are likely 24 to 34%; at 86 gallons/day, 8 to 14%. High-draw households with multiple simultaneous showers should consider a larger tankless or higher-UEF tank, as the tankless advantage narrows at high flow rates.