Pipe Volume Calculator

Calculate the volume of liquid in a pipe from its inner diameter and length. Useful for CIP circuit sizing and hold-up volume calculations.

mm
Inner diameter of pipe in millimeters
m
Total length of pipe in meters
Formula
3.14159265 * (diameter / 2000) * (diameter / 2000) * length * 1000
diameter Inner Diameter (mm)
length Pipe Length (m)
Worked Example
1
Given:
diameter = 50.8
length = 25
2
Apply the formula:
3.14159265 * (diameter / 2000) * (diameter / 2000) * length * 1000
3
Result:50.67 Litres

Why Calculate Pipe Volume?

In dairy processing, knowing the volume of liquid in your piping system is essential for:

  • CIP circuit design — calculating the total volume of a CIP circuit to size the CIP tank properly
  • Product changeover — determining the amount of first-flush product that will be diluted with the previous product
  • Pressure drop calculations — pipe volume directly affects system head requirements
  • Recipe accuracy — accounting for line-fill volume when calculating batch sizes

Formula

The volume of a cylindrical pipe is:

V = π × (D/2)² × L

In practical units:

Volume (Litres) = π × (Inner Diameter in mm / 2000)² × Length (m) × 1000

Pipe Sizes Commonly Used in Dairy Plants

Nominal SizeInner Diameter (approx.)Use Case
1″ (25mm)25.4 mmInstrument lines, sample points
1.5″ (38mm)38.1 mmSmall product lines
2″ (50mm)50.8 mmMain product lines, CIP returns
2.5″ (63mm)63.5 mmPasteurizer circuits
3″ (76mm)76.2 mmBalance tank feeds, large CIP circuits
4″ (100mm)101.6 mmSilo fill/discharge, bulk transfer

CIP Circuit Volume Calculation

For CIP design, total the pipe volume across all line segments:

  1. Identify all pipes in the circuit (different diameters and lengths)
  2. Calculate volume for each segment using this calculator
  3. Sum all segment volumes
  4. Add vessel/PHE volume (from manufacturer’s data)
  5. CIP tank volume = 2× total circuit volume (minimum)