Home Calculators Categories Category: Science & Engineering

Compressed air pipe sizing calculator

Enter the free-air demand, the pipe length, the inlet pressure and the pressure drop you can afford, and the calculator returns the smallest internal diameter, in millimetres, that satisfies both a pressure-drop limit and a velocity target. The result is a continuous engineering estimate for one steady run, not a catalogue size. You still choose a real pipe whose internal diameter is larger.

Input
Load a worked run, then edit the values for your own installation.

Single-run estimate. FAD at 1.01325 bar absolute; reference and pipe air at the same temperature. Simple: 6 m/s target, no fittings allowance. Change these in Advanced.

Use peak simultaneous free-air demand at 1.01325 bar absolute. Slider to 200 L/s; type up to 10000.

Use peak simultaneous free-air demand at 1.01325 bar absolute. Slider to 200 L/s; type up to 10000.

L/s FAD
Length of one run. Slider to 500 m; type up to 2000. Add fittings in Advanced.

Length of one run. Slider to 500 m; type up to 2000. Add fittings in Advanced.

m
Enter gauge pressure. The calculator adds 1.01325 bar to obtain absolute pressure.

Enter gauge pressure. The calculator adds 1.01325 bar to obtain absolute pressure.

bar(g)
Pipe friction allowance only, from 0.01 to 0.2 bar.

Pipe friction allowance only, from 0.01 to 0.2 bar.

bar
Visual
Compressed air bore sizing chartCompare the internal bores required for pressure drop and velocity. The larger requirement sets the minimum.
Output
Minimum internal bore
—
Drop at minimum bore
—
Outlet velocity at minimum bore
—

Approximate continuous bore, not a nominal pipe size. Select a larger manufacturer internal diameter and allow project margin. Drop and speed refer to the calculated minimum bore.


        

What the calculator returns

The calculator solves for one number: the minimum internal bore dmin⁡d_{\min} of a single, steady compressed-air run carrying its peak simultaneous demand. It computes two separate requirements and keeps the larger:

  1. Bore for the pressure-drop budget, dpd_p: the diameter at which the empirical pressure-loss relation gives exactly the pressure drop you allowed.
  2. Bore for the velocity target, dvd_v: the diameter at which air at the lowest permitted outlet pressure moves at the target velocity.
dmin⁡=max⁡(dp, dv)d_{\min} = \max(d_p,\ d_v)

The two bores are alternative requirements, not quantities to add. A pipe that meets the larger one meets both.

The answer is an approximate, continuous internal diameter. It is not a nominal size (DN or trade size), an outside diameter, a schedule, or a manufacturer recommendation. Real pipe is sold in discrete internal diameters that depend on material and wall thickness, so you pick a manufacturer's internal diameter at or above the result and then allow project margin.

Simple and Advanced modes

Simple mode is the default and asks for four inputs: free-air flow, straight pipe length, inlet gauge pressure and the allowed pipe pressure drop. It fixes two assumptions for you: no fittings allowance (0 m of equivalent length) and a velocity target of 6 m/s.

Advanced mode adds an input for fittings equivalent length and an adjustable velocity target. It also shows the two constraint bores separately and the total equivalent length. Switching modes keeps your entered values. Advanced-only values are ignored while Simple is active.

The 6 m/s target and the zero fittings allowance are planning assumptions built into the software. They are not design standards, and your project, plant rules or air-system supplier may call for something different.

Inputs and what they mean

All six inputs are numeric, with companion sliders. There is one fixed SI unit system and no unit selector, so convert anything else before you type it. Typed values can go beyond a slider's range as long as they stay inside the supported limits.

Input Default Supported range Unit
Free-air flow 50 0.1 to 10,000 L/s FAD
Straight pipe length 100 1 to 2,000 m
Inlet gauge pressure 7 1 to 16 bar(g)
Allowed pipe pressure drop 0.1 0.01 to 0.2 bar
Fittings equivalent length (Advanced) 0 0 to 1,000 m
Velocity target (Advanced) 6 2 to 15 m/s

