Pipe Flow Calculator

Pipe Flow Calculator finds water velocity, Reynolds number, friction head Hf=f(L/D)V²/2g, and net pressure head for pipe runs, helping size pumps and check pressure loss. in field.

Total Dynamic Head
17.29 ft
Net head equals friction head plus elevation change for pressure pipe flow.
Flow Kinematics
5.67 ft/s
Velocity Head 0.50 ft
Cross-Sectional Area 0.20 ft²
Calculation of the average fluid speed traversing the pipe cross-section and its associated kinetic energy.
Fluid Regime Profile
262.67k Re
Darcy Friction Factor (f) 0.0173 Ratio
Hydraulic Status Turbulent Flow
Dimensionless scaling analyzing internal inertial vs viscous forces to determine flow turbulence and wall resistance.
Friction Loss Factors
17.29 ft (Hf)
Length-to-Diameter Ratio 2,000:1
Friction Gradient 0.0173 ft/ft
Major pipe-friction indicators showing equivalent friction head, pipe slenderness, and loss per unit length.
Net Pressure Equivalent
7.49 psi
Boundary Shear Stress 0.13 lb/ft²
Fluid Hydraulic Power 2.19 HP
Pressure equivalent of total dynamic head, with pipe-wall shear and theoretical hydraulic power.
Calculations Complete
Analysis successful. Data is strictly derived using the Darcy-Weisbach equation and Swamee-Jain friction approximation for standardized water pressure pipe flow.

Fundamentals of Pressure Pipe Flow

Pressure pipe flow analysis quantifies energy dissipation along a full-flowing conduit. A Pipe Flow Calculator relies on the Darcy-Weisbach equation to translate pipe geometry, flow rate, surface roughness, and elevation difference into total dynamic head. These five parameters — internal diameter, volumetric flow, pipe length, absolute roughness, and static lift — completely define the hydraulic grade line for water at standard temperature.

Diameter determines cross-sectional area and directly affects velocity for a given flow. Flow rate, expressed in gallons per minute, cubic feet per second, or liters per second, sets the mass transport through the system.

Pipe length multiplies friction loss per unit length into a cumulative head requirement. Roughness, an effective sand-grain height, captures the texture of the interior wall and governs turbulent energy dissipation.

Elevation change adds or subtracts static head, representing the work needed to lift the water column against gravity or recovered when the discharge is lower than the supply.

Kinematic viscosity of water, taken as 1.08 × 10⁻⁵ ft²/s at 68°F, anchors the Reynolds number calculation. Gravitational acceleration of 32.174 ft/s² converts velocity head into elevation-equivalent feet. All calculations remain strictly within the Darcy-Weisbach framework, avoiding empirical C-factors that obscure the underlying fluid mechanics.

Applying a Pipe Flow Calculator to Total Dynamic Head

Total dynamic head (TDH) is the sum of friction head loss and static elevation difference. Friction loss arises from shear stress at the pipe wall and turbulent energy cascades, while static lift represents the elevation energy required if the discharge point is higher than the supply.

A negative net head occurs when the downhill slope’s gravity assist exceeds friction, a condition that yields zero required hydraulic power because the fluid delivers energy rather than demanding it.

The analysis begins with basic flow kinematics. Velocity is derived from flow rate divided by cross-sectional area. Velocity head, computed as velocity squared over twice gravity, quantifies the kinetic energy per unit weight.

Reynolds number, the ratio of inertial to viscous forces, then classifies the flow regime — laminar below 2,300, transitional, or fully turbulent above 4,000. This classification selects the friction factor equation.

Once the Darcy friction factor is obtained, head loss per unit length follows from multiplying the factor by the velocity head and dividing by diameter. Cumulative friction loss over the full pipe run is then added to the elevation difference to yield total dynamic head.

Secondary outputs include pressure drop in psi or kPa, wall shear stress, length-to-diameter ratio, and the hydraulic power requirement in horsepower or kilowatts. All unit conversions between inch-pound and SI systems are handled internally, maintaining consistent force-length-time dimensions.

Darcy-Weisbach Equation and Friction Factor

The core relationship is the Darcy-Weisbach head loss equation:

h_f = f × (L / D) × (V² / (2 × g))

Where:
h_f = friction head loss (ft or m)
f = Darcy friction factor (dimensionless)
L = pipe length (ft or m)
D = internal pipe diameter (ft or m)
V = flow velocity (ft/s or m/s)
g = gravitational acceleration (32.174 ft/s² or 9.806 m/s²)

Total dynamic head then becomes TDH = h_f + Z, with Z the vertical rise (positive upward) in the same length units.

For laminar flow (Reynolds number Re < 2,300), the friction factor is derived analytically:

f = 64 / Re

For non-laminar conditions, the Swamee-Jain explicit approximation provides f without iteration:

f = 0.25 / [ log₁₀( (ε / (3.7 × D)) + (5.74 / Re⁰·⁹) ) ]²

Here ε is the absolute roughness in the same length units as D, and Re is the Reynolds number:

Re = (V × D) / ν

