Pipe Sizing (Compressed Air) Calculator
Pipe diameter from CFM and acceptable pressure drop.
About this calculator
This calculator sizes compressed air distribution piping using the Harris formula, a long-standing empirical equation purpose-built for compressed air (as opposed to the general Darcy-Weisbach approach used for raw friction-loss checks): the minimum pipe diameter comes out to a constant times the fifth root of (equivalent pipe length times flow rate raised to the 1.85 power, divided by allowable pressure drop times absolute operating pressure). The 0.1025 constant used here is calibrated for Schedule 40 steel pipe specifically. Before running the formula, your straight-line pipe length is inflated by a fittings percentage to approximate the extra resistance elbows, tees, and valves add — the "equivalent length" a real run behaves like.
The calculated minimum diameter is then matched up to the next-largest standard Schedule 40 nominal pipe size (from 1/2" to 6" NPS), since pipe isn't sold in arbitrary diameters, and the Harris formula is run again in reverse with that real pipe ID to report the actual expected pressure drop — which will typically be a bit lower than your allowable target, since standard sizes jump in discrete steps. Separately, the calculator checks air velocity in the selected pipe (after converting your free-air CFM to actual compressed volume at line pressure) against practical noise and erosion thresholds: under 20 ft/s is rated good, 20-30 ft/s acceptable, and above 30 ft/s flagged as too high. A common mixup is confusing straight pipe length with equivalent length — always account for fittings, since undersizing here is one of the most common (and expensive to fix later) compressed-air distribution mistakes.
Inputs
Results
Recommended pipe size (NPS)
0.5
How to Use This Calculator
- Enter the required flow rate in CFM and system operating pressure in PSI.
- Set the pipe run length in feet and number of fittings (add equivalent lengths for elbows and tees).
- Set the allowable pressure drop in PSI for the distribution run.
- Review the recommended pipe inside diameter and nearest standard pipe size.
- Verify the calculated velocity stays below 20-30 FPS to avoid excessive turbulence.
What each input means
- Air flow (CFM free air)
- Flow rate in cubic feet per minute at atmospheric pressure (free air delivery).
- Pipe run length (ft)
- Straight-line length of the pipe run from header to point of use.
- Operating pressure (psig)
- System operating pressure in gauge PSI.
- Max pressure drop (psi)
- Maximum acceptable pressure drop across this pipe run. Best practice: < 1 psi per run, < 3% of system pressure total.
- Fittings equivalent length
- Extra length to add for elbows, tees, valves, etc. 50% is typical for a moderately complex run.
What each result means
- Recommended pipe size (NPS)
- Nominal Pipe Size (inches) — the standard designation for ordering pipe.
- Actual pipe ID (inches)
- Inside diameter of the selected Schedule 40 pipe.
- Minimum calculated ID (in)
- Minimum inside diameter to meet pressure drop requirement.
- Actual pressure drop (psi)
- Estimated pressure drop with the selected standard pipe size.
- Air velocity (ft/s)
- Air velocity in the pipe. Keep below 20 ft/s for headers, 30 ft/s for branch lines.
- Velocity rating
- 1 = Good (< 20 ft/s), 2 = Acceptable (20–30 ft/s), 3 = Too high (> 30 ft/s, risk of noise/erosion).
- Equivalent length (ft)
- Total equivalent pipe length including fittings allowance.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersAir flow (CFM free air) = 100, Pipe run length (ft) = 200, Operating pressure (psig) = 100, Max pressure drop (psi) = 3 = 5 input(s) provided
- Calculate Recommended pipe sizeRecommended pipe size0.5 = 0.5
- Calculate Actual pipe IDActual pipe ID0.622 = 0.622
- Calculate Minimum calculated IDMinimum calculated ID = C * pow(numerator / max(0.001, denominator), 0.2)0.55 = 0.55
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does this calculator use the Harris formula instead of Darcy-Weisbach like some other pipe sizing tools?
The Harris formula is an empirical equation developed specifically for compressed air distribution piping, solving directly for minimum diameter from flow, length, and pressure terms — it's a standard tool of the trade for this exact sizing problem, distinct from the general fluid-dynamics Darcy-Weisbach approach used for after-the-fact friction-loss checks on an already-selected pipe.
Why is the actual pressure drop output usually lower than the max pressure drop I entered?
Because pipe only comes in discrete standard sizes, the calculated minimum diameter almost always gets rounded up to the next-largest standard NPS size, and that larger real diameter delivers a lower actual drop than your allowable target. If the selected pipe exactly matched the calculated minimum, the two numbers would be equal.
What is equivalent length, and why does it matter more than my actual pipe run length?
Equivalent length inflates your straight-line pipe length by a fittings percentage to represent the extra flow resistance that elbows, tees, and valves add — a run with lots of turns behaves, for pressure-drop purposes, like a much longer straight pipe. Using only straight-line length undersizes the pipe, since the formula would then understate the real resistance your air actually encounters.
What does the velocity rating of 1, 2, or 3 tell me beyond the pressure drop result?
It's a separate check on air speed inside the selected pipe, independent of whether the pressure drop target is met — under 20 ft/s is rated good, 20-30 ft/s acceptable, and above 30 ft/s flagged as too high. High velocity increases noise and long-term pipe erosion regardless of whether pressure drop numerically looks fine.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Water Pipe Sizing Calculator
Size water supply piping based on fixture units and pipe run length, using Hunter's curve and Hazen-Williams friction loss.
Compressed AirPressure Drop Calculator
System pressure drop from pipe, fittings, and filters.
Fluid PowerPneumatic Tubing Calculator
Size pneumatic tubing by calculating velocity, pressure drop, burst pressure (Barlow's formula), and recommended OD for air systems.
PlumbingGas Pipe Sizing Calculator
Size natural gas piping using the longest run method with Weymouth formula per IFGC standards.
Compressed AirAir Consumption Calculator
CFM per tool from duty cycle and rated consumption.
More in Engineering.