This calculator returns the internal volume of hygienic (sanitary) tubing and of standard NPS pipe, in US gallons, liters and cubic feet, together with the internal surface area and the flow velocity at a given flow rate. It is built on ASME BPE / ASTM A270 tube dimensions rather than generic pipe tables, which is the single most common source of error in this calculation.

Unlock every calculator on this site

One form unlocks all of our calculators for 90 days. The calculators run entirely in your browser: we do not store, log or transmit any values you type into them. Only the contact details in this form are sent to us.

By submitting this form you agree that Paul Industries may contact you by email about our products and services. We do not sell your details.

Enter a size, a length and (optionally) a flow rate. Every intermediate figure and the formula behind it are shown below the tool so the result can be checked in a design review.

Volume
US gallons
Volume
liters
Volume
cubic feet
Internal ID
inches
Wetted surface area
square feet
Velocity at flow
ft/s
Flow for 5 ft/s
US gpm
Volume per foot
gallons / ft
Enter a flow rate to check CIP velocity.

Building the line, not just sizing it

Volume tells you how much solution a circuit holds; it does not tell you whether the line can be cleaned. The same footage routed with continuous fall to a drain point and no branch beyond hygienic limits behaves completely differently from one with dead legs and an undrainable section, and no cleaning chemistry corrects the second. Use the volume figure for chemical charge and rinse estimation, then check the routing separately for drainability, velocity at minimum draw, and branch length.

Sanitary tube volume per foot: quick reference

Standard hygienic tube to ASME BPE and ASTM A270. Tube is sized by outside diameter, so a 2 in tube has a 2.000 in OD; wall thickness is 0.065 in through 3 in, 0.083 in at 4 in and 0.109 in at 6 in. Internal volume and wetted area follow from the resulting internal diameter.

Tube size OD (in) Wall (in) ID (in) US gal / ft Liters / meter Internal area (ft²/ft) gpm for 5 ft/s
1/2 in 0.500 0.065 0.370 0.0056 0.069 0.097 1.7
3/4 in 0.750 0.065 0.620 0.0157 0.195 0.162 4.7
1 in 1.000 0.065 0.870 0.0309 0.384 0.228 9.3
1-1/2 in 1.500 0.065 1.370 0.0766 0.951 0.359 23.0
2 in 2.000 0.065 1.870 0.1427 1.772 0.490 42.8
2-1/2 in 2.500 0.065 2.370 0.2292 2.846 0.621 68.8
3 in 3.000 0.065 2.870 0.3361 4.174 0.751 100.8
4 in 4.000 0.083 3.834 0.5997 7.448 1.004 179.9
6 in 6.000 0.109 5.782 1.3640 16.940 1.514 409.2

Why a general pipe volume calculator gives the wrong answer for sanitary tube

This is the error that matters, and almost every generic calculator makes it. Pipe and tube are dimensioned on different systems. NPS pipe is described by a nominal size that is not a physical dimension of anything – a 2 in NPS pipe has an actual outside diameter of 2.375 in. Hygienic tube is described by its actual outside diameter – a 2 in tube measures 2.000 in across.

Feed “2 inch” into a pipe calculator while holding sanitary tube and the internal diameter is wrong by nearly three tenths of an inch. Because volume goes with the square of diameter, the error is amplified:

Nominal 2 in line Actual OD Wall Actual ID Volume per 100 ft Error vs tube
Hygienic tube (ASME BPE / A270) 2.000 in 0.065 in 1.870 in 14.27 gal
NPS pipe, Schedule 10S 2.375 in 0.109 in 2.157 in 18.98 gal +33.1%
NPS pipe, Schedule 40 2.375 in 0.154 in 2.067 in 17.43 gal +22.1%

A third more volume than the line actually holds is not a rounding error. Carried into a CIP calculation it oversizes the chemical charge and the rinse volume; carried into a passivation calculation it overstates the acid required; carried into a hold-time or displacement calculation it puts the interface in the wrong place. Always confirm whether the line is tube or pipe before using any volume figure, and if a specification says only “2 inch”, treat that as an open question rather than an answer.

The formulas, so the number can be checked

Nothing here is proprietary. The calculator applies these directly, with no correction factors or fitted constants.

Quantity Formula Notes
Internal diameter ID = OD − (2 × wall) Both tube and pipe. Use the actual OD, not the nominal size
Cross-sectional area A = π/4 × ID² ID in inches gives A in square inches
Volume V = A × L Convert length to inches; divide cubic inches by 231 for US gallons
Liters L = gallons × 3.785412 US liquid gallons
Wetted surface area S = π × ID × L The area a cleaning or passivation chemical must contact
Velocity v = 0.4085 × Q / ID² Q in US gpm, ID in inches, v in ft/s
Flow for a target velocity Q = v × ID² / 0.4085 Used for the 5 ft/s CIP minimum

The 0.4085 constant is simply unit bookkeeping: it converts US gallons per minute and inches into feet per second. It is not an empirical factor and does not change with fluid, temperature or material.

Where line volume actually gets used

Volume is rarely the deliverable. It is an input to a decision, and which decision it feeds changes how much margin to carry on it.

