Pipe Length Calculator

Calculate total pipe run, internal capacity, and number of standard 6 m (20 ft) pipe lengths required.

Region: United States ($)All calculations run locally in your browser.

Input Parameters

Adjust measurements, units, waste percentage, and optional local pricing.

mm
USD

Estimated Results

Live calculation updates automatically as you edit values.

Internal Pipe Volume

9.82L

2.59 US gal | 0.0098 m³

Pipe Length

20m

65.6 ft

Standard 6m (20ft) Pipe Lengths

4sticks

Rounded up for 6 m stock lengths

Pipe Inner Diameter

25.0 mm

Volume per Meter

0.491 L/m

Geometry & Dimensions Diagram
ID: 25 mmLength: 20 m
25 mm20 m

Material & Quantity Breakdown

ItemQuantityEquivalentNotesEst. Cost
Pipe (ID 25.0 mm)20 m9.82 L internal vol4 × 6 m lengths—

Formula & Step-by-Step Calculation

1. Cylindrical Pipe Volume

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

= π × (0.0125 m)² × 20 m → 0.0098 m³ (9.82 L)

Assumptions & Rounding Rules
  • Uses pipe actual inner diameter (ID), not nominal pipe size (NPS), which differs by schedule/wall thickness.

Engineering Limitation: Fluid, pressure, and drainage estimates use standard ideal/simplified hydraulic equations for preliminary planning only. Potable water sizing, backflow, fire flow, and sanitary drainage slopes must be verified against local plumbing codes (e.g., IPC, UPC, BS EN 12056, AS/NZS 3500) by a licensed plumber or hydraulic engineer.

How to Use the Pipe Length Calculator

  1. Enter pipe inner diameter, tank geometry, elevation head, or flow rate in your chosen units.
  2. Review calculated capacities in litres, US/UK gallons, PSI/bar, or flow velocity.
  3. Verify final hydraulic friction losses and sanitary slopes against local plumbing codes.

Formula & Calculation Method

Pipe/Tank Volume: V = π × (D/2)² × L; Continuity: Q = A × v; Static Pressure: P = ρ × g × h.

Assumptions & Limitations: Assumes incompressible clean water at 1000 kg/m³; ignores dynamic fitting friction losses unless noted.

Pipe Length Calculator Worked Example

A vertical cylindrical tank of 1.5 m diameter and 2.0 m height filled to 95%.

Inputs

  • • Diameter 1.5 m, Height 2.0 m
  • • 95% usable fill

Result

3,358 litres usable capacity weighing ~3.36 metric tons.

Frequently Asked Questions

Yes—add 5%–10% extra length for bends, risers, and offcuts around fixtures.