Orifice, Nozzle & Diffuser Flow Calculator — Compressible and Incompressible Flow Through Restrictions and Area Changes

Configuration

Fluid data comes from live CoolProp lookups (gases & common liquids) or this site's own digitized density data (MIL-spec/aviation liquids — see Multi-Fluid Property Charts). Not currently available — gases: . Liquids: . Pick "Other" at the bottom of either list to enter properties by hand instead.

Manual Gas Properties
Inlet / Upstream Pressure (P₁)
psig
psia
Pa
kPa
atm
bar
in Hg
mm Hg
in H₂O
mm H₂O
kg/cm²
Upstream Temperature (T₁)
deg F
deg C
Kelvin
deg R
Manual Liquid Density (ρ)
lbm/ft³
kg/m³
Outlet / Downstream Pressure (P₂)
psig
psia
Pa
kPa
atm
bar
in Hg
mm Hg
in H₂O
mm H₂O
kg/cm²
Discharge Coefficient (Cd) i It's the same orifice equation either way — a tank/plenum is just the limiting case where the pipe is so much larger than the bore that β = d/D → 0 (velocity of approach factor E = 1). Picking a "Tank/plenum" preset below locks the Pipe Inside Diameter field instead of making you type an arbitrarily huge number for it.
Cd
Pipe Inside Diameter (D)
in
ft
mm
m
Orifice Bore Diameter (d)
in
mm
m
Orifice Bore Area (A₂)
in²
mm²
Mass Flow Rate (ṁ)
lbm/sec
lbm/min
lbm/hr
g/sec
kg/sec
kg/min
kg/hr
Output
 
β Ratio (Orifice) 
Velocity of Approach Factor (E) 
Velocity (ft/sec) 
Graphs

*Orifice mode uses the standard thin-plate, square-edged equation with real choked-flow handling for gases (the reference Valcor "Fluid Flow Through a Single Orifice" tool does not model choking). Nozzle and diffuser/cone modes use 1-D isentropic gas dynamics for gases and continuity + Bernoulli for liquids. Not a substitute for a full ISO 5167 / ASME MFC-3M metering design.*

Reference Guide — Orifice, Nozzle & Diffuser Flow
01

Orifice Flow Equation

For an incompressible liquid, flow through a thin-plate orifice follows from continuity and Bernoulli's equation between the upstream tap and the vena contracta:

Orifice flow rate \[ Q = C_d\,E\,A_2\sqrt{\dfrac{2\Delta P}{\rho}} \]
Velocity of approach factor \[ E=\frac{1}{\sqrt{1-\beta^{4}}}\qquad \beta=\frac{d}{D} \]
Where

Q = volumetric flow rate through the pipe/orifice

Cd = discharge coefficient — empirical, accounts for the vena contracta and real-fluid losses. Typically 0.60–0.62 for a sharp-edged concentric orifice at fully turbulent Reynolds numbers; adjust if a calibrated or standard-derived value (e.g. ISO 5167 / ASME MFC-3M) is known.

E = velocity of approach factor — corrects for the upstream pipe velocity not being negligible compared to the throat velocity

A2 = orifice bore area = (π/4)·d²

ΔP = differential pressure across the taps

ρ = fluid density

β = beta ratio = d/D

D = pipe ID

d = bore diameter

Cross-section of a sharp-edged concentric orifice plate showing pipe diameter D, bore diameter d, flow direction, pressure taps, and the vena contracta
Sharp-edged concentric orifice — the geometry this calculator assumes
02

Orifice Opening Types

The bore's upstream edge profile (or, for the eccentric case, its position) changes how sharply the flow separates, which is exactly what the discharge coefficient is correcting for. This calculator's 0.60–0.62 default assumes the sharp-edged concentric case — the most common and best-characterized geometry; the other three are shown here for reference.

