Skip to content
HeaterGuides
Water Heater

What Size Gas Line Does Your Water Heater Need?

On this page 5 sections
  1. What Size Gas Line Does Your Water Heater Need?
  2. Gas Line Size for Tankless Water Heaters
  3. What Changes the Required Gas Line Size?
  4. Check the Gas Line Before You Replace the Heater
  5. Questions People Ask
Quick answer
A gas water heater needs a gas line sized to its BTU input, pipe length, fuel, and the other appliances sharing the run. As a starting point, a 40,000-BTU storage tank commonly has a 1/2-inch branch line on a short run; a 199,000-BTU tankless unit may need 3/4 or 1 inch. Verify with code charts.

A 199,000-BTU tankless heater can demand nearly five times the input of a 40,000-BTU tank. That difference is why swapping the appliance connector rarely solves an undersized supply line.

The pipe from the meter, the branch to the heater, the gas pressure, and every appliance downstream all matter. The guide will separate those jobs so you know what to measure before calling a licensed gas fitter.

What to remember
Size the gas piping from the heater’s input BTU, the longest applicable run, fuel type and total downstream load.
A 1/2-inch branch may suit a short 40,000-BTU tank, while a high-input tankless heater often needs 3/4-inch or 1-inch piping.
Use a propane-specific chart for propane; natural-gas and propane capacities are not interchangeable.
A flexible connector is the final hookup, not a substitute for correctly sized black iron, CSST or other approved supply piping.
Have a licensed professional verify the meter, regulator, pipe sizing, shutoff and local code before changing gas piping.

What Size Gas Line Does Your Water Heater Need?

For a gas water heater, size the supply pipe from the heater’s nameplate input BTU—not the tank’s gallon capacity—and account for pipe length, fuel, pressure and the total load served by each pipe section. A short 1/2-inch branch commonly serves a roughly 40,000-BTU storage tank, but the applicable code chart and installation conditions determine the required size.

That’s the basic answer to “What Size Gas Line Does Your Water Heater Need?” The hot water heater gas line size, gas water heater gas line size and gas line size for water heater all depend on the same calculation; “what size are water heater lines” has no single answer for every home. A gas line for water heater use must deliver enough gas at the appliance while other connected equipment runs.

Branch Line Versus Main

what size propane line for tankless water heater: Branch Line Versus Main

The branch carries the water heater’s load; the upstream main or trunk must carry the combined load of every appliance downstream. For example, a section feeding the heater, furnace, range, dryer and fireplace must be sized for their combined input, not just the water heater’s nameplate.

The heater’s gas inlet and flexible connector don’t automatically tell you the correct supply-pipe size. A connector is only one part of the path, and a larger connector cannot make an undersized upstream pipe adequate.

Nominal pipe size10 ft20 ft50 ft
1/2 inch72,000 BTU50,000 BTU31,000 BTU
3/4 inch150,000 BTU105,000 BTU67,000 BTU
1 inch275,000 BTU195,000 BTU125,000 BTU
1-1/4 inchCheck applicable chartCheck applicable chartCheck applicable chart
Natural-gas planning capacities in BTU per hour. Use the applicable fuel, pressure and code chart for an actual installation; capacities vary with conditions and local requirements.
Worked Example: A 40,000-BTU Tank
Say the tank’s nameplate input is 40,000 BTU per hour, the actual run is 25 feet, and the route has three elbows and one tee. If the applicable method puts the equivalent length at about 40 feet, compare that length with the code chart: the 1/2-inch branch may be adequate for the heater alone, but only if its listed capacity at that length meets or exceeds 40,000 BTU. Then check the upstream section against the heater plus every other downstream appliance. If that combined load exceeds the section’s chart capacity, the branch result doesn’t make the main sufficient.
Nameplate input40,000 BTU/h
Actual run25 feet
Fittings3 elbows and 1 tee
Equivalent lengthAbout 40 feet
Read the Nameplate
Use the input rating in BTU per hour, not the tank’s storage capacity in gallons. If the nameplate is missing or unreadable, have a qualified professional identify the appliance rating before sizing the line.
Leave Gas Piping to a Pro
Fittings, meter capacity, regulator pressure and local code amendments can change the result. Have a licensed professional size and install gas piping; don’t enlarge or alter a line based on a rule of thumb or this planning table.

Gas Line Size for Tankless Water Heaters

A tankless water heater’s gas line size depends on its nameplate BTU input, the longest pipe run, the gas type and the minimum inlet pressure in its installation manual. Many high-input units need 3/4-inch or 1-inch piping, but there’s no reliable size based on the word “tankless” alone.

