Plumbing & Drainage

Pipe volume calculator: internal capacity by diameter and length

Calculate straight-pipe internal volume from inside diameter and length, with gallons, liters and cubic-volume outputs.

Maintained by Home Measure Lab Editorial TeamUpdated Method & corrections

Direct answer

Pipe volume calculator: internal capacity by diameter and length

Pipe volume uses the cylinder formula V = πr²L. Use inside diameter, not nominal pipe size or outside diameter, when you need liquid capacity.

  • Formula: V = πr²L.
  • Capacity requires inside diameter.
  • Convert the resulting cubic volume to gallons or liters after the geometry is solved.

Read inside-diameter guidance →

Project measurements

Enter the project measurements and product values that control this quantity.

Visual measurement check

Verify inside diameter and pipe length

The pipe preview uses the inside diameter for fluid capacity and keeps it distinct from total pipe length. Planning diagram only. Numeric inputs are authoritative; verify field conditions, product instructions and applicable requirements before acting.

Pipe inside diameter and length diagramPipe segment showing inside diameter at the open end and total pipe length. Inside Ø diameterLength: length

Diagram ready. Change a measurement to update this preview.

in
ft

Project result

Your pipe volume result

See internal cross-sectional area and approximate contained volume for the entered straight pipe length.

Planning estimate only. Verify product coverage, package size, supplier specifications and project requirements before purchasing.

Open Project Planner →

Field execution geometry

Mark it from one datum, then verify it

Use the execution schedule with the live measurement diagram above. Numeric inputs and calculator results remain authoritative; verify field conditions, product instructions, code and structural requirements before construction or cutting.

Mark-out & execution schedule

    Choose the right tool

    When to use this calculator

    You need the internal liquid volume of straight pipe from inside diameter and developed length.

    Use a different calculator when

    Use Cylinder Volume for generic round forms or Pipe Slope for elevation change; this does not size flow.

    Methodology

    Formula & assumptions

    Radius

    inside diameter ÷ 2

    Uses actual internal diameter.

    Cross-section

    π × radius²

    Circular pipe bore.

    Volume

    cross-section × length

    Straight-pipe internal volume.

    Liquid capacity

    convert cubic volume

    Shown in gallons or liters for planning.

    How to measure this project

    Confirm the actual inside diameter for the pipe material and schedule because nominal pipe size does not equal bore diameter. Measure the developed pipe length along the run. If the system contains large fittings, tanks, coils or components with materially different internal volume, estimate those separately rather than pretending the entire system is one straight cylinder.

    Before you buy materials

    Internal volume can help with flushing, fill volume, chemical treatment or freeze-protection planning, but it does not indicate flow capacity or pressure performance. Pipe sizing, velocity, pressure drop and drainage design depend on fluid properties, fittings, elevation, demand and applicable plumbing requirements, all of which remain outside this geometry calculation.

    Reference

    Pipe Volume planning reference

    Planning itemStarting pointVerify / adjust
    Diameteractual inside diameterNominal size may differ.
    Lengthdeveloped pipe runInclude actual routed length.
    Volumeπr²LStraight-pipe geometry.
    Flow sizingseparate design taskNot inferred from volume.

    Questions

    Frequently asked questions

    Can I enter nominal pipe size?

    For a rough estimate you can, but accurate volume requires actual inside diameter for the material and schedule.

    Does this include fittings?

    Not explicitly. Small fittings may be negligible for rough planning, while large components should be estimated separately.

    Does more pipe volume mean more flow capacity?

    No. Flow capacity and pressure loss require hydraulic calculations, not just contained volume.

    Embed this calculator on another website

    Use the lightweight Home Measure Lab widget. The embedded tool is noindex and does not add analytics by default; readers can open the full Home Measure Lab calculator for formulas, assumptions and source notes.

    Keep the natural “Powered by Home Measure Lab” attribution inside the widget. Use the built-in brand attribution as provided; no extra link is required.

    Planning guides

    Understand the inputs behind this calculator

    All guides →

    Plumbing & Drainage

    Pipe Inside Diameter & Volume Guide

    Use actual inside diameter and developed length when calculating liquid volume contained in pipe.

    Read guide →