Vena contracta (Latin for "contracted vein") is the point just downstream of a sharp-edged restriction where the jet is narrowest and fastest — smaller than the bore itself, because the streamlines can't turn the sharp corner instantly and keep converging for a short distance past the opening before spreading back out to fill the pipe. The effective flow area there is smaller than the geometric bore area A₂, which is exactly what the discharge coefficient Cd corrects for (along with ordinary friction losses). A rounded or chamfered entrance — quadrant-edge or conical, shown below — lets the flow turn more gradually, which is why it weakens or nearly eliminates the vena contracta and pushes Cd closer to 1.
Sharp-edged orifice bore with a 90 degree corner at the upstream face
Sharp-edged (square-edged)
Quadrant-edge orifice bore with a rounded quarter-circle radius on the upstream face
Quadrant-edge (rounded)
Conical-entrance orifice bore with a 45 degree chamfer on the upstream face
Conical entrance
Eccentric orifice bore, a full circle offset to one side of the pipe and tangent to the wall
Eccentric
Discharging From a Plenum (Tank Wall Penetration)

A related but different problem: a large reservoir (plenum) emptying through a hole or fitting in its wall, rather than a plate inline in a flowing pipe — the classic case for tank venting, blowdown, or relief sizing. This calculator's Orifice mode models the in-line plate case above, not these; they're shown here for reference since the same vena-contracta logic and discharge-coefficient concept applies.

Round-edge bellmouth orifice discharging from a plenum wall, with a generously radiused entrance
Round edge (bellmouth)
Short-pipe orifice discharging from a plenum wall through a short length of straight tube
Short pipe (short tube)
Reentrant Borda orifice, a tube projecting inward into the plenum
Reentrant (Borda)
Converging conical nozzle discharging from a plenum wall at a half angle Phi
Converging (angle-dependent)
03

Compressible (Choked) Flow — Gas Through a Restriction

For a gas, the liquid formula above is replaced with the isentropic flow equation for a converging passage, which is what makes choked flow show up correctly (the reference Valcor tool this calculator is modeled after does not do this — it uses the incompressible formula for gases too, which quietly over-predicts flow once the pressure ratio gets low). The downstream-to-upstream pressure ratio decides which branch applies:

Not choked condition \[ \frac{P_2}{P_1} \;>\; \left(\frac{2}{k+1}\right)^{\frac{k}{k-1}} \]
Not choked — mass flow \[ \dot{m}=C_d E A_2\sqrt{\frac{2k}{k-1}P_1\rho_1\left[\left(\frac{P_2}{P_1}\right)^{\frac{2}{k}}-\left(\frac{P_2}{P_1}\right)^{\frac{k+1}{k}}\right]} \]
Choked condition (Mach 1 at the throat) \[ \frac{P_2}{P_1} \;\le\; \left(\frac{2}{k+1}\right)^{\frac{k}{k-1}} \]
Choked — mass flow \[ \dot{m}_{max}=C_d E A_2 P_1\sqrt{\frac{k}{RT_1}}\left(\frac{2}{k+1}\right)^{\frac{k+1}{2(k-1)}} \]
Once choked, lowering P₂ further no longer increases the flow — the throat is already at Mach 1 and the pressure drop past that point happens outside the restriction (over-expansion), not inside it. k = ratio of specific heats (Cp/Cv), R = specific gas constant, P₁/T₁/ρ₁ = upstream static conditions (used as the effective stagnation state).
Choked is not the same as supersonic. "Choked" only means the throat has reached exactly Mach 1 — the maximum speed a simple converging passage can ever reach, since a converging area can only accelerate subsonic flow up to sonic, never past it. Getting to Mach > 1 requires a diverging section after that sonic throat (see the Converging-Diverging Nozzle below); a plain choked orifice or converging nozzle stays at exactly M = 1 at the throat, full stop — any further expansion happens as a messy, 2-D/3-D free-jet plume downstream of the exit, which isn't captured by this 1-D model.
04