For a 199,000-BTU tankless heater, a 1/2-inch branch that served an older storage tank may be too small. The tankless burner can demand several times the gas flow, causing pressure to drop when it fires; low inlet pressure can reduce output or make the unit shut down. See how gas line size affects tankless water heater performance for more on that pressure drop.

For a propane tankless water heater, use a propane-specific sizing chart—not a natural-gas chart—and include the regulator, supply pressure, longest run and every propane appliance on the system. Natural-gas sizing often uses 7 inches of water column as an appliance-pressure reference, but propane pressure and individual appliance requirements differ. The heater’s nameplate and installation manual set the required inlet pressure.

Tank capacity doesn’t size the gas pipe
A 50- or 75-gallon water heater is sized by its input BTU, pipe length and system conditions, not gallons. The same applies to a 100-gallon heater: “199,000 BTU” identifies a substantial load, but it does not tell you the gas inlet size. Check the appliance documentation and size the supply piping for the actual load and pressure.

A 3/4-inch supply at 7 inches water column for 250,000 BTU per hour might work on one run and fail on another; length and the applicable sizing table decide. A connector’s diameter doesn’t fix an undersized supply pipe, either. Match the connector to the appliance instructions, but have a licensed plumber verify the piping and pressure.

Keep the storage tank
Usually lower gas demand than a high-input tankless unit
Existing gas piping may already suit the replacement, if verified
Upgrade to tankless
Limited stored hot water
Tankless may require larger piping or repiping
Tankless output depends on gas capacity and incoming-water temperature

What Changes the Required Gas Line Size?

Gas-line size is set by fuel, connected gas demand, pipe length and allowable pressure drop; insulation, ceiling height and climate affect the water heater you need, not the pipe diameter directly. That distinction matters when you’re replacing a heater or searching for a Bradford White model: the brand name doesn’t determine the gas-line size. Check the specific model’s nameplate and installation instructions.

A 40,000-BTU storage tank, a 199,000-BTU tankless unit and an electric or heat-pump water heater have different supply needs. Natural gas and propane use different sizing data, so never use a chart for the wrong fuel. Electric and heat-pump models have no gas line; size their electrical circuit and breaker or fuse to the nameplate and installation instructions.

Heater exampleKey sizing inputGas-line requirementCommon mistake
40,000-BTU gas tankTotal connected load and longest pipe runCheck the correct fuel and pressure chartAssuming tank capacity or brand sets the pipe size
199,000-BTU tanklessNameplate input, fuel, run length and required inlet pressureUse the model’s manual and applicable sizing chartAssuming the old tank’s line will support it
Electric or heat-pump modelNameplate electrical requirements and household hot-water demandNo gas lineChoosing electrical capacity from tank gallons alone
Examples only; verify the actual appliance and piping with the applicable code and manufacturer instructions.

For a one-bath studio apartment, a smaller storage tank may suit modest use, but simultaneous showers or a colder inlet can change the choice. A tankless model must handle the fixtures you expect to run together. Poor insulation, high ceilings and a colder climate increase space-heating needs; colder incoming water also means the heater must raise water temperature more. Those factors can affect capacity and recovery, not gas-pipe diameter by themselves.

To size an electric water heater in kW, use the unit’s nameplate and installation instructions, then confirm the circuit and breaker match. Heat-pump models also need enough capacity for your household’s hot-water use; compare their specifications with a conventional heater rather than choosing by tank size alone. A larger home doesn’t automatically mean a larger gas pipe.

Stop if combustion looks wrong
An undersized line can cause pressure drop, burner derating, slow recovery, ignition trouble or nuisance shutdowns. A yellow flame, soot or other abnormal combustion sign calls for shutting the heater off and contacting a qualified professional; faulty combustion can produce carbon monoxide. Don’t keep resetting it.
Myth
A larger gas pipe always makes the heater perform better.
Fact
Oversizing can add material cost and make routing harder, but it won’t raise output if the appliance regulator or burner is the limit. A larger pipe also won’t fix a misadjusted regulator, blocked vent, bad gas valve or undersized meter. Have a licensed professional diagnose the cause rather than guessing at pipe size.
Size the household’s hot water separately
A one-bath studio may need less stored hot water than a larger home, but the right tank or tankless capacity depends on usage, simultaneous draws and incoming-water temperature. For that decision, see hot water heater sizing for your home.
From HeaterGuides · our own guidePage 15 sizes your next heater for your household and flow rate.Water Heater Owner's Toolkit: the printable guide and its Excel calculatorWater Heater Owner's ToolkitFix the common faults yourself, keep it running for years, and know when a repair is money wasted.No-hot-water flowcharts, gas and electricFlush, anode, relief valve and descaling stepsRepair-or-replace calculator (Excel)$14.99 $9.99Get it for $9.99See what's inside and watch the 2-minute video →18-page printable PDF + Excel calculator · instant download · 30-day refund

