Pipe calculators / Gas, air & steam
Define the pipe. Follow the flow.
Gas Pipe Linepack Calculator
Calculate gas mass stored in a constant-bore pipe at a uniform stated state.
Your pipe & operating inputs
Your result
Ready to calculateEnter your values and press Calculate. The result will open on the calculation page.
Published references · Clear assumptions · No sign-up
The method
Formula and calculation steps
Mass=pV/(ZRT); V=πD²L/4.
Calculate gas mass stored in a constant-bore pipe at a uniform stated state.
- Confirm the fluid state, geometry, flow regime and units.
- Enter actual dimensions and justified operating conditions.
- Submit the form, then interpret the result with the assumptions and limits below.
This is total inventory at one state, not usable delivery inventory, a transient network model or pressure-varying pipeline integration.
Gas Pipe Linepack: assumptions and applications
Calculate gas mass stored in a constant-bore pipe at a uniform stated state. This is total inventory at one state, not usable delivery inventory, a transient network model or pressure-varying pipeline integration.
Use the actual measured bore rather than assuming a nominal pipe label equals its inside diameter. Schedule, lining, corrosion and deposits can change the effective flow area. Enter the applicable fluid properties at the operating temperature.
A flow rate, velocity, pressure difference and capacity describe different physical quantities. The stated model determines which additional measurements are needed. The calculated examples below vary one input while holding all other printed values fixed.
Continue with: Gas Pipe Flow Calculator · Air Pipe Flow Calculator · Compressed Air Pipe Flow Calculator · Nitrogen Pipe Flow Calculator
Check the numbers
Gas Pipe Linepack Calculator: calculated examples
These scenarios are computed with the same method as the form. They are not product recommendations, code design values or complete standards tables.
Worked example with stated inputs
Dimension units = Metric (m / mm); Actual inside diameter = 100 mm; Straight pipe length = 100 m; Uniform absolute pressure = 700 kPa absolute; Gas temperature = 293.15 K; Specific gas constant = 287.05 J/(kg·K); Constant Z = 1 .
| Output | Computed result |
|---|---|
| Gas inventory at uniform entered state | 6.533418 kg |
| Gas density | 8.318607 kg/m³ |
| Internal volume | 0.785398 m³ |
How the stated input changes the result
| Scenario | Changed input / basis | Result |
|---|---|---|
| 50 m | Straight pipe length | 3.266709 kg |
| 75 m | Straight pipe length | 4.900064 kg |
| 100 m | Straight pipe length | 6.533418 kg |
| 125 m | Straight pipe length | 8.166773 kg |
| 150 m | Straight pipe length | 9.800128 kg |
| 200 m | Straight pipe length | 13.066837 kg |
Unchanged inputs use: Dimension units = Metric (m / mm); Actual inside diameter = 100 mm; Straight pipe length = 100 m; Uniform absolute pressure = 700 kPa absolute; Gas temperature = 293.15 K; Specific gas constant = 287.05 J/(kg·K); Constant Z = 1 . Results retain the model limitations described above.
Common questions
What is the main limitation of this calculation?
This is total inventory at one state, not usable delivery inventory, a transient network model or pressure-varying pipeline integration.
How are the comparison-table numbers generated?
Each row changes the labelled straight pipe length from the worked example. The other printed inputs remain fixed. The table uses the same Mass=pV/(ZRT); V=πD²L/4. method as the form.
How do I use this gas pipe linepack calculator?
Calculate gas mass stored in a constant-bore pipe at a uniform stated state. Mass=pV/(ZRT); V=πD²L/4.
Can I calculate in metric and imperial units?
The dimension selector converts the labelled length inputs. Flow and property inputs retain their explicitly printed units. Results include related units where meaningful; US gallons and Imperial gallons are different units.
Can I export this calculation to Excel?
Calculate first, then use Export CSV for results and inputs. This is a numeric text export, not an Excel formula workbook, desktop application or certified engineering report.
What do the starting values mean?
They are editable numerical examples. Actual bore, fluid state, roughness, geometry and boundary conditions must match the installation. A calculated result is not a pressure rating or code sizing approval.
Where are the formula sources?
The sources below show plain-text addresses. Equations, examples and tables are stored in these pages; the calculator does not fetch source websites or JSON data files during use.
Related calculators
Formula sources and references
References support the underlying methods and units. Chosen example inputs are not universal recommendations, supplier ratings, market prices or code limits.
- NASA Glenn: Equation of Statehttps://www1.grc.nasa.gov/beginners-guide-to-aeronautics/equation-of-state/
- OpenStax Prealgebra: cylinder volume and surface areahttps://openstax.org/books/prealgebra/pages/9-6-solve-geometry-applications-volume-and-surface-area
- NIST Guide to the SI: conversion factorshttps://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors