
Water Heater Sizes: Sizing by First Hour Rating and Code Rules
Water heater sizes are set by working out the household's peak hour hot water demand and choosing a unit whose first hour rating meets or exceeds that load. Usable hot water and the heating input that recovers it matter more than nominal tank capacity, and the 2021 UPC adds a minimum first hour rating by bedrooms and bathrooms.
This guide takes water heater sizes from the sizing method through to the installation rules in the 2021 IPC and the 2021 UPC Chapter 5. It covers how peak hour demand, first hour rating and recovery fit together, and then what each code requires once the unit is on site.
What size water heater do I need?
You need a unit whose first hour rating is at least equal to the household's peak hour demand. Where the UPC applies, it must also meet the minimum the code sets for the number of bedrooms and bathrooms. The tank volume printed on the box is not the figure that decides water heater size.
Peak hour demand is the most hot water the household draws in its single busiest hour. Picture a family of four on a weekday morning: showers back to back, a lavatory or two, the kitchen sink, perhaps the dishwasher or a load of laundry. Those uses overlap, and the heater has to keep up with the overlap, not with the day's average. To estimate it, list every hot water use the client expects in that hour, put a volume against each from the fixture or appliance data, and add them up. Ask the client rather than reading the floor plan. Two teenagers who both shower before school change the answer more than an extra half-bath does.
Watch out
Sizing by nominal tank gallons alone is the classic mistake. A tank never gives its full nominal volume as usable hot water, because incoming cold water mixes with what is left as it is drawn down.
First hour rating sets the minimum size
The first hour rating (FHR) is the number of gallons of hot water a storage heater can supply in one hour, starting from a tank fully up to temperature. It combines storage and recovery in one figure, which is why it is the number you match against peak hour demand. A note to UPC Table 501.1(2) tells you where to find it: on the unit's Energy Guide label.
The 2021 UPC turns this into a rule. Section 501.1 ties the minimum capacity of a storage heater to the first hour rating in Table 501.1(2), and solar water heaters must be sized to the same table. There is no standard water heater size in the code, only a floor set by bathrooms and bedrooms.
Minimum first hour rating, UPC Table 501.1(2):
- 1 to 1.5 bathrooms: 38 gallons for 1 bedroom and 49 gallons for 2 or 3 bedrooms
- 2 to 2.5 bathrooms: 49 gallons for 2 bedrooms, 62 gallons for 3 or 4 bedrooms and 74 gallons for 5 bedrooms
- 3 to 3.5 bathrooms: 62 gallons for 3 bedrooms and 74 gallons for 4, 5 or 6 bedrooms
Treat the table as the least you may install, not the target. Where your own peak hour figure is higher, size to that. Hot water heater sizes on a supplier's sheet are only useful once you read their FHR, and a water heater size calculator does the same job: it totals the busiest hour and compares it with a rating. Do not confuse that with the Water Demand Calculator in UPC Appendix M, which gives a flow in gpm for sizing the building supply and branch piping, not gallons per hour for the heater.
Sizing a heater for a 3-bedroom, 2.5-bath house
Tap Next to go through it.
Step 1
Count the rooms. A house with 3 bedrooms and 2.5 bathrooms falls in the 2 to 2.5 bathroom group of UPC Table 501.1(2).
Step 2
Read the floor. For 3 bedrooms in that group, the minimum first hour rating is 62 gallons.
Step 3
Build the morning peak. Ask the client who uses hot water in the busiest morning hour. List each shower, lavatory, the kitchen sink and any dishwasher or washer cycle in that hour, take the gallons each draws from the fixture and appliance data, and add them.
Step 4
Pick the target. Take whichever is larger: your morning total or the 62-gallon table minimum.
Step 5
Choose the unit. Read the FHR on each candidate's Energy Guide label and pick one rated at or above the target. A tank with more nominal gallons but a lower FHR does not qualify.
What to take from it
The table gives the code floor. The client's busiest hour decides whether you need more. Match both against FHR, never against tank volume.
Recovery rate: how fast the heater catches up
Recovery rate is the volume of water the elements or burner can heat through a stated temperature rise in one hour once the stored hot water has been used. When you compare water heater sizes, two tanks of the same nominal volume can carry very different first hour ratings because one recovers faster. Heating input drives it: more Btu/h at a gas burner or more element wattage on an electric unit means more gallons recovered each hour. Where a household's peak runs past an hour, or comes in two bursts close together, recovery counts for more than storage.
Input also sizes the safety gear. IPC 504.5 requires each pressure relief valve and each temperature relief valve to relieve at least the heat input of the heater, and UPC 504.6 requires the relief device's hourly Btu discharge capacity to be no less than the heater's input rating. If you raise the input, check that the relief valve rating rises with it.
Electrical supply for electric water heaters
For an electric unit, the plumbing code hands the wiring over to the electrical code. IPC 504.3 requires a means of disconnecting an electric hot water supply system from its energy supply, provided in line with NFPA 70. Other heater types need a separate valve to shut off their fuel. Under UPC Table 501.1(1), electric household storage heaters are listed to UL 174 and electric instantaneous heaters to UL 499.
Warning
Water heater breaker size and conductor size come from the nameplate rating and NFPA 70, not from the plumbing code. The IPC and UPC sections covered here give no wire or breaker tables. When a client asks what size wire for a hot water heater is needed, read the nameplate and have the circuit sized or verified under NFPA 70 by someone licensed for electrical work.
IPC 2021 Chapter 5 installation requirements
Once the unit is sized, the 2021 IPC governs how it goes in. Chapter 5 covers the materials, design and installation of water heaters and their safety devices, and a few Chapter 6 sections complete the picture.
Check each of these on every install:
- Temperature and pressure relief valve (504.5): labeled by an approved agency, with a temperature setting of no more than 210°F and a pressure setting no higher than the manufacturer's rated working pressure or 150 psi, whichever is lower.
- Cold water shutoff valve (503.1): on the cold branch near the heater, serving only that heater, not interrupting cold water to the rest of the system, and accessible on the same floor as the heater.
- Vacuum relief valve (504.2): required on bottom-fed heaters and bottom-fed tanks connected to them, complying with ANSI Z21.22, and installed in the cold water supply line above the top of the heater (504.1). Makers' instructions typically call for at least 6 inches above the top of the heater.
- Thermal expansion tank (607.3): where the cold supply passes through a check valve, pressure reducing valve or backflow preventer, connect an expansion control device to the heater's cold supply pipe downstream of all of them, sized to the tank maker's instructions.
- Insulated supply lines (607.5): insulate piping to the heater inlet and piping carrying heated water to the IECC, Section R403.5.3 for Group R2, R3 and R4 buildings three stories or less above grade plane and Section C404.4 for other buildings.
- Access and marking (501.4, 501.7): place the heater where it can be observed, serviced and replaced, with its maximum allowable working pressure permanently marked where an inspector can read it.
- Seismic supports (502.4): where the IBC applies earthquake loads, design and install the heater supports for those forces under the IBC.
- Space heating combinations (501.2): where space heating needs water above 140°F, fit an ASSE 1017 mixing valve that holds the potable hot water supply to 140°F or less.
The relief valve also needs a discharge pipe running down from its outlet and ending at an air gap above the drainage system. The IPC sections reviewed here do not set out those termination rules. The UPC does, in the next section.
UPC 2021 Chapter 5: permits, support and seismic strapping
Under the 2021 UPC, every heater goes in to the manufacturer's installation instructions and must be a type and model approved by the Authority Having Jurisdiction (501.1). Work done under the permit gets a final inspection, and no part of the appliance may be covered or concealed until the AHJ has inspected and approved it (503.2).
On site, the UPC adds these physical rules:
- Seismic strapping (507.2): anchor or strap the heater against sideways movement in an earthquake, with straps within the upper third and the lower third of its height, keeping the lower strap at least 4 inches from the controls.
- Support (507.3): give the heater a load-distributing base or enough supports to protect both the structure and the appliance, and check the floor's static and dynamic load capacity at the chosen spot before setting a full tank on it.
- Ground support (507.4): a heater standing on earth rests on level concrete or another approved base at least 3 inches above the adjoining ground.
- Drain pan (507.5): in an attic, or over a floor-ceiling or floor-subfloor assembly where a leak would cause damage, fit a watertight, corrosion-resistant pan at least 1½ inches deep with a drain of at least ¾ inch to an approved location.
- Garages (507.13): keep burners and ignition devices at least 18 inches above the floor unless the heater is listed as flammable vapor ignition resistant, and guard it from vehicle damage.
Relief protection is covered in Chapter 6. A storage system needs an approved, listed combination temperature and pressure relief valve (608.3), set at no more than 150 psi with no shutoff valve between it and the system (608.4). Where a hot water storage tank or indirect heater sits above the fixture outlets it serves, add a vacuum relief valve complying with CSA Z21.22 (608.7). Domestic hot water piping must be insulated (609.12.1).
Under UPC 608.5 the discharge pipe carries no valves, obstructions or means of isolation, and it must:
- Be no smaller than the valve outlet and discharge full size to the flood level of the receiving area, pointing down.
- Be made of material rated for at least the system's operating temperature and approved for the use, or comply with ASME A112.4.1.
- Drain on its own by gravity through an air gap into the drainage system, or outside with its end between 6 inches and 2 feet above the ground, pointing down.
- Discharge where it cannot injure anyone or damage the structure.
- Have no trapped section and no part exposed to freezing.
- Have an unthreaded end.
- Never discharge into a water heater pan.
- End where the termination can be readily seen.
IPC 2021 vs UPC 2021 Chapter 5 on site
| 2021 IPC | 2021 UPC | |
|---|---|---|
| Sizing basis | No minimum FHR table in the sections reviewed. Size to peak hour demand. | Minimum FHR from Table 501.1(2) by bedrooms and bathrooms. |
| Shutoff valves | Cold water valve near the heater, serving only it, accessible on the same floor. | No shutoff valve between the relief valve and the heater or on its discharge pipe. |
| Relief valve settings | 210°F maximum. Pressure no higher than rated working pressure or 150 psi, whichever is lower. Capacity at least the heat input. | Listed combination T&P valve set at 150 psi or less. Discharge capacity at least the input rating. |
| Relief valve discharge | Not set out in the sections reviewed. Check the rest of Section 504. | Full size, through an air gap, 6 inches to 2 feet above grade outdoors, no trap, unthreaded end, never into the pan. |
| Vacuum relief | Bottom-fed heaters and tanks, ANSI Z21.22. | Tank or indirect heater above the fixture outlets, CSA Z21.22. |
| Seismic bracing | Where IBC earthquake loads apply, supports designed to the IBC. | Straps in the upper and lower thirds, lower strap at least 4 inches from the controls. |
| Installation and support | Located for observation, servicing and replacement. | Load-distributing base, structural check, final inspection before anything is concealed. |
The difference
Size to FHR, then install to whichever code the AHJ enforces.
Frequently asked questions
Does a tankless water heater need a T&P valve under the UPC?
UPC 608.3 requires a listed combination temperature and pressure relief valve on systems with storage water heating equipment. It exempts listed nonstorage instantaneous heaters with an inside diameter of not more than 3 inches. Check the listing and the manufacturer's instructions for the unit you are fitting.
Can I install an unlisted water heater?
The UPC allows it under Section 504.3.2. An unlisted heater needs 12 inches of clearance on all sides and the rear, and a combustible floor beneath it must be protected in an approved manner. Listed heaters follow their listing and the manufacturer's instructions instead.
How far can a fixture be from the water heater?
IPC 607.2 limits the developed length of hot or tempered water piping from the hot water source to a fixture to 50 feet. Recirculating piping and heat-traced piping count as sources of hot water. On a long house, that can mean adding a circulation loop or moving the heater.
Where is the best place to put the water heater?
The PPI PEX design guide recommends placing the heater as close as practical to the midpoint of the fixture groups. Short runs give quicker hot water, less stagnant water, lower material cost and faster installation. A utility room far from the bathrooms is convenient but often leads to long, costly runs.
Disclaimer: The information provided in this educational content has been prepared with care to reflect current regulatory requirements for continuing education. However, licensing rules and regulations can vary by state and are subject to change. While we strive for accuracy, ExpertCE cannot guarantee that all details are complete or up to date at the time of reading. For the most current and authoritative information, always refer directly to your state’s official licensing board or regulatory agency.