Why Upstream Pressure Is What Matters (Not Just ΔP)

For a liquid, only the pressure difference ΔP = P₁ − P₂ matters — raising P₁ by 10 psi or dropping P₂ by 10 psi are physically identical, since density is constant either way. For a gas, especially once it's choked, that stops being true, and it's worth understanding exactly why — it's a genuinely different piece of physics, not a rounding error.

1. Gas density itself depends on absolute pressure

Density is ρ = P/(RT) — it depends on the absolute pressure level, not the drop across the restriction. Raise P₁ from 50 to 100 psia and also raise P₂ to keep ΔP the same, and the gas arriving at the orifice is now roughly twice as dense: the same ΔP pushes twice the mass through, because there's simply twice as much mass packed into every cubic foot approaching the hole. For a compressible fluid, ΔP never tells the whole story by itself the way it does for a liquid.

2. Once choked, downstream pressure doesn't matter less — it stops mattering at all

This is the sharper point, and it's a statement about causality, not just an approximation. Pressure changes propagate through a fluid as sound waves, at the local speed of sound, relative to the fluid. Once the throat is choked, the gas sitting right at the throat is already moving at exactly Mach 1 — the speed of sound. A pressure disturbance created downstream, by lowering P₂ still further, tries to propagate upstream through the throat to "announce" the change — but it's swimming upstream into a flow already moving at its own top speed. It never wins that race. It never reaches the throat. The throat genuinely cannot "hear" what's happening downstream of it anymore.

That's exactly why the choked mass-flow equation in card 03 above has no P₂ term anywhere in it — not a small one, none at all — while the not-choked equation right next to it has P₂/P₁ sitting directly inside it. It isn't that P₂'s effect got small once choked; it's algebraically gone.

So raising P₁ always does something, whether choked or not (more ΔP and more density feeding the restriction), while lowering P₂ only does something until the throat goes sonic, at which point it does precisely nothing. Practically: if a choked vent, relief device, or pneumatic line is already choked, opening a bigger downstream path or pulling harder on the far side accomplishes nothing — the only lever left is upstream supply pressure.

SCFM is mass flow rate wearing volume-flow clothing. "Standard" cubic feet per minute normalizes volume back to one fixed reference density, so SCFM is directly proportional to mass flow — it isn't the actual volume flowing at the real, elevated upstream pressure. That's exactly why the "Air Volume Flow" chart just below climbs smoothly with upstream pressure instead of flattening out once choked: it's really just mass flow, measured in borrowed units.
05

Orifice Discharge Charts — Water & Air vs. Upstream Pressure

Four charts, same 8 sharp-edged orifice sizes discharging to atmosphere (50–200 psig upstream, 5 psi steps), computed analytically from the exact same equations as the calculator above — not digitized from a photo, and not a separate model. Air is choked at every single point on every air chart here (the critical pressure ratio for air is ≈0.528; P₂/P₁ never rises above ≈0.23 across this whole range), so the two air charts are a direct, literal demonstration of card 04's point: air mass flow (and SCFM, which tracks it) keeps climbing in a straight line with absolute upstream pressure, exactly as choked-flow theory predicts, with zero contribution from the fact that P₂ is fixed at atmospheric throughout.

Assumptions: Cd = 0.61, E = 1 (discharging from a large line/tank — the "Tank/plenum" fitting preset above), P₂ = 14.696 psia (atmosphere), water at ~68°F, air at 70°F with k = 1.4 / R = 287 J/(kg·K), SCFM referenced to 14.696 psia / 60°F. Hover any curve for the exact value at each 5 psi increment.

Water — Mass Flow Rate

Canvas element not supported — please update your browser.

Water — Volume Flow Rate

Canvas element not supported — please update your browser.

Air — Mass Flow Rate (choked across the entire range shown)

Canvas element not supported — please update your browser.

Air — Volume Flow Rate, SCFM (choked across the entire range shown)