All limits are inclusive. These ranges are the boundary of the arithmetic. They do not certify that a given pipe, pressure or layout is feasible, safe or suitable.

Free-air flow is not the flow inside the pipe

The flow input is free-air delivery (FAD): the volume of air the demand would occupy at the reference pressure of 1.01325 bar absolute, taken at the same temperature as the air in the pipe. Compressed air at 7 bar(g) occupies roughly an eighth of that volume, so the actual volumetric flow in the pipe is much smaller than the FAD figure.

Use the peak simultaneous demand for the run, not the sum of every connected tool's nameplate rating. The calculator does not estimate diversity or simultaneity for you.

Converting a flow figure between volume units, for example litres per second to cubic feet per minute, is a different operation from converting free-air volume to actual compressed volume. As a unit-only conversion, 1 L/s is about 2.1189 cfm. That is only valid when the other figure is quoted at the same reference conditions. Rated flows given in SCFM or similar units are defined at different reference conditions by different suppliers, and the calculator cannot tell which one applies. Check the definition of any externally supplied number before entering it.

Gauge pressure, absolute pressure and pressure drop

Three different pressures appear in the model, and mixing them up is a common source of error:

  • Gauge pressure pgp_g (bar(g)) is what you enter for the inlet.
  • Absolute pressure p1=pg+p0p_1 = p_g + p_0, where p0=1.01325p_0 = 1.01325 bar. The model uses absolute pressure.
  • Pressure drop BB (bar) is a difference between two pressures, so the gauge/absolute distinction does not apply to it.

The calculator adds the fixed 1.01325 bar itself. It does not accept an absolute inlet pressure and does not adjust atmospheric pressure for altitude or weather.

The pressure-drop budget applies only to the pipe run represented by your straight and equivalent length. It is not automatically the whole compressor-to-tool loss. Dryers, filters, regulators, hoses and tools need their own allowances.

The compressed air pipe sizing formula and its units

The pressure-loss model is an empirical relation attributed to Atlas Copco for compressed-air distribution:

Δp=450 q1.85 Led5 p1\Delta p = \frac{450\, q^{1.85}\, L_e}{d^{5}\, p_1}

The coefficient 450 and the exponent 1.85 are tied to specific units. The relation only works with:

Symbol Meaning Required unit
qq Free-air flow (FAD) L/s
LeL_e Total equivalent length m
dd Internal bore mm
p1p_1 Absolute inlet pressure bar
Δp\Delta p Estimated pipe pressure drop bar

Substituting other units without re-deriving the coefficient gives wrong answers. This is an empirical correlation, not a Darcy–Weisbach calculation, and it has no pipe-roughness term. It is also not a full compressible-flow solution.

Total equivalent length is the straight length in Simple mode. In Advanced mode it is the straight length plus the fittings equivalent length you enter, added once.

Solving for the bore

Setting Δp=B\Delta p = B and solving for dd gives the pressure-drop bore:

dp=[450 q1.85 Lep1 B]1/5d_p = \left[\frac{450\, q^{1.85}\, L_e}{p_1\, B}\right]^{1/5}

For velocity, the calculator converts the free-air flow to the actual volume at the lowest outlet pressure the budget permits, p1−Bp_1 - B, using the ideal-gas, equal-temperature pressure ratio. The target velocity vtv_t then fixes the flow area:

dv=10004 q (0.001) p0(p1−B) π vtd_v = 1000\sqrt{\frac{4\, q\,(0.001)\, p_0}{(p_1 - B)\,\pi\, v_t}}

The factor 0.001 converts litres to cubic metres. The factor 1000 converts the diameter from metres to millimetres. Using p1−Bp_1 - B is conservative for velocity: it assumes the air has already expanded as much as the budget allows, which gives the largest actual volume and therefore the largest required area.

