Water-Heater T&P Relief and Discharge

Checks a water heater's T&P valve against its input and sizes the discharge pipe.

Run the calculator

Example

You enter

You get

Details, formula, and sources

Checks the T&P relief valve's rating against the heater input and reports the IPC 504.6 discharge-pipe size and requirements.

rating_ok = valve_rating >= heater_input; discharge_in = valve outlet (never reduced). Output is a pass/fail and the IPC 504.6 discharge checklist, not a continuous quantity.

IPC 2021 Section 504 (504.4 valve rating vs heater input, 504.6 discharge piping) and ANSI Z21.22 / CSA 4.4 by name; first-principles comparison.

IPC 2021 free read-only at codes.iccsafe.org. The discharge requirements are public code text.

Estimate. AHJ and licensed professional govern.

Field names used by the API: heater_input, valve_rating, outlet_size, discharge_in, rating_margin_btuh

Related tools