Water Heater Installation Cost Calculator

Tank size
50 gal
Fuel
Where it sits
Your ZIP code

Showing the national average. Enter your ZIP code for local cost estimates.

Low $1,375
Typical $1,675
High $2,075

National average

Where these figures come from
  • Plumbing, heating and air-conditioning contractors, United States: $42.44/hour, August 2026 (BLS CES CES2023822003)
  • Gas storage water heater, base unit: $51.70 per heater (price recorded October 2026, not index-adjusted)
  • Gas storage water heater, capacity: $13.77 per gallon of capacity (price recorded October 2026, not index-adjusted)
  • Connectors, valve and discharge pipe: $85.00 per heater (price recorded October 2026, not index-adjusted)
  • Thermal expansion tank: $55.00 per heater (price recorded October 2026, not index-adjusted)

Water Heater Installation costs $1,375 to $2,075 for a typical 50 gal job in 2026, against a national benchmark of $1,675. Labor runs 3.8 crew hours at $42.44 an hour. Enter a ZIP code to apply that area's measured wages for this work and its regional price level.

What makes up the price

Labor $226 3.8 hours at $42.44/hour, 40% burden, 1.00x regional
Gas storage water heater, base unit $52 1 heater at $51.70 each
Gas storage water heater, capacity $689 50 gallon of capacity at $13.77 each
Connectors, valve and discharge pipe $85 1 heater at $85.00 each
Thermal expansion tank $55 1 heater at $55.00 each
Permit and disposal of the old heater $135
Contractor overhead and profit $434 35% applied to the work above
Typical total $1,675 $1,375 to $2,075 depending on contractor

Cost by size

National averages, before any local adjustment. Computed from the same model as the calculator above, so the two always agree.

Tank size Gallons of capacity Typical Range
30 gal 30 $1,275 $1,050 to $1,600
40 gal 40 $1,475 $1,225 to $1,825
50 gal 50 $1,675 $1,375 to $2,075
70 gal 70 $2,075 $1,700 to $2,550
85 gal 80 $2,250 $1,850 to $2,800

What actually drives the price

A water heater replacement is an unusually fixed job. The sequence is the same every time — isolate the supply, drain the tank, disconnect it, get it out, set the new one, make up the water connections and the relief discharge, fill, purge the air, test — and it takes a plumber most of a morning whether the tank holds 40 gallons or 75.

That is why the price does not scale the way people expect. Three things move it.

The appliance

Just under half of a typical quote. A 50 gallon gas heater is about $740 of a $1,675 job; the same capacity in electric is about $555, which is most of the gap between the two fuels.

Capacity moves this, but not proportionally. The burner or elements, the gas valve, the controls, the relief valve and the jacket are much the same whatever the tank holds, so going from 40 gallons to 50 adds around $140 to a gas heater rather than a quarter of its price.

Where it sits

The largest thing that separates two honest quotes on the same heater. An empty 50 gallon tank weighs around 140 pounds and a full one over 500, so the old one has to be drained before it moves at all — and then both of them have to travel the same route.

The fuel

Gas and electric are not grades of the same machine. A gas heater carries a burner, a draft hood and a gas valve, and fitting one means re-seating the vent connector and making up and leak testing the gas connection. An electric heater has two elements and lands on the circuit that is already there.

That difference shows up twice — in the appliance, and in about forty minutes of work.

What a fair quote includes

A replacement is not just the heater. These are not upsells, and a quote that leaves them out is either doing the job wrong or will be adding them later.

Item Typical Why it is there
New flexible connectors $14–18 each The old ones are work-hardened and are what fails next
Temperature and pressure relief valve $22 Code requires a new one; it is the safety device
Discharge pipe to the relief valve $15 Must run to a safe termination, not to the floor
Thermal expansion tank $48–62 Required on a closed system — see below
Permit $50–150 A plumbing permit and an inspection
Haul-away of the old tank $30–50 It goes for scrap

The expansion tank

This is the line that most often looks like padding and usually is not. If your supply has a backflow preventer, a check valve or a pressure regulator — most newer installations do — the plumbing is a closed system. Heated water expands with nowhere to go, pressure rises every time the burner fires, and the relief valve starts weeping.

The code requires an expansion tank on a closed system for that reason. If a quote includes one and another does not, the difference is around $55 of parts and a few minutes of work, and the one that includes it is the one that is right.

Repair or replace

Worth asking before you spend $1,675, because some failures are cheap.

Usually worth repairing

Usually not

The test that settles most cases: if the tank is leaking, replace it. If something attached to the tank has failed, repair it.

Tank or tankless

A fair comparison, because the honest answer is not the same for everyone.

A tankless unit costs roughly twice as much to install — more if the gas line has to be upsized or the venting replaced, which it often does — and uses around 25% less energy because it is not keeping 50 gallons hot around the clock. It lasts around 20 years against 8 to 12, and it does not run out.

