Pipe Sizing & Tank Volume Guide: Flow Rates, GPM & Capacity
A complete guide to pipe sizing and tank volume calculations — nominal pipe size, flow rate formulas, GPM and velocity, Hazen-Williams equation, partial-fill tank volumes, and how to size pipes for residential and commercial plumbing.
Guide Oversight & Review Policy
CalculatorWallah guides are written to explain calculator assumptions, source limitations, and when users should move from a rough estimate to an official rule, institution policy, or clinician conversation.
Reviewed By
Jitendra Kumar, Founder & Editorial Standards Lead, oversees methodology standards and trust-sensitive publishing decisions.
Review editor profileTopic Ownership
Sales tax and tax-sensitive estimate tools, Education and GPA planning calculators, Health, protein, and screening-formula pages, Platform-wide publishing standards and methodology
See ownership standardsMethodology & Updates
Page updated April 29, 2026. Trust-critical pages are reviewed when official rates or rules change. Evergreen calculator guides are checked on a recurring quarterly or annual cycle depending on topic volatility.
On This Page
Introduction
Pipe sizing and tank volume calculations appear in residential plumbing, fire suppression design, irrigation, HVAC hydronic systems, industrial process piping, and fuel storage. The core questions are consistent: is this pipe large enough to deliver the required flow without excessive pressure loss? How much does this container hold at a given fill level?
This guide covers the North American pipe sizing standard (NPS and Schedule), flow rate and velocity calculations, the Hazen-Williams equation for pressure drop in water systems, IPC guidance on plumbing pipe sizing, and the geometry of cylindrical and rectangular tank volume including partial-fill scenarios.
Pipe Dimensions and NPS
Pipe dimensions in North America follow the Nominal Pipe Size (NPS) standard. NPS is a designator — not a measurement. The actual dimensions depend on both NPS and pipe schedule (wall thickness).
NPS vs actual outer diameter:
- NPS 1/2 → OD: 0.840 in
- NPS 3/4 → OD: 1.050 in
- NPS 1 → OD: 1.315 in
- NPS 1-1/4 → OD: 1.660 in
- NPS 1-1/2 → OD: 1.900 in
- NPS 2 → OD: 2.375 in
- NPS 3 → OD: 3.500 in
- NPS 4 → OD: 4.500 in
- NPS 6 → OD: 6.625 in
Inner diameter by schedule: schedule number relates to wall thickness. Schedule 40 is the most common residential/commercial standard. For NPS 2 pipe:
- Sch 40: OD = 2.375 in, wall = 0.154 in, ID = 2.067 in
- Sch 80: OD = 2.375 in, wall = 0.218 in, ID = 1.939 in
- Sch 160: OD = 2.375 in, wall = 0.344 in, ID = 1.687 in
Common pipe materials:
- PVC — cold water, irrigation, drain; not for hot water
- CPVC — hot and cold water supply in residential buildings
- Copper (Type M/L/K) — water supply, refrigerant, HVAC
- PEX — flexible; residential water supply, radiant heating
- Carbon steel (Schedule 40/80) — industrial, gas, HVAC hydronic
- Stainless steel — food/pharmaceutical process, corrosive applications
- Ductile iron — water distribution mains
Flow Rate and Velocity
The fundamental relationship between flow rate, velocity, and pipe cross-section:
Q = A × V
Where Q = flow rate, A = cross-sectional area, V = velocity. In practical units:
Q (GPM) = V (ft/s) × A (sq in) × 0.3208
Or using diameter directly:
Q (GPM) = V (ft/s) × D² (in) × 0.2448
Example — 3/4-inch copper (ID = 0.785 in) at 4 ft/s:
- Q = 4 × 0.785² × 0.2448 = 4 × 0.616 × 0.2448 ≈ 0.60 GPM
Recommended velocity ranges for water piping:
- Residential cold water supply: 2–5 ft/s (max 8 ft/s per IPC)
- Residential hot water: 2–4 ft/s
- Commercial cold supply mains: 4–8 ft/s
- Chilled water HVAC: 2–6 ft/s
- Fire suppression mains: 10–20 ft/s during flow (high-velocity events)
Above 8 ft/s in copper, erosion-corrosion accelerates significantly, especially at elbows and tees. Water hammer risk also increases with velocity.
Hazen-Williams Equation
The Hazen-Williams equation is the most widely used formula for pressure loss in water systems. It is empirical (not derived from first principles) but highly accurate for turbulent flow of water in pipes at normal velocities.
Hazen-Williams velocity form:
V = 1.318 × C × R^0.63 × S^0.54
- V = velocity (ft/s)
- C = Hazen-Williams roughness coefficient (dimensionless)
- R = hydraulic radius = D/4 for full circular pipe (ft)
- S = hydraulic slope = head loss (ft) per foot of pipe
Flow form (in GPM):
Q = 0.432 × C × D^2.63 × S^0.54
Where D is inner diameter in inches, S is head loss per foot (ft/ft).
Common Hazen-Williams C values:
- New PVC: 150
- New copper: 140
- New galvanized steel: 120
- Cast iron (10 years): 110
- Cast iron (20 years): 90–100
- Concrete: 100–140 (depends on quality)
- Old cast iron with corrosion: 60–80
Worked example — 2-inch PVC (ID = 2.067 in, C = 150), 100 ft run, pressure drop = 10 psi:
- Convert pressure to head: 10 psi × 2.307 ft/psi = 23.07 ft
- S = 23.07 ÷ 100 = 0.2307 ft/ft
- Q = 0.432 × 150 × 2.067^2.63 × 0.2307^0.54
- 2.067^2.63 ≈ 6.67; 0.2307^0.54 ≈ 0.457
- Q ≈ 0.432 × 150 × 6.67 × 0.457 ≈ 197 GPM
For most residential and light commercial calculations, use the Pipe / Tank Volume Calculator rather than computing Hazen-Williams manually.
Sizing Pipes for Plumbing
The International Plumbing Code (IPC) uses a fixture unit method to size residential and commercial plumbing. Each fixture is assigned a water supply fixture unit (WSFU) value based on its demand pattern:
- Lavatory (public): 2 WSFU
- Lavatory (private/residential): 1 WSFU
- Water closet (flush valve): 10 WSFU
- Water closet (flush tank): 3 WSFU
- Bathtub / shower: 2 WSFU
- Kitchen sink: 2 WSFU
- Dishwasher: 2 WSFU
- Washing machine: 4 WSFU
Total WSFU on a branch or main determines the required pipe size from IPC Table 604.3 (supply pipe sizing table), which cross-references WSFU against available pressure and developed length.
Simple residential supply pipe sizing (IPC guidance):
- Individual fixture branches: 1/2 inch minimum (3/8 inch allowed for some fixtures)
- 2–3 bathrooms + kitchen: 3/4 inch main recommended
- Larger homes (4+ bathrooms): 1 inch main from meter typical
- Meter connection: 3/4 inch or 1 inch depending on service pressure and demand
Available static pressure at the meter (typically 40–80 psi for municipal supply) minus pressure consumed by elevation change, meter loss, and pipe friction gives the minimum pressure at the most remote fixture. The IPC requires minimum 8 psi at each fixture for most types.
Tank and Container Volume
Tank volume calculations appear in water storage, fuel storage, septic design, rainwater harvesting, pool design, and industrial process tanks.
Vertical cylindrical tank (full):
V = π × r² × h
In gallons: V (gal) = π × r² (ft²) × h (ft) × 7.481
Example: 4-foot diameter, 6-foot tall tank → r = 2 ft → V = π × 4 × 6 × 7.481 ≈ 565 gallons
Rectangular tank:
V = L × W × h
In gallons: V (gal) = L (ft) × W (ft) × h (ft) × 7.481
Example: 8 × 4 × 3 ft tank → V = 8 × 4 × 3 × 7.481 ≈ 718 gallons
Horizontal cylindrical tank (full):
V = π × r² × L (same formula as vertical, with L = tank length instead of height)
Example: 3-foot diameter, 8-foot long horizontal tank → r = 1.5 ft → V = π × 2.25 × 8 × 7.481 ≈ 422 gallons
Pipe volume (fluid content):
V = π × r² × L (where r = inner radius, L = pipe length)
In gallons: V (gal) = D² (in) × L (ft) × 0.0408
Example: 1-inch ID pipe, 50 feet long → V = 1² × 50 × 0.0408 ≈ 2.04 gallons
Partial-Fill Calculations
Calculating the volume in a partially filled tank depends on the tank orientation and geometry.
Vertical cylinder (partial fill): straightforward — volume is directly proportional to fill height. Fill the formula with h = actual fill depth: V = π × r² × h_fill
Rectangular tank (partial fill): equally straightforward — V = L × W × h_fill
Horizontal cylindrical tank (partial fill): the most complex case. The cross-section at any fill level h is a circular segment, not a full circle.
V = L × [r² × arccos((r − h) ÷ r) − (r − h) × √(2rh − h²)]
Where:
- L = tank length
- r = tank radius
- h = fill height from bottom (0 to 2r)
- arccos result must be in radians
This formula is impractical to compute manually. Horizontal tank fill charts (expressing fill volume as a percentage of total capacity at each fill level) are the traditional tool. The Pipe / Tank Volume Calculator computes partial-fill for horizontal cylinders directly.
Practical application — gauging a horizontal fuel tank: measure the depth of fuel from the bottom. Enter diameter, length, and depth into the calculator to get gallons remaining. This is used for fuel oil tanks, propane tanks (some are horizontal), and diesel storage.
Pipe and Tank Calculators
- Pipe / Tank Volume and Dimensions Calculator — cylindrical, horizontal, and rectangular tank volumes; pipe volumes; partial-fill; metric and imperial unit conversion
- Duct Size / CFM Calculator — analogous tool for air systems and HVAC ducts
- Electrical Wire Size Calculator — size conductors for pump motors and water heating circuits
Browse the full Engineering Calculators hub for all four engineering tools.
Frequently Asked Questions
Related Calculators
Pipe / Tank Volume and Dimensions Calculator
Calculate pipe, tank, and pool volumes with partial-fill and unit conversion.
Use Pipe / Tank Volume and Dimensions CalculatorDuct Size / Ductulator and CFM Calculator
Size HVAC ducts — the airflow counterpart to pipe flow calculations.
Use Duct Size / Ductulator and CFM CalculatorElectrical Cable/Wire Size and Voltage Drop Calculator
Size electrical conductors for pumps and water heating equipment.
Use Electrical Cable/Wire Size and Voltage Drop CalculatorScientific Calculator
Evaluate pipe flow formulas involving exponents and unit conversions.
Use Scientific CalculatorSources & References
- 1.International Plumbing Code (IPC) 2021(Accessed April 2026)
- 2.ASME B36.10M — Welded and Seamless Wrought Steel Pipe(Accessed April 2026)
- 3.AWWA — Water Distribution Operator Handbook(Accessed April 2026)
- 4.Engineering Toolbox — Hazen-Williams Coefficients(Accessed April 2026)