CFD and Fluid Mechanics
How to Calculate Pressure Drop in Pipes
Pipe pressure drop is commonly estimated by combining Darcy-Weisbach major loss with fitting and component minor losses. The calculation requires a defined flow rate or velocity, internal diameter, pipe length, fluid density and viscosity, wall roughness, and a friction-factor method appropriate to the Reynolds number. The result is a pressure difference for the stated section, not a complete pump-selection or piping-design approval.
What pipe pressure drop represents
Pressure supplies mechanical energy that moves fluid through a pipe. As the fluid shears against the wall and mixes through fittings, part of that mechanical energy becomes internal energy. A pressure gauge placed downstream therefore reads less than an otherwise comparable upstream gauge. The difference attributed to irreversible flow resistance is the pressure drop. It depends on the route, flow state, fluid properties, and component geometry rather than on pipe length alone.
A useful calculation begins by defining its endpoints. A straight-pipe estimate between two taps differs from a system estimate that includes entrances, elbows, valves, expansions, contractions, and equipment. Elevation and velocity changes also affect the measured pressure difference through the energy equation, but they are not wall-friction losses. Keeping friction loss, static head, and velocity head separate prevents a common mistake: calling every pressure change a pressure drop caused by resistance.
For incompressible preliminary work, Darcy-Weisbach provides a general basis because it relates loss to velocity head through a dimensionless friction factor. The same framework can be used for many Newtonian liquids and low-Mach-number gases when properties remain reasonably constant. Compressible gas networks, flashing liquids, non-Newtonian slurries, two-phase flow, and strongly heated lines need methods that represent their additional physics.
Delta p_major = f (L / D) (rho V^2 / 2)
The Darcy friction factor f multiplies the length-to-diameter ratio and dynamic pressure. L and D must describe the same straight internal passage, rho is density, and V is bulk mean velocity.
Define geometry, flow, and fluid properties
Use the actual internal diameter, not the nominal pipe label or outside diameter. Pipe schedules, tubing wall thickness, linings, corrosion, and manufacturing tolerances can make those values different. Length should follow the centerline of each uniform segment. If diameter or roughness changes, divide the route into segments and calculate each one separately. A single average diameter can conceal the strong diameter sensitivity created by both L/D and velocity.
Convert volumetric flow rate to bulk velocity with V = Q/A, where A = pi D^2/4 for a circular pipe. This conversion is important because pressure loss changes approximately with velocity squared once the friction factor is known. Doubling flow through the same pipe roughly quadruples dynamic pressure, while Reynolds number and friction factor also change. A unit error in flow rate, such as treating litres per minute as cubic metres per second, can therefore dominate the answer.
Density and viscosity must represent the fluid composition, temperature, and pressure relevant to the segment. Density sets dynamic pressure; viscosity sets Reynolds number and therefore the flow regime and friction factor. For a liquid whose temperature changes only slightly, one representative property state may be adequate for an estimate. For long heated lines or gases with material density variation, segment properties or a compressible-flow method may be needed.
Related in this workflow: Hydraulic Diameter Calculator, Density Converter.
Calculate Reynolds number before choosing friction factor
Reynolds number compares inertial and viscous effects using Re = rho V D / mu. In fully developed circular-pipe flow, a value below roughly 2,300 is commonly treated as laminar, an intermediate range is transitional, and a sufficiently larger value is treated as turbulent. These bands are practical conventions rather than guarantees. Inlet disturbances, pulsation, roughness, curvature, and development length can move the observed transition.
For laminar circular-pipe flow, the Darcy friction factor is f = 64/Re. This relationship does not require wall roughness because viscous shear dominates and the ideal fully developed velocity profile controls the loss. In turbulent flow, f depends on Reynolds number and relative roughness epsilon/D. The Colebrook equation is implicit; explicit approximations such as Swamee-Jain or Haaland are often convenient when used within their stated ranges.
The Darcy friction factor is four times the Fanning friction factor. Both conventions appear in handbooks and software, so the name and equation must be checked together. Substituting a Fanning value into the Darcy-Weisbach form underpredicts major loss by a factor of four. Record the convention beside every friction-factor value imported from a chart, correlation, supplier document, or legacy spreadsheet.
Related in this workflow: Reynolds Number Calculator, Dynamic Viscosity Converter.
Account for roughness and developing flow
Absolute roughness is a representative wall-height scale, while relative roughness divides it by internal diameter. Published roughness tables are approximate and may describe new commercial pipe, not a particular installed line. Welds, scale, deposits, corrosion, liners, and biological growth can change effective resistance. Sensitivity calculations with plausible clean and aged roughness values are often more honest than reporting one friction factor to many decimal places.
Standard friction correlations usually assume fully developed flow in a straight passage. After an entrance, bend, valve, or diameter change, the velocity profile needs distance to redevelop. If the straight run is short, a fully developed major-loss term plus a separate local-loss coefficient may not represent all interactions exactly. The estimate remains useful for screening, but detailed design may need validated component data, empirical system testing, or CFD that resolves the relevant geometry.
Noncircular ducts may use hydraulic diameter D_h = 4A/P_w when the chosen correlation supports that definition. Hydraulic diameter does not make every noncircular passage equivalent to a round pipe, especially in laminar flow where aspect ratio affects the velocity profile and friction relation. Use a geometry-specific correlation when available, and document whether wetted perimeter excludes free surfaces or includes only solid boundaries.
Add fittings and component losses consistently
Elbows, tees, valves, entrances, exits, reducers, strainers, and other components disturb the velocity field and add irreversible loss. A common representation is Delta p_minor = K rho V^2/2. The coefficient K belongs to a stated component geometry and reference velocity. A reducer coefficient based on downstream velocity cannot be combined blindly with an upstream velocity. For mixed diameters, evaluate each component with the basis used by its data source.
An alternative is equivalent length, where a fitting is represented as an added L/D. Equivalent length still depends on the friction-factor convention and often on size and configuration. Do not add both K and equivalent length for the same component. Manufacturer loss data are preferable for control valves, filters, heat exchangers, meters, and proprietary fittings because their internal geometry may not match generic handbook entries.
System boundaries determine whether outlet loss belongs in the total. Discharge from a pipe into a large reservoir dissipates the remaining velocity head and is commonly assigned K = 1 based on pipe velocity. Flow between pressure taps inside a continuous pipe does not automatically include that exit loss. Sketch the endpoints, list each component once, and attach every K value to a velocity and source before summing.
Delta p_total = [f (L / D) + sum K] (rho V^2 / 2)
This compact form applies when all terms use the same reference velocity and density. Multi-diameter systems should be evaluated segment by segment instead of forcing every term into one bracket.
Worked water-pipe example
Consider water at a stated temperature with density 998 kg/m3 and dynamic viscosity 0.001002 Pa s flowing at Q = 0.0015 m3/s through 20 m of smooth 40 mm internal-diameter pipe. The cross-sectional area is pi(0.04)^2/4 = 0.001257 m2, giving V about 1.194 m/s. Reynolds number is 998 x 1.194 x 0.04 / 0.001002, or about 47,600, so a turbulent friction relation is appropriate.
Assume a reviewed Darcy friction factor of 0.021 for the selected Reynolds number and relative roughness. Dynamic pressure rho V^2/2 is about 711 Pa. The major-loss multiplier fL/D is 0.021 x 20/0.04 = 10.5, so major pressure drop is approximately 7,470 Pa. If the route includes fittings whose coefficients sum to 3.2 on the same velocity basis, minor loss is 3.2 x 711 = 2,280 Pa.
The estimated total friction loss is therefore about 9,750 Pa, or 9.75 kPa. Converting to head gives h_L = Delta p/(rho g), approximately 0.996 m of water. This total does not include elevation rise, required terminal pressure, pump efficiency, transient margin, or uncertainty in roughness and fitting data. Those terms belong in the broader system-energy and equipment-selection calculation.
Interpret the result with scale and sensitivity checks
Compare major and minor contributions instead of reading only the total. A long uniform pipeline may be length dominated, while a short equipment skid with many valves and fittings may be component dominated. If one term is unexpectedly tiny, inspect units and coefficient bases. If pressure loss is a large fraction of the available absolute pressure, constant-density or incompressible assumptions deserve review, particularly for gases and suction lines.
Repeat the estimate at minimum, normal, and maximum flow. Turbulent loss commonly grows close to the square of flow, so a system acceptable at normal operation can become restrictive at peak demand. Also vary viscosity for operating temperature and roughness for realistic surface condition. Presenting a range tied to physical assumptions gives a designer more useful information than a single highly rounded number.
For pump systems, combine friction loss with elevation and terminal-pressure requirements to form the system curve. The pressure-drop calculator provides one operating-point loss; it does not establish where a pump curve intersects the system curve or whether net positive suction head, cavitation, control stability, vibration, and transient events are acceptable. These checks require equipment data and a complete system model.
Common calculation errors
Using nominal diameter, mixing Darcy and Fanning factors, and omitting flow-rate conversion are the largest arithmetic errors. Other frequent problems include using water properties for another fluid, treating dynamic viscosity as kinematic viscosity, entering roughness in millimetres while diameter is in metres, and using a K value with the wrong reference velocity. A dimensional audit and a short input table catch most of these before calculation.
A conceptual error is adding static elevation head to friction and then describing the combined value as pressure drop caused by pipe resistance. Another is counting a fitting both through K and equivalent length. A third is assuming every valve of a broad type has the same coefficient regardless of opening or internal pattern. Component specification matters, especially when valve throttling dominates the system.
False precision is also misleading. Roughness, property temperature, inside diameter, and component coefficients may be uncertain even when the calculator displays several digits. Round the reported result to a resolution justified by inputs, retain the unrounded value only for intermediate arithmetic, and state the friction method and K-data source so the calculation can be reproduced.
Limitations and responsible use
The described workflow is intended for steady, single-phase, Newtonian flow with a defensible representative density and viscosity. It does not model water hammer, startup transients, cavitation, flashing, compressible choking, two-phase patterns, slurry settling, non-Newtonian rheology, heat-transfer-driven property change, network balancing, or active control valves. Each excluded mechanism can alter pressure behavior materially.
Handbook correlations have documented ranges and uncertainty. Safety-critical, hygienic, regulated, high-energy, cryogenic, corrosive, or process-hazard service requires applicable codes, material and component specifications, relief and transient analysis, and qualified review. Use the ScholarTool calculation to organize a transparent preliminary estimate, then verify geometry, properties, correlations, operating envelopes, and equipment data before consequential design or procurement.
Related ScholarTool tools
- Pressure Drop Calculator
- Reynolds Number Calculator
- Hydraulic Diameter Calculator
- Dynamic Viscosity Converter
- Density Converter
Related categories
References and recommended sources
- Fluid Mechanics: F. M. White, Fluid Mechanics, McGraw-Hill.
- Internal Flow Systems: D. S. Miller, Internal Flow Systems, BHRA/Elsevier.
- Crane Technical Paper 410: Crane Co., Flow of Fluids Through Valves, Fittings, and Pipe, Technical Paper No. 410.
- Moody friction-factor paper: L. F. Moody, Friction Factors for Pipe Flow, Transactions of the ASME, 1944.
Continue with the working tools
Use the related calculators to apply the concept, then verify inputs, assumptions, method limits, and references before using an output in consequential work.
Explore CFD Tools