with ν the kinematic viscosity of water (1.08 × 10⁻⁵ ft²/s). This approximation is valid for 5,000 ≤ Re ≤ 10⁸ and 10⁻⁶ ≤ ε/D ≤ 0.01, which covers most water piping scenarios. When Re falls in the transition range between 2,300 and 4,000, the Swamee-Jain equation still delivers a conservative friction estimate suitable for design.

A complete analysis also resolves pressure drop from head loss using the specific weight of water (62.4 lb/ft³): 1 ft of water column equals 0.433 psi. Hydraulic power required at the shaft is computed as (flow rate in ft³/s × 62.4 lb/ft³ × TDH in ft) / 550 ft·lb/s per horsepower.

Worked Example of Total Dynamic Head

Consider a 6-inch nominal diameter pipe carrying 500 gallons per minute over 1,000 feet with zero elevation change. A commercial steel interior roughness of 0.0018 inches (0.00015 ft) represents clean, new pipe. Water temperature is 68°F.

Convert all inputs to foot-second units. Diameter D is 6 in ÷ 12 = 0.5 ft. Flow rate Q is 500 gpm ÷ 448.831 = 1.114 ft³/s. Length L is 1,000 ft. Roughness ε is 0.0018 in ÷ 12 = 0.00015 ft. Elevation Z is 0 ft.

Cross-sectional area A equals π × (D/2)² = 3.1416 × (0.25)² = 0.19635 ft². Velocity V becomes Q ÷ A = 1.114 ÷ 0.19635 = 5.674 ft/s. Velocity head is V² ÷ (2g) = 5.674² ÷ 64.348 = 32.197 ÷ 64.348 = 0.5003 ft.

Reynolds number Re is V × D ÷ ν = 5.674 × 0.5 ÷ 1.08×10⁻⁵ = 2.837 ÷ 1.08×10⁻⁵ = 262,700. This is well into the turbulent range, so the Swamee-Jain equation applies. Compute the two terms inside the logarithm. First, ε ÷ (3.7 × D) = 0.00015 ÷ (3.7 × 0.5) = 0.00015 ÷ 1.85 = 8.11 × 10⁻⁵. Second, 5.74 ÷ Re⁰·⁹. Using log₁₀(Re) = 5.419, Re⁰·⁹ = 10^(0.9 × 5.419) = 10^4.877 = 75,400. Thus 5.74 ÷ 75,400 = 7.61 × 10⁻⁵. Sum the terms to get 1.572 × 10⁻⁴.

Log₁₀ of this sum equals –3.8035. Squaring gives 14.47. Friction factor f is 0.25 ÷ 14.47 = 0.01728.

Friction head loss h_f = f × (L/D) × velocity head = 0.01728 × (1,000 / 0.5) × 0.5003 = 0.01728 × 2,000 × 0.5003 = 17.29 ft. Total dynamic head TDH = 17.29 + 0 = 17.29 ft. Pressure drop equals 17.29 × 0.433 = 7.49 psi. Hydraulic power is (1.114 × 62.4 × 17.29) ÷ 550 = 1,202 ft·lb/s ÷ 550 = 2.19 hp.

For a metric equivalent, length in meters and diameter in millimeters demand conversion of flow to m³/s and roughness to meters; the same Darcy-Weisbach sequence applies and yields TDH in meters with power in kilowatts.

Material Roughness and Its Impact on System Design

Selecting a pipe material commits the system to a specific absolute roughness, which directly controls the friction factor and long-term energy cost. Even small roughness changes produce measurable differences in head loss over long runs. A comparison of common materials illustrates the design trade-off.

MaterialAbsolute Roughness ε (in)f for 6″ pipe, 500 gpmHead Loss per 1,000 ft (ft)
Drawn copper / PVC (very smooth)0.000005 – 0.000060.014814.8
Commercial steel (new, clean)0.00180.017317.3
Galvanized iron (slightly aged)0.0060.020920.9
Riveted steel (rough)0.030.039739.7

Friction factors and head losses were computed for the same 6-inch diameter, 500 gpm, 1,000‑ft length case. A shift from plastic or drawn tubing to galvanized iron increases friction loss by over 40 percent, directly raising the required pump head and annual energy consumption. This difference often justifies higher material cost when lifecycle pumping energy is factored in.

Aging and scaling alter effective roughness beyond published new-pipe values. Water chemistry and temperature accelerate tuberculation in unlined ferrous pipe, doubling the effective roughness within a decade.

A safety factor of 20–30 percent on calculated head loss, or the use of an aged-roughness value from standards such as AWWA M11, is common practice. Similarly, systems with long, nearly flat runs may require a minimum velocity or periodic flushing to prevent sediment accumulation that increases effective roughness.

Elevation recovery further shapes design decisions. A downhill slope that exceeds the friction gradient produces gravity-assisted flow, eliminating pump power for that segment.

In such cases, hydraulic power computed by the analysis drops to zero, and the primary concern shifts to velocity control and potential water hammer. The combination of friction gradient and topographic profile determines whether booster pumping, pressure-reducing valves, or simple gravity delivery serves the system best.