Introduction to pipe flow rate and hydraulic sizing
This pipe flow rate calculator connects the quantities that matter in a full, round pipe: inside diameter, mean velocity, volumetric flow, Reynolds number, wall roughness, friction factor, head loss and pressure drop. You can begin with either a known velocity or a required flow rate. The calculator then applies continuity, identifies the flow regime, evaluates the Darcy friction factor and uses the Darcy–Weisbach equation for a specified length of straight pipe.
The diameter must be the true inside diameter, because that is the bore available to the fluid. A nominal pipe size is only a product designation. For example, Schedule 40 NPS 2 steel pipe has a 2.067 in bore rather than a 2.000 in bore. Since area changes with the square of diameter, even a modest diameter error can noticeably change velocity and predicted loss. Select a Schedule 40 size when it matches the pipe being assessed; otherwise use the custom-bore option.
The result is most useful for preliminary sizing, comparison and checking. It does not replace a complete system model. Straight-pipe friction is only one part of pump head: elevation change, fittings, valves, strainers, entrances, exits and equipment also consume pressure.
How to use the pipe flow and head loss inputs
First choose whether the bore comes from the built-in Schedule 40 list or a custom inside diameter. Next choose the known duty. If velocity is known, the calculator obtains flow from area multiplied by velocity. If flow is known, it divides the flow by area to obtain the mean velocity. Enter the developed straight length in metres or feet; a zero length is allowed when only flow and velocity are needed.
Select a pipe material to supply a representative absolute roughness, or enter a custom roughness in millimetres. These reference values describe clean pipe and may be optimistic for corroded, scaled or fouled service. For water, enter a temperature from 0 °C to 100 °C so density and viscosity can be interpolated. For another Newtonian liquid, enter its kinematic viscosity in centistokes and density in kilograms per cubic metre.
After calculation, read the headline flow and velocity first. Then check the Reynolds number and regime, followed by the friction factor, head loss and pressure drop. The comparison table repeats the same flow through every listed Schedule 40 bore. Its highlighted row represents the selected size, while the other rows reveal how strongly velocity and pumping loss change with diameter. The copy and CSV controls are enabled after a valid result is available.
The formulas for pipe area, flow regime and friction loss
For a circular bore of inside diameter D, cross-sectional area A is:
For steady incompressible flow, volumetric flow Q equals area multiplied by mean velocity v:
The input is the area-averaged velocity, not necessarily the local velocity measured at the pipe centreline. Reynolds number compares inertial and viscous effects. Here, ρ is density, μ is dynamic viscosity and ν is kinematic viscosity:
Flow below Reynolds number 2300 is treated as laminar. Between 2300 and 4000 it is transitional and uncertain; above 4000 the turbulent branch is used. For fully developed laminar flow, the Darcy friction factor is independent of wall roughness:
In turbulent flow, absolute roughness ε is compared with the bore to form relative roughness:
The calculator iteratively solves the Colebrook–White relation. It seeds the iteration with the explicit Swamee–Jain approximation, which is also shown in the result for comparison:
Once f is known, Darcy–Weisbach gives the friction head loss over straight length L. Standard gravity g is 9.80665 m/s²:
Head is converted to pressure drop by multiplying by density and gravity:
Hazen–Williams is sometimes used for water-distribution estimates. Its common SI form is shown below for context, but this calculator does not use it because it has no viscosity term and is not suitable for arbitrary fluids or laminar flow:
Worked example: Schedule 40 water pipe at 2 m/s
Consider NPS 4 Schedule 40 steel pipe with an actual inside diameter of 4.026 in, or 102.2604 mm. Let it carry water at 20 °C through 100 m of straight pipe at a mean velocity of 2.0 m/s. Use an absolute roughness of 0.045 mm for clean commercial steel.
The bore area is about 0.008213 m². Multiplying by 2.0 m/s gives a flow of approximately 0.01643 m³/s, which is 16.43 L/s, 59.14 m³/h or about 260 US GPM. Water near 20 °C has a kinematic viscosity close to 1.003 cSt, so the Reynolds number is about 204,000. The flow is therefore turbulent.
The relative roughness is approximately 0.000440. Solving Colebrook–White gives a Darcy friction factor near 0.0185. Substitution into Darcy–Weisbach produces roughly 3.68 m of straight-pipe head loss over 100 m. With water density near 998 kg/m³, that corresponds to about 36 kPa, 0.36 bar or 5.2 psi. These values exclude bends, valves and other local losses.
Interpreting pipe velocity, Reynolds number and pressure drop
Velocity is an immediate sizing clue. Pumped water systems often operate around 0.6 to 3.0 m/s, although project standards take precedence. Very low velocity may allow sediment or air to collect. High velocity increases noise, erosion risk, water-hammer severity and pumping cost. The calculator flags values outside that customary range without treating the range as a universal code limit.
Head loss per 100 m is useful when comparing sizes because it normalizes the length. For a fixed pipe, increasing flow raises velocity and generally causes friction loss to rise rapidly. Moving to a larger bore reduces velocity and can sharply reduce required pump head. The economic choice balances a larger pipe’s initial cost against lower energy consumption over the system’s life.
A transitional Reynolds number deserves special attention. Flow in the 2300–4000 band can switch behavior because of disturbances and upstream geometry. Do not attach false precision to the displayed friction factor there. Adjust the design away from the band or check both laminar and turbulent bounds.
Limitations and assumptions of the pipe model
The calculation assumes steady, fully developed, single-phase flow in a completely full circular pipe. It is intended for incompressible Newtonian fluids with constant properties over the run. Partly full gravity pipes require open-channel methods, while gas, steam, flashing flow and non-Newtonian slurry require specialized models.
Only straight-pipe friction is included. Add losses from entrances, exits, elbows, tees, reducers, valves, strainers, meters and equipment. These may be represented by loss coefficients or equivalent lengths when appropriate. Also add static elevation head when sizing a pump.
Material roughness values are representative, not guaranteed. Ageing, corrosion, scale, deposits and biofilm can make an existing line much rougher than clean new pipe. Schedule 40 dimensions apply only to the listed standard. Copper tube, PVC, PEX, HDPE, ductile iron and other schedules can have different bores, so use a verified custom diameter when necessary.
Why is the actual bore different from the nominal pipe size?
Nominal size identifies a pipe product; it does not necessarily state its inside diameter. Wall thickness and schedule determine the bore used in the hydraulic calculation.
How does the calculator handle laminar flow?
Below Reynolds number 2300 it uses f = 64/Re. Between 2300 and 4000 it reports a transitional warning because no single friction correlation is dependable there.
Does the result include fittings and valves?
No. The result covers straight pipe only. Add fitting, valve, entrance, exit and equipment losses separately.
Can this calculator be used for gases or slurry?
Not as a general design method. It assumes an incompressible Newtonian fluid, so compressible gas and non-Newtonian slurry need purpose-built calculations.
Sources: Darcy–Weisbach and pipe-flow practice are described in the U.S. Bureau of Reclamation Water Measurement Manual. Friction-factor methods follow Colebrook’s turbulent pipe-flow relation and Moody’s friction-factor work. Schedule 40 dimensions are based on ASME B36.10M. Water properties are interpolated from the NIST Chemistry WebBook, with viscosity consistent with the IAPWS viscosity formulation.
Set the pipe size, duty and fluid, then choose Calculate flow and head loss.