What is reported at the minimum bore

Once dmin⁡d_{\min} is known, the calculator evaluates the drop and the outlet velocity at that bore:

Δpmin⁡=450 q1.85 Ledmin⁡5 p1\Delta p_{\min} = \frac{450\, q^{1.85}\, L_e}{d_{\min}^{5}\, p_1}
vout=4 q (0.001) p0(p1−Δpmin⁡) π (0.001 dmin⁡)2v_{\text{out}} = \frac{4\, q\,(0.001)\, p_0}{(p_1 - \Delta p_{\min})\,\pi\,(0.001\, d_{\min})^{2}}

If pressure drop governs, Δpmin⁡\Delta p_{\min} equals your budget. If velocity governs, the larger bore loses less pressure than you allowed. The actual outlet pressure is then higher than p1−Bp_1 - B, the air is slightly denser, and the reported outlet velocity comes out a little below the target. That is expected and not an error.

These values are for the calculated continuous bore. They are not recomputed for a commercial pipe you later choose. There is no input for a candidate bore.

Worked example: a 50 L/s run over 100 m

Conditions: Simple mode, q=50q = 50 L/s FAD, 100 m of straight pipe, 7 bar(g) inlet, 0.1 bar allowed drop, no fittings, 6 m/s target.

First, absolute pressure:

p1=7+1.01325=8.01325 barp_1 = 7 + 1.01325 = 8.01325\ \text{bar}

Velocity bore, which is quick to check by hand:

dv=10004(50)(0.001)(1.01325)(8.01325−0.1) π (6)≈36.859 mmd_v = 1000\sqrt{\frac{4(50)(0.001)(1.01325)}{(8.01325 - 0.1)\,\pi\,(6)}} \approx 36.859\ \text{mm}

The pressure-drop formula gives dp≈37.888d_p \approx 37.888 mm. The larger value governs, so:

  • Minimum internal bore: about 37.888 mm, governed by pressure drop.
  • Drop at that bore: 0.1 bar (it matches the budget by construction).
  • Outlet velocity: about 5.6786 m/s, below 6 m/s because the pressure-drop requirement selects a larger bore than the velocity requirement. The estimated outlet pressure is 7.91325 bar absolute, exactly the lowest permitted value, p1−Bp_1-B.

Adding a 25 m fittings allowance in Advanced mode raises the equivalent length to 125 m. Everything else is unchanged, and dpd_p rises to about 39.617 mm. The velocity bore stays at about 36.859 mm, so pressure drop still governs and the outlet velocity falls to about 5.1937 m/s.

These figures come from unrounded intermediate values. The display shows five significant digits, which supports reproducibility and does not imply that the physical result is accurate to five digits.

How each input moves the answer

The exponents in the formulas make the sensitivities easy to reason about. Pressure-drop bore scales as q1.85/5=q0.37q^{1.85/5} = q^{0.37}, as Le0.2L_e^{0.2} and as B−0.2B^{-0.2}. Velocity bore scales as q\sqrt{q} and vt−1/2v_t^{-1/2}.

  • Doubling the flow raises the pressure-drop bore by a factor of about 20.37≈1.292^{0.37} \approx 1.29, but raises the velocity bore by 2≈1.41\sqrt{2} \approx 1.41.
  • Doubling the length, or halving the allowed drop, raises the pressure-drop bore by 20.2≈1.152^{0.2} \approx 1.15.
  • Because loss scales as d−5d^{-5}, a 10% larger bore cuts the loss to about 1.1−5≈0.621.1^{-5} \approx 0.62 of its former value.

Pressure drop is therefore forgiving of bore error in one direction, and velocity becomes the limiting constraint as flow grows. The table below holds everything else fixed.

A compressed air pipe sizing table under stated conditions

A sizing table is only meaningful with its conditions attached. This one assumes 7 bar(g) inlet, 100 m of straight pipe, no fittings allowance, a 0.1 bar budget and a 6 m/s target. Change any of these and the numbers change.