It makes sense if you are staying put long enough to recover the difference, if the gas supply can carry it, or if running out of hot water is a real and regular problem. It does not make sense as an emergency decision with the old tank already leaking, because the extra work is exactly the work that cannot be done quickly.

If you are weighing it up properly, the tankless water heater calculator prices that job on its own terms.

Emergency replacement

A failed water heater is the clearest example on this site of a job where the price depends on when you call.

An emergency call-out, the same evening or at a weekend, commonly adds $150 to $400 — and the real cost is usually larger than that, because a homeowner with water on the floor takes the first quote and the first heater on the truck. That is how a 40 gallon tank ends up in a house that needed a 50, at a price nobody compared.

Two things help, and both have to happen before the failure.

  1. Know what you have. The capacity and fuel are on the label. Photograph it.
  2. Act on the warning. Rust in the hot water, a weeping relief valve, or a tank past ten years are all notice. Replacing on a Tuesday is cheaper than replacing on a Sunday, and it is the same heater.

If it has already failed: shut off the water supply to the heater and, on a gas unit, turn the gas control to off. On an electric one, switch off its breaker. That stops the damage spreading while you make two calls rather than one.

Sizing

Replacing like for like is right unless the hot water was already running out.

Household Gas Electric
1–2 people 30–40 gal 30–40 gal
2–3 people 40 gal 50 gal
3–4 people 40–50 gal 50–66 gal
5 or more 50–75 gal 66–80 gal

Electric heaters are sized larger for the same household because they recover far more slowly: a gas burner reheats a tank in roughly an hour, elements take two or three. Going up one size costs around $140 of equipment and nothing in labor, which is the cheapest change available on this page — and going up two sizes to be safe mostly buys you standby heat loss you pay for every month.

Questions worth asking

Common questions

How much does it cost to replace a 50 gallon water heater?

Around $1,675 installed for a natural gas tank, with most jobs falling between $1,375 and $2,075. The same capacity in electric runs closer to $1,375. About 45% of that is the appliance itself and the rest is labor, fittings, the permit and disposal of the old tank.

Is a gas or electric water heater cheaper to install?

Electric, by roughly $300 on a 50 gallon replacement. The appliance is about $185 cheaper and the installation is about forty minutes shorter, because there is no vent connector to re-seat and no gas connection to make up and leak test. Running costs usually go the other way: gas is cheaper to heat with in most of the US.

How long does it take to replace a water heater?

About four hours for a gas heater in an accessible spot and a little over three for an electric one. Most of that is a fixed sequence — draining, removing, setting, connecting, filling and testing — which is why a 75 gallon tank does not take twice as long as a 40. An attic or a tight closet adds to every step rather than adding a step.

Do I need a permit to replace a water heater?

In most US jurisdictions, yes, and a plumber quoting the job should be pulling it. It typically costs $50 to $150 and brings an inspection. Unpermitted work tends to surface at the worst moment: when you sell the house, or when an insurer asks about it after a leak.

What is a thermal expansion tank and do I need one?

A small tank that gives heated water somewhere to expand into. You need one if your supply has a backflow preventer, check valve or pressure regulator, which makes the plumbing a closed system — most newer installations. Without it, pressure rises every time the heater fires and the relief valve begins to weep. It is about $55 of parts, and a quote that includes it is the more complete one.

Should I repair or replace my water heater?

If the tank is leaking, replace it — a tank leaks because it has rusted through and there is no repair for that. If something attached to the tank has failed, repair it: an element is around $20, a thermocouple $15, a thermostat $30. Past twelve years, spending a few hundred dollars on a repair is buying a short extension at a poor price.

How long does a water heater last?

Eight to twelve years for a conventional tank, and around twenty for a tankless unit. Water that is hard or acidic shortens it. Replacing the anode rod every few years extends it materially and almost nobody does, which is why most tanks fail at the lower end of that range.

Why is an emergency water heater replacement more expensive?

The call-out itself commonly adds $150 to $400 for an evening or weekend visit, but the larger cost is the lost comparison. A homeowner with water on the floor takes the first quote and whatever heater is on the truck, which is how the wrong size gets fitted at a price nobody checked. Acting on rust, a weeping relief valve or an age past ten years turns an emergency into a Tuesday.

What size water heater do I need?

Like for like, unless you were running out of hot water. As a guide: 40 gallons of gas or 50 of electric for two or three people, 50 of gas or 66 of electric for four. Electric is sized larger because it recovers more slowly — a gas burner reheats a tank in about an hour where elements take two or three. Going up one size adds around $140 and no labor.

Is it worth switching to tankless?

It costs roughly twice as much to install and uses around 25% less energy, so it is worth it if you are staying long enough to recover the difference, if the gas supply can carry it, and if running out of hot water is a real problem. It is a poor emergency decision: the extra work — upsizing the gas line, new venting — is exactly the work that cannot be rushed with a leaking tank on the floor.

Where these numbers come from

Nothing here is copied from a contractor directory. Labor is priced from what the trades are actually paid, materials from published producer prices, and both are adjusted to your area using federal cost-of-living data.