Use What the volume feeds Practical caution
CIP chemical charge Mass of caustic or acid to reach target concentration in the circulating volume Add the vessel, pump casing, heat exchanger and return line – the tube run is often the smaller half
Rinse and flush volumes Number of line volumes to displace to a conductivity or TOC endpoint Displacement is never perfect; laminar regions and dead legs clear far more slowly than a volume count implies
Passivation Acid volume to fill and the wetted area to be treated Wetted area, not volume, drives chemistry consumption at the surface
Product hold-up and changeover loss Product left in the line at the end of a run Recovery by pigging or air blow changes the number materially
Hydrostatic and leak testing Fill volume and the water to be treated afterwards Test water quality matters on high-purity lines – chlorides
Sterilization and SIP Condensate load and drainage during heat-up Volume alone will not tell you whether the line drains; slope and low-point drops decide it
Pump and pipe sizing Velocity check against the CIP minimum and pressure-drop limits Velocity, not volume, is the design constraint in most hygienic lines

Velocity matters more than volume in a hygienic line

For cleaning, the number that governs is not how much the line holds but how fast the fluid moves along its wall. Cleaning in place works by wall shear, and wall shear is a function of velocity. The convention across hygienic design is a minimum of 5 ft/s in a full line, with 5 to 7 ft/s typical, roughly 7 ft/s preferred at 3 in and above, and 10 to 14 ft/s in upward branches where air has to be swept out rather than allowed to pocket. The corresponding Reynolds number is comfortably turbulent, above 4,000.

The consequence for design is that oversizing a line is not a conservative choice. A larger diameter lowers velocity for the same flow, and below about 5 ft/s cleaning starts to depend on chemistry and contact time instead of mechanical action – which is a harder case to defend in a cleaning validation. The gpm column in the reference table above is there for exactly this check: it is the flow each size needs before it can be cleaned on velocity at all.

Two caveats the calculator cannot cover. It assumes a full, liquid-filled line; a partially filled or gravity-drained line has no meaningful average velocity. And it is a straight-run calculation – it says nothing about whether branches, instrument tees and low points see the same velocity, which they generally do not. That is the same measurement-basis problem that makes dead legs contentious, and it is where a line passes or fails cleaning validation.

Related guides

Get a single-source quote

Service needed *

Frequently asked questions

How do I calculate the volume of a pipe or tube?

Take the internal diameter, not the nominal size. Area equals pi divided by four times the ID squared. Multiply that area by the length in the same units to get volume, then divide cubic inches by 231 for US gallons. The step people get wrong is the first one: nominal size is not internal diameter, and for hygienic tube it is not the outside diameter either once wall thickness is subtracted.

What is the volume of 1 inch sanitary tube per foot?

A 1 in hygienic tube to ASME BPE has a 1.000 in outside diameter and a 0.065 in wall, giving an internal diameter of 0.870 in. That is 0.0309 US gallons per foot, or 0.384 liters per meter. For 2 in tube the figure is 0.1427 gal/ft, and for 3 in tube 0.3361 gal/ft.

Why does a 2 inch pipe hold more than a 2 inch tube?

Because the two are dimensioned on different systems. A 2 in NPS pipe has an actual outside diameter of 2.375 in, while a 2 in hygienic tube measures exactly 2.000 in. After wall thickness, the pipe internal diameter is 2.157 in against 1.870 in for the tube. Since volume scales with the square of diameter, the Schedule 10S pipe holds about 33% more per unit length.

Is sanitary tube measured by inside or outside diameter?

By outside diameter, and the OD equals the nominal size exactly – a 3 in tube is 3.000 in across the outside. This is the opposite convention to NPS pipe, where the nominal size is not a physical dimension. It also means that changing wall thickness on tube changes the bore while the outside stays the same, which is why fittings and clamps still fit but volume and velocity shift.

What wall thickness is standard for hygienic tube?

0.065 in from 1/2 in through 3 in, 0.083 in at 4 in and 0.109 in at 6 in, which are the common ASME BPE and ASTM A270 walls. Heavier walls exist for higher pressure or for tube that will be extensively polished, and they reduce the bore. If a system has been re-tubed or repaired with a different wall, the volume table no longer applies to that section.

What is the minimum velocity for CIP?

5 ft/s in a full line is the usual minimum, with 5 to 7 ft/s typical and around 7 ft/s preferred at 3 in and above. Upward branches are normally run at 10 to 14 ft/s so that air is swept out rather than trapped. The flow needed to reach 5 ft/s rises steeply with size: about 9 gpm in 1 in tube, 43 gpm in 2 in and 101 gpm in 3 in.

How do I convert flow rate to velocity?

Velocity in feet per second equals 0.4085 multiplied by the flow in US gallons per minute, divided by the internal diameter in inches squared. The 0.4085 is unit conversion only – it does not change with fluid, temperature or pipe material. Rearranged, the flow needed for a target velocity is the velocity times ID squared divided by 0.4085.

Does oversizing a line make cleaning safer?