Free-air flow (L/s FAD) Bore for drop (mm) Bore for velocity (mm) Minimum bore (mm) Governs
10 20.887 16.484 20.887 Pressure drop
25 29.317 26.063 29.317 Pressure drop
50 37.888 36.859 37.888 Pressure drop
100 48.964 52.127 52.127 Velocity
200 63.279 73.718 73.718 Velocity

The governing constraint changes between 50 and 100 L/s in this scenario. At 100 L/s the bore sized for velocity loses only about 0.0731 bar, below the 0.1 bar budget, and the outlet velocity is about 5.98 m/s. At 200 L/s the loss is about 0.0466 bar and the outlet velocity about 5.96 m/s. In both cases the "extra" pressure margin is a consequence of sizing for velocity, not a sign of an oversized pipe.

This table is not a universal compressed air pipe sizing chart. The calculator does not provide one independent of operating conditions.

Reading the bore comparison chart

The calculator draws two horizontal bars on a shared linear scale in millimetres: the bore required for pressure drop and the bore required for the velocity target. The longer bar governs. Three cautions apply when reading it:

  • The scale adapts to the current governing bore, so bar lengths from different input states are not comparable.
  • It is not a catalogue. It does not show commercial sizes, a pressure profile or a network.
  • The bars are alternatives. They should never be added.

Zoom, pan and Reset Viewport change only the view, not the calculation.

Tuning the velocity target and the pressure-drop budget

Both are choices you make, and each shifts the result in a known direction. The cases below use the 50 L/s, 100 m, 7 bar(g) run with no fittings.

Change from baseline Bore for drop (mm) Bore for velocity (mm) Minimum bore (mm) Governs
Baseline: 0.1 bar, 6 m/s 37.888 36.859 37.888 Pressure drop
Velocity target 4 m/s 37.888 45.143 45.143 Velocity
Velocity target 10 m/s 37.888 28.551 37.888 Pressure drop
Allowed drop 0.05 bar 43.522 36.743 43.522 Pressure drop
Allowed drop 0.2 bar 32.983 37.094 37.094 Velocity

Two observations follow. Lowering the permitted velocity increases the velocity bore, but changes the governing minimum only when that bore exceeds the pressure-drop bore. And loosening the budget does not shrink the pipe indefinitely: at 0.2 bar the velocity constraint takes over.

Inlet pressure and length also shift the balance. At 4 bar(g), the velocity bore rises to about 46.778 mm because the air is less dense, and velocity governs. At 10 bar(g) the pressure-drop bore falls to about 35.553 mm. Halving the length to 50 m gives a pressure-drop bore of about 32.983 mm, so velocity governs at about 36.859 mm. Doubling it to 200 m gives about 43.522 mm.

The calculator does not tell you what velocity target or drop budget is appropriate. Those come from your project requirements, your equipment and your own judgement.

Fittings, equipment and what the number leaves out

In Advanced mode, the fittings equivalent length is added to the straight length once. The calculator does not count fittings, contain bend or valve tables, or work out equivalent length from fitting type. It also does not update that allowance when the bore changes.

Equivalent lengths for bends, valves and couplings depend on the fitting and on its size, so take them from the manufacturer's data. Then recheck the allowance at the pipe you finally choose.

Beyond fittings, the model leaves out:

  • Dryers, filters, regulators, tools and other equipment losses, which need separate allowances.
  • Ring mains, loops, branches and complete network solutions.
  • Pulsation, intermittent transients, receiver dynamics and pressure recovery.
  • A temperature difference between reference air and pipe air. The model assumes they are equal.
  • Material-specific roughness, ageing or corrosion.
  • Pipe material, wall thickness, schedule, nominal size, pressure rating and code compliance.
  • Gases other than air.

