What the calculator returns
The calculator solves for one number: the minimum internal bore of a single, steady compressed-air run carrying its peak simultaneous demand. It computes two separate requirements and keeps the larger:
- Bore for the pressure-drop budget, : the diameter at which the empirical pressure-loss relation gives exactly the pressure drop you allowed.
- Bore for the velocity target, : the diameter at which air at the lowest permitted outlet pressure moves at the target velocity.
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 (bar(g)) is what you enter for the inlet.
- Absolute pressure , where bar. The model uses absolute pressure.
- Pressure drop (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:
The coefficient 450 and the exponent 1.85 are tied to specific units. The relation only works with:
| Symbol | Meaning | Required unit |
|---|---|---|
| Free-air flow (FAD) | L/s | |
| Total equivalent length | m | |
| Internal bore | mm | |
| Absolute inlet pressure | bar | |
| 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 and solving for gives the pressure-drop bore:
For velocity, the calculator converts the free-air flow to the actual volume at the lowest outlet pressure the budget permits, , using the ideal-gas, equal-temperature pressure ratio. The target velocity then fixes the flow area:
The factor 0.001 converts litres to cubic metres. The factor 1000 converts the diameter from metres to millimetres. Using 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 is known, the calculator evaluates the drop and the outlet velocity at that bore:
If pressure drop governs, equals your budget. If velocity governs, the larger bore loses less pressure than you allowed. The actual outlet pressure is then higher than , 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, 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:
Velocity bore, which is quick to check by hand:
The pressure-drop formula gives 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, .
Adding a 25 m fittings allowance in Advanced mode raises the equivalent length to 125 m. Everything else is unchanged, and 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 , as and as . Velocity bore scales as and .
- Doubling the flow raises the pressure-drop bore by a factor of about , but raises the velocity bore by .
- Doubling the length, or halving the allowed drop, raises the pressure-drop bore by .
- Because loss scales as , a 10% larger bore cuts the loss to about 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:
- Look up manufacturer internal diameters for your chosen material and pressure class.
- Choose one at or above the calculated minimum, then allow project margin. Rounding the displayed number downward can violate the underlying minimum.
- Enter the fittings equivalent lengths that apply to that pipe and recheck.
- 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, . 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 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.
Read the formula definitions, supported input ranges, and limitations before using this estimate.