No, it usually makes it harder. A larger bore lowers velocity at the same flow, and once velocity falls below about 5 ft/s the cleaning mechanism shifts from wall shear to chemistry and contact time, which is a weaker and harder-to-defend position in a cleaning validation. Size hygienic lines for the velocity you need to clean them, then confirm the pressure drop is acceptable.

Do I need internal surface area or volume for passivation?

Both, for different reasons. Volume tells you how much acid is needed to fill and circulate. Wetted surface area tells you how much metal the chemistry has to act on, which is what governs consumption and the concentration decay during the treatment. The calculator reports both, since a long small-bore run and a short large-bore run can hold the same volume while presenting very different areas.

Should I include fittings and valves in the volume?

Yes for anything that will be filled, and the omission is often larger than expected. A straight-run calculation misses valve bodies, pump casings, heat exchangers, instrument tees and the vessel itself, and on a real CIP circuit the tube run is frequently the smaller share of the total. Use the line volume as a starting point and add the equipment volumes from their datasheets.

How many line volumes does a rinse take?

There is no universal number, and a figure quoted without the endpoint it was measured against is not useful. Rinsing is displacement plus dilution, and it ends when a measured endpoint is met – typically final rinse conductivity or total organic carbon. Laminar regions, branches and dead legs clear far more slowly than a simple volume count suggests, which is why the endpoint is measured rather than assumed.

Can I use this calculator for gases or steam?

The volume and area outputs apply to any fluid, since they are pure geometry. The velocity output does not: it assumes an incompressible liquid completely filling the line. Gas and steam velocities depend on pressure and temperature through density, and steam lines are sized on pressure drop and on the physical steam quality criteria instead of on a liquid velocity rule.

Why does line volume matter for a CIP circuit?

Because it sets how much solution the circuit holds and therefore how long a turnover takes. Every rinse has to displace that volume, usually several times over, so the hold-up figure drives rinse duration, water consumption and effluent. A circuit whose volume was underestimated will show as rinses that never quite reach conductivity endpoint.

How much water does a passivation or derouging job consume?

Several circuit volumes per stage, since each chemical step is followed by rinsing to a defined endpoint. Estimating the chemical and neutralisation quantities starts from the line hold-up, which is why an accurate volume calculation comes before the chemistry is ordered rather than after.

What is hold-up volume?

The liquid a system retains when it is nominally full, including piping, vessels, exchangers and instrument legs. It is the number that matters for rinse and changeover calculations, and it is always larger than the bare pipe volume because the ancillary items contribute more than people expect.

How do I calculate the volume of a partially full pipe?

With the circular segment expression rather than the full-bore formula, because the cross-section of liquid in a horizontal pipe is a segment whose area varies non-linearly with depth. A half-full pipe holds exactly half, but a quarter-depth pipe holds considerably less than a quarter.

Do fittings add much to the total volume?

Less than most people assume on a long run and more than expected on a compact skid. An elbow contributes roughly its centreline length of pipe. On a skid dense with valves, tees and short spools, the fittings and dead volumes can rival the straight-run contribution.

Why does volume matter for a product changeover?

Because the residual product in the line is carried into the next batch unless it is displaced or cleaned out. The hold-up volume is the quantity at stake, both as lost product and as a cross-contamination risk, which is why minimising unnecessary line volume is a design objective on multi-product plants.

How is line volume used in a flush calculation?

As the unit of displacement. Flushes are specified in circuit volumes rather than in gallons, because that is what makes the requirement transferable between systems. Converting to an actual quantity for a specific circuit is what this calculation provides.

Does volume relate to the time a line takes to heat up?

Directly, through thermal mass. A larger hold-up takes longer to bring to temperature and holds heat longer on cooling, which matters on hot WFI loops and on SIP cycles where the whole circuit must reach and hold a sterilisation temperature. Volume and surface area together set the thermal behaviour.

Why is tube volume smaller than pipe volume at the same nominal size?

Because the bore is smaller. Two inch sanitary tube has a 1.870 inch bore against 2.067 inches for NPS 2 Schedule 40, which is about 18 percent less area and therefore 18 percent less volume per foot. That is the same difference that changes the velocity when one is substituted for the other.

How accurate does a volume calculation need to be?

Accurate enough for the decision it supports. Rinse and chemical planning tolerates a few percent comfortably. Batching and formulation does not, and those operations measure with flow meters or load cells rather than relying on calculated hold-up.

Does line slope affect the usable volume?

Not the full volume, but it governs how much drains out. A properly sloped line empties to its low point; a flat or back-sloped run retains liquid indefinitely. On hygienic service that retained volume is the problem, because it cannot be rinsed away and defeats the drainability requirement.

How do I estimate the volume of a whole loop quickly?

Total the straight-run lengths by size, apply the per-foot volume for each, then add the vessel and exchanger hold-up and a margin for fittings and instrument legs. For rinse planning that is usually sufficient; for chemical charge on a large circuit it is worth being more careful about the ancillaries.

Why is volume per foot a more useful figure than total volume?

Because it scales. A per-foot figure lets you cost a rinse or a chemical charge for any length without recalculating from geometry, and it makes comparisons between line sizes immediate. Total volume only answers one question about one specific run.