Check the Gas Line Before You Replace the Heater

Before replacing the heater, verify the fuel, BTU input, pipe route, shared appliance load and meter capacity; a 40,000-BTU heater often uses a 1/2-inch final connector, but BTU alone cannot set the supply-line size.

A gas stove, furnace and water heater don’t automatically use the same line size. The shared section is sized for their combined demand, while each branch is sized for the appliance on that branch. Black-pipe fittings usually match the pipe’s nominal size; elbows, tees and reducers still affect the approved sizing calculation.

For a 40,000-BTU water heater, the flexible connector size is commonly in the 1/2-inch appliance-connector band when the heater manual, shutoff and local code allow it. The gas connector is the short final link; the gas cock is the accessible appliance shutoff valve, and both must be approved for the appliance and fuel. Never choose either by thread appearance or force mismatched fittings together.

A connector can’t cure a small pipe
A larger or newer connector cannot make an undersized branch or shared main adequate. If the heater starves for gas, the supply piping, regulator, meter capacity or pressure may need correction by a licensed professional.

If the final connection needs a listed 1/2-inch connector and its exact fittings, length and certification match the heater and local requirements, Product 1 provides a 48-inch coated stainless line with several listed connector fittings. It only handles that final connection, not the branch pipe or meter; use this flex gas line buying guide to check compatibility before buying.

48" Flex Gas Line
If your heater needs a matching 1/2-inch
48″ Flex Gas Line
Product 1 is a 48-inch coated stainless connector with 1/2-inch MIP and FIP fittings among its included options. Use it only when the heater instructions and local code accept those fittings, length and connector listing.
See current price
1
Read the nameplate
Photograph the heater nameplate and record its fuel—natural gas or propane—and input BTU per hour. Use input BTU, not tank gallons.
2
Trace the supply
Follow the pipe back to the meter, measure the longest actual route, and count fittings or account for their equivalent length under the applicable sizing table.
3
Map the load
List every appliance served by each pipe section, including the furnace, range, fireplace and dryer. The shared run carries their combined demand.
4
Check the source
Have the meter capacity, regulator setting and required inlet pressure checked against the appliance manual. Fuel-gas installation, leak testing, venting and combustion checks belong to a licensed professional where required.
Bring these details to the pro
A clear nameplate photo, pipe measurements and appliance list can prevent a second visit. Don’t disconnect a gas line just to measure its fitting.
Ordered Check Before Replacement
1. Photograph the heater nameplate.
2. Record fuel type and input BTU.
3. Trace the pipe back to the meter.
4. Measure the longest actual route.
5. Count fittings along each section.
6. List every appliance on each section.
7. Check meter capacity, regulator capacity and pressure.

Questions People Ask

What size fuse do I need for an electric water heater?
Use the heater’s nameplate and installation manual to choose the circuit protection; most full-size electric tank heaters require a dedicated 240-volt circuit, not a fuse selected by guesswork. A licensed electrician should verify the breaker or fuse rating, wire size and disconnect together.
What size fuse is needed for a 30-gallon electric water heater?
The 30-gallon capacity doesn’t determine the fuse size; the heating element wattage and nameplate do. Check the model’s wiring diagram and local code, or have an electrician size the circuit and protection for that exact unit.
What size socket do I need to remove a water heater anode rod?
Many anode rods use a 1-1/16-inch hex head, but some models differ, so check the manual or measure the head before buying a socket. Use a six-point socket and a breaker bar; shut off power or gas, close the cold-water supply and relieve tank pressure before loosening the rod.
How do I decide the size of an anode rod for a water heater?
Choose a replacement that matches the heater’s specified length, diameter and connection, rather than sizing it by tank gallons alone. A flexible or segmented rod may fit where overhead clearance is limited, but confirm the model compatibility and leave enough room to install it.
What size water pump should I use to descale a tankless water heater?
Use a pump that meets the heater manufacturer’s flushing instructions for flow and head, and can circulate descaling solution through the service ports. Pump capacity varies by model; don’t choose by tank size, and never run the burner while descaling.
Do gas water heaters and gas stoves use the same size gas line?
They can share a properly sized supply, but the pipe size depends on the combined BTU demand, pipe length, fuel and allowable pressure drop. A line adequate for a stove alone may be too small once the water heater fires; have a qualified gas fitter check the whole run.
What size gas cock do I need for a water heater?
The shutoff valve must match the appliance connection and the gas-pipe size required by the heater’s manual and local code; there isn’t one universal size. Gas piping and valve work should be handled by a licensed professional where required, with leak testing after installation.

Joye Editor

HeaterGuides covers home heating, water heating and HVAC: how the equipment works, what it costs to run, and how to use it safely.

More in Water Heater