Gas Flow Calculator

1. Gas and operating conditions

For mixtures, use the mole-fraction-weighted molecular weight.

Used only for gauge pressure conversion.

Z = 1 assumes ideal gas behavior. Enter a suitable real-gas value when needed.

2. Define the reference conditions

“Standard” flow has no single universal temperature. Match the reference basis used by your supplier or meter.

Gas flow results

Enter conditions and calculate.

Calculation basis

ρ = P M / (Z R T)
ṁ = ρactual Qactual = ρreference Qreference
Qreference / Qactual = (Pactual / Preference) × (Treference / Tactual) × (Zreference / Zactual)

Internally, pressures are absolute Pa, temperatures are K, molecular weight is kg/mol, and R = 8.31446261815324 J/(mol·K). Gauge pressure is converted using the entered atmospheric pressure.

Use for a single gas phase with unchanged composition between operating and reference conditions. Gas presets set molecular weight only; they do not calculate Z, humidity, phase equilibrium, or condensation. Enter compressibility values appropriate to both states. Standard volume is a bookkeeping basis, not a promise that the gas remains gaseous at that state.

This tool converts a known flow. It does not predict flow from pipe pressure drop or calculate choked flow. For a valve flow calculation, use Gas Control Valve Sizing.

References

Darcy or Fanning?

Darcy vs. Fanning reference ↗ · Compare the definitions, convert friction factors, and check which equation to use.

Equation values and input guide

Choose actual volume, reference volume or mass flow as the known basis. Supply operating and reference states independently. Use consistent gas composition and compressibility factors; the reference state is part of the result.

ρ
Density calculated separately at operating and reference states, in kg/m³ internally.
P, T
Absolute pressure in Pa and absolute temperature in K in the gas equation. Gauge inputs are converted using the entered atmospheric pressure.
M
Molecular weight entered in g/mol and converted to kg/mol for the SI equation. Use the mixture molecular weight for mixed gas.
Z
Compressibility factor, dimensionless, at each respective state. Z = 1 is the ideal-gas assumption, not a universal gas property.
R
Universal gas constant, approximately 8.31446 J/(mol·K).
ṁ
Mass flow, constant between the two volume reference states for the same gas stream.
Qactual, Qreference
Volume flow at operating conditions and at the explicitly selected reference conditions. Equal mass flow does not imply equal volume flow.

Use the unit selectors beside the inputs. Units shown in the equations must be consistent when checking the math by hand.