Flow meter straight run calculator
Calculate the straight pipe runs needed before and after a flow meter by technology and upstream fitting (elbow, valve, pump…), with ISO 5167.
A flow meter only measures accurately if the liquid or gas reaches it with a fully developed velocity profile and no swirl. Every elbow, valve, reducer or pump in front of it distorts that profile, and straight pipe is needed for it to recover. This calculator gives you the minimum straight run upstream and downstream by flow meter technology and upstream fitting or, if the pipe is already installed, the largest diameter that fits your run.
How to use the calculator
- Choose the flow meter technology and what is upstream: the nearest fitting that disturbs the flow.
- For an orifice plate, also enter the diameter ratio β (orifice diameter divided by pipe diameter).
- Enter the inside diameter to get the upstream run (L₁). Or enter the run you have and leave the diameter empty to get the largest diameter that complies.
Runs are given in diameters (D): 10 D on a 100 mm pipe is 1 m. They are measured from the end of the fitting to the meter inlet flange (upstream) and from the outlet flange to the next fitting (downstream).
Straight run formula
Where L₁ and L₂ are the upstream and downstream straight runs, D the pipe inside diameter and n₁, n₂ the number of diameters the standard requires for that technology and that fitting.
Straight run table by technology
| Upstream | Magnetic | Vortex | Ultrasonic | Turbine | Coriolis | Thermal mass |
|---|---|---|---|---|---|---|
| 90° elbow or tee | 5 | 20 | 15 | 20 | 0 | 15 |
| Two elbows in the same plane | 5 | 25 | 20 | 20 | 0 | 20 |
| Two elbows in different planes | 5 | 40 | 25 | 20 | 0 | 35 |
| Reducer | 5 | 15 | 15 | 20 | 0 | 15 |
| Expander | 5 | 18 | 20 | 20 | 0 | 20 |
| Control valve | 5 | 50 | 20 | 20 | 0 | 50 |
| Valve fully open | 5 | 20 | 15 | 20 | 0 | 20 |
| Pump | 5 | 25 | 30 | 20 | 0 | 30 |
| Downstream | 2 | 5 | 3 | 5 | 0 | 5 |
Values in diameters without a flow conditioner. Where the standard refers to the manufacturer (magnetic, vortex, ultrasonic, thermal), they are those given in the manuals of the most widespread manufacturers, such as Endress+Hauser. If your device's manual asks for more, the manual rules.
Orifice plate: ISO 5167-2
The orifice plate is the most demanding and the only one with a complete table in the standard (ISO 5167-2, table 3). The run depends on β: the more open the orifice, the more sensitive it is to a distorted profile.
| Upstream | β 0.2 | 0.4 | 0.5 | 0.6 | 0.67 | 0.75 |
|---|---|---|---|---|---|---|
| 90° elbow or tee | 6 | 16 | 22 | 42 | 44 | 44 |
| Two elbows in the same plane (S) | 10 | 10 | 22 | 42 | 44 | 44 |
| Two elbows in different planes | 34 | 50 | 75 | 65 | 60 | 75 |
| Concentric reducer | 5 | 5 | 8 | 9 | 12 | 13 |
| Concentric expander | 6 | 12 | 20 | 26 | 28 | 36 |
| Ball or gate valve fully open | 12 | 12 | 12 | 14 | 18 | 24 |
| Downstream | 4 | 6 | 6 | 7 | 7 | 8 |
What each standard says
- ISO 5167 (orifice plates, nozzles and Venturi tubes): straight length tables by β and fitting. The most complete reference.
- ISO 20456 (magnetic meters, formerly ISO 6817): refers to the manufacturer; 5 D before and 2 D after is usual.
- ISO 12764 (vortex): the most sensitive to swirl and to valves upstream.
- ISO 17089-1 and AGA-9 (ultrasonic): with several paths and a conditioner, about 10 D before and 3 D after is enough.
- ISO 9951, AGA-7 and API MPMS 5.3 (turbines): about 20 D before without a straightener and 10 D with one; 5 D after.
- ISO 10790 (Coriolis): no straight run needed.
- ISO 14511 (thermal mass): similar to vortex.
Tips for installing flow meters and instruments
- The control valve always goes after the flow meter, never before.
- Full pipe: for liquids, preferably in a vertical run with upward flow or at the low point of a horizontal run. Never at the high point or in a free-falling line.
- Magnetic: electrodes horizontal (not at the top, where bubbles collect) and properly grounded with rings or through the flanges.
- Vortex on steam or gas: pressure and temperature are taken downstream, 3 to 7 D (pressure) and 4 to 8 D (temperature), so as not to disturb the measurement.
- Orifice plate: the thermowell downstream, more than 5 D away. Pressure taps horizontal for liquids and on top for gases.
- No room: a flow conditioner (perforated plate) brings the run down to about 10 D, and a Coriolis meter needs none.
- Centred gaskets: a gasket protruding into the pipe is another disturbance.
Worked example
A vortex meter on a 100 mm pipe with a control valve in front needs 50 D upstream: 50 · 0.1 = 5 m, and 5 D after it: 0.5 m. If the valve is moved after the meter and an elbow is what is left in front, 20 D is enough: 2 m.
The other way round: with only 3 m of straight pipe after an elbow, an orifice plate with β = 0.6 (42 D) fits a pipe of up to 3 / 42 = 71 mm. A magnetic meter (5 D) would fit a 600 mm one.
Frequently asked questions
Why does a flow meter need a straight run?
Because it only measures accurately with a fully developed velocity profile and no swirl. An elbow, a valve or a pump distorts the profile and makes it rotate; straight pipe brings it back in order.
How many diameters does a magnetic flow meter need?
Usually 5 diameters upstream and 2 downstream, measured from the electrode. Some full-bore models are calibrated for 0 diameters.
Which flow meter needs no straight run?
The Coriolis meter: it measures mass through the force the fluid exerts on vibrating tubes, and the velocity profile does not affect it (ISO 10790).
Where should the control valve go?
Always downstream of the flow meter. Upstream it is the worst disturbance: up to 50 diameters for a vortex meter.
What if there is no room?
Fit a flow conditioner (perforated plate or tube bundle), which cuts the run to about 10 diameters for most technologies, or choose a Coriolis meter.
