Skip to main content
engineering

Pipe Network Calculator

Hardy-Cross iteration for a single-loop pipe network: flow rates, head losses, and convergence table over 5 iterations

Reviewed by Christopher FloiedUpdated

This free online pipe network calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Supports both metric (SI) and imperial units with built-in unit selection dropdowns on every input field, so you can work in whatever units your problem provides. Designed for engineering students and professionals working through coursework, design projects, or quick reference calculations.

Pipe Network Calculator

Hardy-Cross iteration for a single pipe loop. All pipes assumed in series around one loop. Water at 20°C (ν = 1×10⁻⁶ m²/s).

PipeL (m)D (m)ε (m)Q₀ guess (m³/s)
1
2
3

Hardy-Cross Iterations

IterQ_1 (m³/s)Q_2 (m³/s)Q_3 (m³/s)ΔQ
13.3790e-21.3790e-23.7895e-3-1.6210e-2
22.4174e-24.1744e-3-5.8256e-3-9.6151e-3
31.9338e-2-6.6244e-4-1.0662e-2-4.8368e-3
41.8594e-2-1.4059e-3-1.1406e-2-7.4346e-4
51.8627e-2-1.3727e-3-1.1373e-23.3158e-5

Final Results

Pipe 1Q = 1.8627e-2 m³/sh_L = 4.062 m
Pipe 2Q = -1.3727e-3 m³/sh_L = -0.139 m
Pipe 3Q = -1.1373e-2 m³/sh_L = -3.923 m

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Pipe Network Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.

2

Review your inputs

Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Pipe Network Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

Formula Reference

Pipe Network Calculator Formula

See calculator inputs for the governing equation

Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.

When to Use This Calculator

  • Use the Pipe Network Calculator when solving homework or exam problems that require quick numerical verification of your hand calculations — instant feedback helps identify arithmetic errors before they propagate.
  • Use it during the early design phase to rapidly iterate on parameters and narrow down feasible configurations before committing time to detailed finite element simulations or full design packages.
  • Use it when reviewing a colleague's calculation or checking a vendor's data sheet for plausibility — a quick sanity check can prevent costly downstream errors.
  • Use it to generate reference data for a technical report or presentation without manual computation, ensuring consistent, reproducible numbers throughout the document.
  • Use it in the field when a quick estimate is needed and a full engineering software package is not available.

About This Calculator

The Pipe Network Calculator is a precision engineering calculation tool designed for students, engineers, and technical professionals. Hardy-Cross iteration for a single-loop pipe network: flow rates, head losses, and convergence table over 5 iterations All calculations are performed using established engineering formulas from the relevant scientific literature and standards. Inputs support both metric (SI) and imperial unit systems, with unit conversion handled automatically — simply select your preferred unit from the dropdown next to each field. Results are computed instantly in the browser without sending data to a server, ensuring both speed and privacy. This calculator is intended as a supplementary tool for learning and design exploration; always verify results against authoritative references for safety-critical applications.

The Theory Behind It

A pipe network is a collection of pipes, junctions, and loops through which fluid flows. Analysis determines the flow rate in each pipe and the pressure at each junction given boundary conditions (source and sink pressures or flow rates, known reservoir elevations). The governing equations are: continuity (flow in = flow out at each junction, implying net flow = 0) and energy balance around each loop (the sum of head losses around a closed loop must equal zero). For a network with N junctions, there are N continuity equations; for a network with L independent loops, there are L loop equations. Hardy-Cross iteration is the classical solution method: assume an initial flow distribution satisfying continuity, compute head losses around each loop, adjust flows to balance the loop equations, and iterate. Each loop adjustment is ΔQ = −Σh_L / (2·Σ(h_L/Q)), where h_L is the head loss in each pipe of the loop and Q is the flow. The adjustment applies to each pipe in the loop with appropriate sign. Convergence is typically after 5-20 iterations for simple networks. For large networks, modern methods use Newton-Raphson or gradient-based solvers that converge faster. Pipe networks apply to water distribution (city mains and service lines), HVAC hydronic systems (chilled and hot water distribution), natural gas distribution, wastewater collection, and district heating/cooling. The calculator implements Hardy-Cross for a single-loop network using Darcy-Weisbach friction with user-specified pipe properties.

Real-World Applications

  • Municipal water distribution network: compute flow in each street main and pressure at each fire hydrant under peak demand, fire flow, and design scenarios to verify adequate service.
  • HVAC hydronic loop: chilled water loops in commercial buildings have multiple branches to air handlers, fan coils, and chillers. Balancing flow and sizing pipes requires network analysis.
  • Natural gas distribution: distribution networks from city gate to individual customers use pressure-drop analysis similar to liquid networks but with compressibility corrections for pressure-dependent density.
  • Industrial process piping: complex plant piping with multiple pumps, headers, and parallel paths requires network analysis for pressure drop and flow distribution.
  • Fire sprinkler hydraulic design: NFPA 13 requires hydraulic calculations showing that adequate water flow and pressure reach the most remote sprinkler in the network under design fire scenarios.

Frequently Asked Questions

What is the Hardy-Cross method?

Hardy-Cross is an iterative solution method for pipe network flow analysis. Start with an assumed flow distribution that satisfies continuity at each junction. Compute head losses around each loop. Adjust flows to balance the loop head loss equations. Iterate until adjustments become small. The method was developed by Hardy Cross in the 1930s and remains a common hand-calculation technique for small networks.

Why do pipe networks need iteration?

Because head loss depends non-linearly on flow rate (h_L ∝ Q² for turbulent flow in Darcy-Weisbach). The loop-balance equations are therefore non-linear and have no closed-form solution. Iterative methods (Hardy-Cross, Newton-Raphson) refine the solution until the loop residuals become small. Modern computer tools converge in milliseconds; hand calculations for small networks take 5-20 iterations.

What's a loop in a pipe network?

A loop is a closed path formed by a sequence of pipes that returns to its starting junction. For example, if pipes A→B, B→C, and C→A exist, A-B-C-A is a loop. The energy balance around any loop must sum to zero — the total head loss going one way around equals zero when consistent flow directions are used. A network with N junctions and P pipes has L = P − N + 1 independent loops (if the network is connected).

What determines pipe sizing in a network?

Design criteria typically include: maximum velocity (to limit noise, erosion, and pressure drop), maximum pressure drop per unit length, available pressure at the source, and budget for pipe material. For water distribution, 1-2 m/s peak velocity is typical and friction loss is sized for adequate pressure at the most remote service. Smaller pipes are cheaper but have higher friction losses; larger pipes have lower pressure drop but higher material cost. The trade-off is optimized based on operating cost (pumping energy) vs capital cost (pipe material).

When does Hardy-Cross fail to converge?

For networks with very different friction regimes (laminar vs turbulent in different pipes), very different pipe diameters, or very high-pressure-drop segments dominating the network, Hardy-Cross convergence can be slow or oscillatory. In these cases, Newton-Raphson or gradient-based methods converge more reliably. Modern commercial software (EPANET, WaterCAD, Bentley OpenFlows) uses these advanced methods and handles networks with thousands of pipes.

Related Calculators

References & Further Reading