Canvas element not supported — please update your browser.

06

Converging & Converging-Diverging Nozzles

A Converging Nozzle uses the exact same choked-flow physics as the gas orifice above (it is the same throat mass-flow equation), just with a smooth contoured throat instead of a sharp-edged bore — so its discharge coefficient is much closer to 1 (typically 0.95–0.99) since there's no vena contracta to correct for.

Converging nozzle cross-section from a plenum down to a choked throat

A Converging-Diverging (de Laval) Nozzle is always choked at the throat (Mach 1) by definition when it's producing supersonic flow, so the mass flow rate depends only on the throat area — the exit area sets the Mach number, not the flow rate.

Converging-diverging de Laval nozzle cross-section with a choked throat and supersonic exit
Area-Mach relation (inverted for exit Mach) \[ \frac{A}{A^{*}}=\frac{1}{M}\left[\frac{2}{k+1}\left(1+\frac{k-1}{2}M^{2}\right)\right]^{\frac{k+1}{2(k-1)}} \]

Every area ratio > 1 has two Mach roots — a subsonic one and a supersonic one. This calculator solves both: the supersonic root is the nozzle's fully-expanded design case, and the subsonic root is the same physical nozzle running well below its design pressure ratio (behaving like a simple venturi, never reaching Mach 1 at the throat). A real nozzle's behavior in between those two conditions (with a shock somewhere in the diverging section) is genuinely more complex and isn't modeled by either branch.

07

Diffuser / Cone — General Area-Change Physics

This mode answers the general "given the state at one end of a duct, what's the state at the other end" question for a smooth area change.

Diffuser cross-section — expanding duct that decelerates flow and recovers pressure
Diffuser — area increases, flow decelerates, P recovers

A converging cone is the opposite case: area decreases, flow accelerates, and static pressure drops.

Cone cross-section — converging duct that accelerates flow and drops pressure
Cone — area decreases, flow accelerates, P drops
Liquid (incompressible) — continuity + Bernoulli \[ V_2=V_1\frac{A_1}{A_2}\qquad P_2=P_1+\tfrac{1}{2}\rho\left(V_1^{2}-V_2^{2}\right) \]

Gas (compressible, subsonic) — the stagnation state (P₀, T₀) is conserved along the duct; State 1 fixes an equivalent sonic throat area A*, then State 2's Mach number comes from A₂/A* on the isentropic area-Mach relation above (same solver as the C-D nozzle, subsonic root), and P₂/T₂ follow from the isentropic stagnation ratios.

08

Notes & Limitations

Fluid properties come from live lookups — real CoolProp equation-of-state data for gases and most liquids (via Thermo Land's data feed), or this site's own digitized density-vs-temperature curves for the MIL-spec/aviation liquids CoolProp doesn't carry (via Multi-Fluid Property Charts). Gas density and gamma (k) are the real fluid's values at the entered temperature and pressure, not an ideal-gas assumption — noticeably more accurate near the critical point or at high pressure than a constant-k model. See the calculator's own "gaps" note for which fluids aren't covered by either source.

Standard concentric, square-edged orifice plates are normally sized for a beta ratio β = d/D between roughly 0.2 and 0.75. Outside that range the discharge coefficient correlations most references are built on (and the 0.60–0.62 rule of thumb) become unreliable, even though the math here will still return a number. For custody-transfer-grade accuracy, use a discharge coefficient computed from ISO 5167 or ASME MFC-3M (Reader-Harris–Gallagher equation), which depends on β, the orifice Reynolds number, the pipe diameter, and the tap arrangement — not a single constant.

All four modes are 1-D, steady, adiabatic, and (for gas) isentropic idealizations — friction losses, real nozzle boundary layers, and shock structures inside a C-D nozzle's diverging section aren't modeled. See the Gas Flow Safety Calculator for a complementary, safety-margin-focused take on compressible/choked gas flow.

Cite This Work