Calculate compressed air pipe size from CFM, pipe length and line pressure, with the pressure drop and air velocity for each standard pipe size.

Finds the smallest standard pipe that keeps the pressure loss over the run within your limit.

The CFM of the tools that run at the same time, or the compressor’s rated CFM. This is free air (SCFM), not the compressed volume.

From the compressor or tank to the farthest outlet.

100 psig is a typical shop setting. Use the gauge pressure where the pipe starts.

The share of line pressure the pipe may lose. 5% is a common upper limit, and less is better.

Fittings (optional)
Each elbow counts as 20 pipe diameters of extra length. Blank means none.

Each tee counts as 6 pipe diameters of extra length. Blank means none.

Each gate valve counts as 3 pipe diameters of extra length. Blank means none.

Calculator Functions

The calculator sizes a compressed air line by the pressure it loses to friction, and also shows the air velocity in the pipe. Select a function to open it in the calculator.

FunctionUse it whenYou enter
Pipe size for a flowYou are choosing pipe for a new air lineAir flow, pipe length, line pressure and the allowed pressure drop
Pressure drop in a pipeYou want to check a pipe you already haveAir flow, pipe size, pipe length and line pressure
Maximum flow through a pipeYou want to know how much air a pipe can carryPipe size, pipe length, line pressure and the allowed pressure drop

Air flow is free air: the CFM printed on the tools or the compressor, in cfm, L/s or m³/min. Line pressure starts at 100 psig and the allowed drop at 5%, and both can be changed. The pipe list holds schedule 40 steel sizes from 1/2 in to 6 in, plus a custom inside diameter for tubing. Optional fields add 90° elbows, tees and gate valves as extra length. For velocity alone, use the Compressed Air Velocity Calculator.

Compressed Air Pipe Size Formulas

Δp = 0.1025 × L × (Q ÷ 60)²
÷ (r × d5.31) [1]
r = (P + 14.7) ÷ 14.7
ΔpPressure lost to friction (psi)
LPipe length, with the extra length for fittings (ft)
QAir flow as free air (cfm)
rCompression ratio
dPipe inside diameter (in)
PLine pressure on a gauge (psig). 14.7 psi is the atmosphere at sea level

The formula reproduces the friction factors that compressed air handbooks tabulate by flow and pipe size, where the loss is the factor divided by the compression ratio and scaled by length [1]. For 1,000 cfm in 3 in pipe over 1,000 ft at 100 psig it gives 9.5 psi, against 9.4 psi from the table. The drop rises with the square of the flow and falls steeply with diameter, so one pipe size up cuts the loss to a third or less.

Pipe size for a flow

The calculator works out Δp for every schedule 40 size, using the inside diameters of standard steel pipe [2], and picks the smallest one whose loss is no more than the allowed drop, P × the percentage you set. A common rule of thumb is to keep the line loss under 5% [1]. At 20 cfm over 100 ft and 100 psig, 1/2 in pipe loses 1.82 psi, which is inside the 5 psi allowed, so 1/2 in is the answer. The result table lists the loss and velocity for every size so you can step up if you expect to add tools.

Pressure drop in a pipe

This applies the formula to the one pipe you choose and reports the loss in psi and bar, as a share of line pressure, and the pressure left at the far end.

Maximum flow through a pipe

Q = 60 × √(Δp × r × d5.31
÷ (0.1025 × L))

This is the same formula solved for flow, with Δp set to the allowed drop. A 3/4 in pipe 100 ft long at 100 psig carries about 70 cfm before it loses 5 psi.

Fittings

L = Lpipe + d ×
(20e + 6t + 3g) ÷ 12 [1]

Each 90° elbow (e) adds 20 pipe diameters of length, each tee (t) adds 6 and each gate valve (g) adds 3. The diameters are in inches, so the sum is divided by 12 to give feet.

Air velocity

V = 144 × Q × 14.7
÷ (A × 60 × (P + 14.7)) [1]

V is in feet per second and A is the bore area in square inches, π × d² ÷ 4. To limit pressure drop, velocity should stay under 20 ft/s in a main header and under 30 ft/s in distribution piping [1]. The calculator warns you above 30 ft/s.

Limits of This Estimate

  • The result covers friction in the pipe and the fittings you enter. Hoses, filters, regulators, dryers and quick couplers often lose more than the pipe does, and leaks are not counted [1].
  • The factors are for clean steel pipe. Old pipe with scale inside loses more [1]. For aluminum or copper tube, enter its real inside diameter.
  • The formula treats the air as staying near line pressure, so it is best for small losses. Above about 10% of line pressure the result is rough.
  • Atmospheric pressure is taken as 14.7 psi. At high altitude the same free-air flow loses slightly more. These estimates are based on the best available data and estimations.

Sources

  1. Oak Ridge National Laboratory, U.S. Department of Energy Better Plants, Compressed Air Training Session 5: Distribution System: friction factors and the pipe loss method, the velocity equation and limits, fitting lengths and the 5% rule of thumb
  2. U.S. Nuclear Regulatory Commission, document ML12090A666, steel pipe data chart to ASME B36.10: schedule 40 inside diameters