1. Home
  2. Calculators
  3. Pipe Flow Calculator

Pipe Flow Calculator

For plumbing, irrigation and workshop air or water lines: find out how much pressure a pipe run will lose.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Pipe Flow Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • Darcy-Weisbach with Colebrook-White friction factor
  • Water properties from temperature or your own liquid
  • Pipe materials from PVC to cast iron
  • Fittings as total K and a height change
  • Litres, cubic metres or US gallons per minute

Supported formats

Input

  • Typed numbers

You get

  • On-screen results
  • Copyable text

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Pipe Flow Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • It assumes a full pipe, a steady incompressible flow and typical new-pipe roughness.
  • Pumps, partially full pipes, gases at high pressure drop and open channels are not covered.

Guide

Pressure drop in a pipe: Darcy-Weisbach, Reynolds number, friction factor and fittings

Water through a pipe loses pressure to friction, and the longer, narrower and rougher the pipe, or the faster the flow, the more it loses. Knowing how much matters for irrigation lines, workshop air and water, heating loops and anything fed by a pump or a tank. This calculator uses the standard Darcy-Weisbach method to give the velocity, the flow regime and the pressure drop for water or another liquid.

The method

Friction in a straight pipe follows the Darcy-Weisbach equation: the pressure drop is f × (L ÷ D) × ρ × v² ÷ 2, where f is the friction factor, L the length, D the inside diameter, ρ the density and v the mean velocity. Fittings are added as a coefficient K times the same dynamic pressure, ρv² ÷ 2, so the total is (f × L ÷ D + ΣK) × ρv² ÷ 2. The head loss is that pressure divided by ρ times gravity, which gives metres of the liquid.

The friction factor

For laminar flow, with a Reynolds number below 2,300, f is exactly 64 divided by Re. For turbulent flow it depends on the relative roughness, the pipe’s roughness height divided by its diameter, and on Re through the Colebrook-White equation, which the tool solves by iteration starting from the Swamee-Jain approximation. The roughness values are typical for new pipe: 0.0015 mm for plastic and drawn copper, 0.045 mm for commercial steel, 0.15 mm for galvanised iron, 0.26 mm for cast iron and about 1 mm for concrete.

Fluid properties

For water the page interpolates density and kinematic viscosity from a table at 0, 5, 10, 20, 30, 40, 60, 80 and 100 °C: at 20 °C they are 998.21 kg/m³ and 1.004 × 10⁻⁶ m²/s. For another liquid enter the density and the dynamic viscosity in millipascal-seconds (centipoise); the kinematic viscosity is the viscosity divided by the density. Cold water is more viscous, so it has a lower Reynolds number and a somewhat different friction factor.

A worked example

Two litres per second of 20 °C water pass through 100 m of 50 mm commercial steel pipe with fittings totalling K = 3. The velocity is 1.019 m/s, the Reynolds number is 50,727 and the flow is turbulent with f = 0.0237. The pressure drop is 26.09 kPa, which is 3.785 psi and 0.261 bar, equal to 2.666 m of head. A garden-hose line of 20 L/min through 30 m of 19 mm plastic pipe at 15 °C with K = 2 runs at 1.176 m/s and loses 30.02 kPa.

Laminar flow and a height change

Viscous oils are different. A 40 mPa·s oil flowing at 1 L/s through 40 m of 1 inch steel pipe moves at 1.974 m/s but has a Reynolds number of only 1,065, so it is laminar with f = 64 ÷ Re = 0.06008, and the drop is 163.2 kPa. If the pipe also rises 2 m, the pump must add ρ × g × 2 m, and the page shows 179.9 kPa as the total pressure needed.

Limits

The pipe is assumed full, straight and carrying a steady flow of an incompressible liquid. The tool does not select a pump, model partly full pipes, open channels, two-phase flow or gases with large pressure changes, nor account for ageing and scaling that roughen a pipe over years. It also treats the entered diameter as the true inside diameter, which for plastic and steel pipe is smaller than the nominal size.

Checked against the current version of the Pipe Flow Calculator on .

Frequently asked questions

What does the Reynolds number tell me?

It compares inertial and viscous forces in the flow: Re = velocity × diameter ÷ kinematic viscosity. Below about 2,300 the liquid moves in smooth layers (laminar) and friction depends only on the viscosity; above about 4,000 it is turbulent and the pipe roughness matters. Between them the flow can flip, which is why the page warns that the friction factor is uncertain in that range. The garden hose example has a Reynolds number of 19,331 and is firmly turbulent.

How do I account for bends and valves?

Add up the loss coefficients K of every fitting and enter the total. As rough values an open gate valve has about 0.2, a 90° elbow about 0.9, a pipe entrance about 1 and an open globe valve about 10. Each K converts to a pressure loss of K × ρv²/2, the same dynamic pressure as the pipe itself. A run with a single globe valve can lose more to the valve than to the pipe.

What velocity is good for a water pipe?

Many designs keep water below about 2 to 3 m/s. Higher speeds cause noise, erosion and water hammer, while very low speeds can let sediment settle.

Does it work for gases?

Only roughly for low pressures and small pressure drops, because it assumes a liquid of constant density.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.