JPB Process Calcs

Sonic (Critical) Velocity & Choked Flow

Fluid Flow and Piping · Calculator S17-15 · Verified: the solver reproduces its worked example and is covered by tests.

Sonic velocity, critical pressure ratio and choked mass flux for a gas, plus a Mach-number check.

Open the calculator

Overview

What it calculates

This calculator returns the speed of sound in a gas, Vs = sqrt(k Z R T / MW), and the critical pressure ratio (2/(k+1))^(k/(k-1)) below which flow through a restriction chokes. It then evaluates the choked mass flux at throat conditions and the choked mass flow through a round opening of the diameter you enter. Enter a line velocity and it also reports the Mach number.

When to use it

Use it to check whether a restriction, blowdown path or let-down is running at critical flow, to find the upper limit on flow through an opening, or to see how close a high-velocity gas line is to sonic. For relief valve sizing, which needs discharge coefficients and code methods, use PSV Sizing, Vapor/Gas (Critical & Subcritical).

Inputs that matter most

Sonic velocity depends on temperature and molecular weight, rising with sqrt(T/MW). Pressure enters only through Z. The worked example, 0.65 SG gas at 100°F (38°C) and 1,000 psia (6.9 MPa) with k = 1.27 and Z = 0.86, gives about 1,270 ft/s (387 m/s) and a critical ratio of 0.551. Choked mass flux, unlike sonic velocity, is directly proportional to upstream absolute pressure, so doubling P1 doubles the choked flow. The ratio of specific heats sets the critical ratio. Ideal Gas Heat Capacity & Specific Heat Ratio gives an ideal-gas k, which is a starting point.

Reading the results

If the downstream pressure is below P1 times the critical ratio, the flow through the restriction is choked, and lowering downstream pressure further adds no flow. The choked flow output assumes the full area of the entered diameter acts as an ideal nozzle with P1 and T1 as stagnation conditions. Real orifices, valves and relief devices pass less. A warning appears when the checked velocity exceeds Mach 0.6, which is already high for a steady process line.

Limits and common mistakes

The relations are ideal-gas isentropic, with one Z applied at both inlet and throat. Enter k and Z for the actual gas state. The page does not model friction-limited choking at the end of a long pipe run. Use absolute pressure throughout.

Equations

Vs=k Z R TMWV_s = \sqrt{\frac{k\,Z\,R\,T}{MW}}
Sonic (acoustic) velocity of the gas.

Source: Standard Gas Processing Engineering Practice

SymbolMeaningUnits (US / SI)
VsV_sSonic velocityft/s / m/s
kkRatio of specific heats-
ZZCompressibility factor-
TTTemperature°F / °C
MWMWMolecular weightlb/lbmol / kg/kmol
PcP1=(2k+1)k/(k−1)\frac{P_c}{P_1} = \left(\frac{2}{k+1}\right)^{k/(k-1)}
Critical (choked) pressure ratio for isentropic flow.

Source: Standard Gas Processing Engineering Practice

SymbolMeaningUnits (US / SI)
Pc/P1P_c/P_1Critical pressure ratio-
kkRatio of specific heats-

Inputs

InputSymbolDefaultTypical range or options
Gas specific gravityGG0.65
Ratio of specific heats (k)kk1.27
PressureP1P_11,000 psia (6,895 kPaa)
TemperatureT1T_1100 °F (37.78 °C)
Z-factor basisEnter directlyEnter directly
Compute (Dranchuk-Abou-Kassem)
ZZZ0.86
Line diameterDD4.026 in (102.3 mm)
Actual line velocity to checkvv0 ft/s (0 m/s)

Outputs

Assumptions and limitations

Assumptions

Limitations

Worked example

0.65 SG gas at 100°F, 1000 psia, k=1.27, Z=0.86

Inputs

Gas specific gravity0.65
Ratio of specific heats (k)1.27
Pressure1,000 psia (6,895 kPaa)
Temperature100 °F (37.78 °C)
Z-factor basisEnter directly
Z0.86
Line diameter4.026 in (102.3 mm)
Actual line velocity to check0 ft/s (0 m/s)

Expected results

Sonic velocity1,271 ft/s (387.3 m/s)
Critical pressure ratio Pc/P10.5512

The prompt’s stated check value (Vs ≈ 1390 ft/s) is ~9% above the formula-consistent value (≈ 1270.6 ft/s) for these inputs. Independently cross-checked: the same sonicVelocityGas formula reproduces the well-known reference speed of sound in methane at STP (≈430 m/s) to within 0.2%.

The calculator's test suite checks that the solver reproduces these results.

References

Guides that use this calculator

Fluid failures

Distress signals

Open the calculator

Page last updated 2026-10-28.