Choosing between a tankless and a storage water heater usually comes down to annual energy cost, but the answer changes with daily hot water use. The UEF (Uniform Energy Factor) is the key metric, because it accounts for standby loss as well as combustion or heating efficiency. A gas storage tank with an 80% efficient burner may still rate only about 0.64 UEF, since standby loss pulls the number down. Tankless units eliminate most standby loss, so their UEF can be much higher. This article lays out the math and gives concrete thresholds for deciding which type is cheaper to run.

Understanding UEF and the Annual Energy Equation

UEF is measured under DOE draw patterns that simulate real household use. It includes standby loss, which is why a gas tank with a high combustion efficiency can still have a modest UEF. For gas units, the energy per year is calculated as gallons per day × 365 × 8.3 lb/gal × temperature rise ÷ UEF, in BTU. That result is then divided by 100,000 BTU per therm to get therms. For electric units, the same formula applies but the final BTU value is divided by 3,412 BTU per kWh. The DOE test condition for inlet water is 58°F and outlet is 125°F, so the temperature rise is 67°F.

Typical UEF ranges are: gas storage tank 0.58-0.70, non-condensing gas tankless 0.81-0.87, condensing gas tankless 0.93-0.97, electric storage tank 0.90-0.95, and electric tankless 0.97-0.99. The spread between gas storage and gas tankless is large, but the spread between electric storage and electric tankless is small. This means the fuel type matters more than the tankless-versus-tank decision in many cases.

Daily Hot Water Use Determines the Savings

DOE draw pattern data shows that the tankless advantage is 24-34% below 41 gallons per day. At that low usage, standby loss from a storage tank is a large share of total energy. A tankless unit only heats water when there is a draw, so it avoids the constant standby loss of a tank. As daily hot water use rises to about 86 gallons, the tankless advantage falls to 8-14%. The reason is that the heating efficiency of the burner or element is similar between tankless and storage; nearly all of the tankless saving comes from eliminating standby loss. When the tank is being used heavily, the standby loss is a smaller fraction of the total.

For a four-person household with average usage, at $0.18/kWh and $1.48/therm, the annual energy cost estimates are: heat pump water heater about $312, gas tankless $345, gas storage tank $513, tankless electric $1,193, and tank electric $1,257. The gas tankless is cheaper to run than the gas tank, but the electric options are much more expensive per unit of hot water. The heat pump unit is the lowest operating cost, but it has different installation requirements.

Installed Cost and Lifespan Trade-Offs

Average installed costs from DOE data show gas storage tank at $1,376 and gas tankless at $2,282. The tankless unit costs about $900 more to install. Tankless also needs a larger gas line, matched venting, and on condensing models a condensate drain. Storage tanks last 10-15 years; tankless units last about 20 years. So the tankless unit has a longer lifespan, which helps offset the higher initial cost. Over a 10-year period, the gas tankless can be cheaper overall due to lower annual energy use, especially if daily hot water use is below 41 gallons.

Heat pump water heaters need a 240V circuit, a condensate drain, and open air or ducting. They are not a direct drop-in replacement for a conventional tank in every location. If the installation space is tight or has no condensate drain, the heat pump option may not be feasible. For electric units, the tankless model has a slightly higher UEF but the installed cost is usually higher as well, and the annual energy savings are small because the UEF difference is only 0.04-0.09.

Decision Thresholds Based on Daily Draw

If you use less than 41 gallons per day, a gas tankless unit will likely save 24-34% on gas energy compared to a gas storage tank. That is a meaningful reduction. If you use about 86 gallons per day, the savings drop to 8-14%. At that point, the higher installed cost may not be recovered within the tankless unit's lifespan. The break-even point depends on local gas prices, installation cost, and how long you plan to stay in the home.

For electric water heaters, the DOE estimated annual cost equation is 12.03 × cost per kWh × 365 / EF. This equation shows that the annual cost is inversely proportional to the efficiency factor. With a UEF of 0.90 for a tank and 0.97 for a tankless, the tankless unit uses about 7% less energy. That is a small saving, and it rarely justifies the higher installed cost unless the tankless unit is replacing an old unit that already has the correct electrical service.

Verification Checklist

To apply this math to your own situation, collect the following items. First, find the UEF rating on the product label or in the manufacturer's spec sheet. Second, estimate your daily hot water use in gallons. Third, note the local gas price per therm and electricity price per kWh. Fourth, get an installed cost quote for both tankless and storage units, including any gas line upgrades, venting changes, or condensate drain work. Fifth, calculate the annual energy cost using the formula: gallons per day × 365 × 8.3 × 67 ÷ UEF, then convert to therms or kWh. Sixth, compare the annual difference against the installed cost difference to estimate the payback period. Seventh, factor in the expected lifespan of each unit to determine the 15-20 year total cost.