The Simple-mode advisory states this directly: no fittings allowance is included, and equipment losses should be budgeted separately. It does not mean your run contains fittings. It flags that none were counted.

Instrument air pipe sizing

Searching for instrument air pipe sizing leads to the same distribution-bore estimate, with the same assumptions. The calculator does not provide a separate instrument-air method. It does not design dryness, contamination control, filtration, dew point or the control-response performance of an instrument-air system. Those requirements sit outside it. Use it only for the pipe-bore part of the question, and treat air quality and control response as separate design tasks.

Using an air compressor pipe size result

If you are sizing the pipe downstream of a compressor, enter the peak simultaneous demand in free-air terms, the inlet gauge pressure at the start of the run, the straight length and your pipe-drop allowance. The output is the minimum internal diameter for that run.

When you pick the real pipe:

  1. Look up manufacturer internal diameters for your chosen material and pressure class.
  2. Choose one at or above the calculated minimum, then allow project margin. Rounding the displayed number downward can violate the underlying minimum.
  3. Enter the fittings equivalent lengths that apply to that pipe and recheck.
  4. Confirm pressure rating, wall thickness and code requirements with the appropriate sources. The calculator does not do this.

Copy, export and validation

Results update as you change inputs. Copy captures the mode, active inputs, visible results, assumptions, governing constraint and advisories. Export opens the browser's Print/PDF workflow with a text summary, and whether you can save to PDF depends on the browser. Reset returns to Simple mode with default values. There is no CSV download and no share-link feature.

The calculator rejects blank, malformed, negative or out-of-range entries, zero values (except fittings equivalent length), and entries with units or grouping punctuation such as "1,000". Plain decimal and scientific notation are accepted. If an input is invalid, results turn to placeholders and Copy and Export are disabled until it is corrected.

The arithmetic runs locally in your browser using JavaScript double-precision numbers, with no external pipe database.

Frequently asked questions

Does the result tell me which pipe size to buy?

No. It gives a continuous minimum internal diameter in millimetres. You choose a manufacturer's internal diameter that is at or above it. The calculator does not map to DN, trade sizes, schedules or materials.

Can I enter flow in SCFM or pressure in psi?

Not directly. The calculator has one fixed SI unit system, and its flow input is L/s FAD. Convert units before entering values, and confirm the reference conditions of any SCFM figure.

Why is my outlet velocity below my target?

When velocity governs, the chosen bore is sized using the lowest permitted outlet pressure, p1−Bp_1 - B. At that bore the estimated pressure drop is smaller than the budget, so the calculated outlet pressure is higher and the air is denser, which lowers the velocity. When pressure drop governs, outlet pressure equals p1−Bp_1-B in the model; velocity is below target because the pressure-drop bore is larger than the velocity bore. If the two bores are equal, both constraints reach their limits together.

Is 6 m/s a recommended design velocity?

No. It is the fixed planning assumption in Simple mode. In Advanced mode you can set any target between 2 and 15 m/s. Which target suits an installation is your decision.

Can I use it for a branched or looped system?

No. It evaluates one steady run. Rings, loops and branches need a network analysis.

How accurate is it?

The display uses five significant digits so results are reproducible, but the underlying relation is empirical and the real installation will differ. Do not treat the digits as a guarantee of physical accuracy or suitability.

Calculation Methodology Documented

Read the formula definitions, supported input ranges, and limitations before using this estimate.

Review Methodology
Debjeet Bhowmick
Author Debjeet Bhowmick AWS Certified Solutions Architect • Cloud & DevOps Consultant

AWS Certified Solutions Architect Professional and Senior Cloud & DevOps Consultant with over 14 years of hands-on expertise architecting resilient cloud infrastructure across AWS, GCP, and Azure. Specializes in infrastructure as code, continuous delivery automation, and telemetry across Terraform, Ansible, Docker, Kubernetes, ELK, Python, and SQL. Creator of OrangeCalc, delivering client-side high-precision computational tools.