Method and interpretation

Mach Number

See how to enter values, calculate a result, and check the limits of its interpretation.

Why the Mach number signals compressibility

Ma = v/c compares the flow speed with the local speed of sound, the speed at which small pressure disturbances travel through the gas.

NASA Glenn combines the momentum equation ρV dV = −dp with the isentropic relation dp = a² dρ to get dρ/ρ = −M² dV/V: a 1% speed change gives about an M² percent density change, 0.01% at M = 0.1 but 0.64% at M = 0.8 (64 times more). The MIT 16.01 notes estimate Δp/p ~ (γ/2)M² and call a flow low-speed when M² ≪ 1, so pressure, density and temperature stay nearly constant.

Choosing the speed of sound c

Ma = v / c, c = √(γRT)

For an ideal gas c = √(γRT). γ = cp/cv is 1.4 for air at standard day conditions (NASA Glenn), though it depends on the gas state. R for air, 287 J/(kg·K), is 8.31 J/(mol·K) divided by 0.02897 kg/mol, both from OpenStax. T is the local static temperature in kelvin, not the stagnation temperature.

v is the speed relative to the air or the local flow speed. The default inputs v = 170 m/s and c = 340 m/s give Ma = 0.5; 340 m/s is close to the Cornell sea-level standard value of 340.29 m/s (288.15 K), while 343 m/s (OpenStax) suits 20 °C laboratory air.

Open this calculator

Sound speed by medium and altitude, and the Mach number of a 100 m/s flow

Sound speeds below are from the cited tables; the Mach numbers are 100 m/s divided by them. The spread exceeds a factor of five.

Speed of sound by medium and condition, and Ma for a 100 m/s flow
Medium and conditionSpeed of sound c (m/s)SourceMa at v = 100 m/s
Air, standard atmosphere at sea level (288.15 K)340.29Cornell Table 1.10.2939
Air, 20 °C343OpenStax0.2915
Air, 0 °C331OpenStax Table 17.10.3021
Air, standard atmosphere at 11 000 m (216.65 K)295.07Cornell Table 1.10.3389
Carbon dioxide, 0 °C259OpenStax Table 17.10.3861
Helium, 0 °C965OpenStax Table 17.10.1036
Fresh water, 20 °C1480OpenStax Table 17.10.0676

Water's 1480 m/s is hundreds of times the few m/s in pumps and pipes, so Ma is near zero in ordinary hydraulics; the liquid sound speed matters again when pressure waves are the problem, as in water hammer. Carbon dioxide, slower than air, gives a larger Ma at the same speed.

Mach number examples from real operating conditions

Example 1. An airliner cruising at 11 000 m

Given: In the standard atmosphere at 11 000 m, T = 216.65 K and a = 295.07 m/s (Cornell Table 1.1). The cruise true airspeed (TAS) of 250 m/s is an assumed value for illustration.

Units: 250 m/s × 3.6 = 900 km/h.

Calculation: Ma = 250 / 295.07 = 0.8473. Dividing the same 250 m/s by the sea-level standard sound speed of 340.29 m/s gives 0.7347. The sound-speed ratio 295.07 / 340.29 = 0.8671 equals √(216.65 / 288.15): c scales with √T.

Interpretation: Same speed, about 15% higher Ma at altitude (0.8473 / 0.7347 = 1.153), labelled transonic. (γ/2)M² = 0.7 × 0.8473² ≈ 0.50: pressure changes of order half the static pressure, so incompressible analysis does not apply, and the local Ma over the wing can exceed 1.

Example 2. Checking the 0.3 guideline in a 20 °C laboratory duct

Given: The speed of sound in air at 20 °C is 343 m/s (OpenStax). The mean duct velocity of 100 m/s is assumed.

Sound-speed check: γ = 1.4, R = 287 J/(kg·K), T = 273.15 + 20 = 293.15 K give γRT = 117,787.67 m²/s² and c = 343.2 m/s, matching 343 m/s.

Calculation: Ma = 100 / 343 = 0.2915. The NASA Glenn isentropic relations with γ = 1.4 give T0/T = 1 + 0.2 Ma² = 1.0170, ρ0/ρ = (T0/T)2.5 = 1.0430 and p0/p = (T0/T)3.5 = 1.0608.

Interpretation: Stopping the flow isentropically raises density by about 4.3%, even below Ma 0.3. A duct pressure-loss model that must be 1% accurate may need a compressible solver or a density correction. The 0.3 rule accepts density changes of a few percent; it is a convention, not physics.

Example 3. Throat conditions when a converging nozzle chokes

Given: Assumed reservoir stagnation state T0 = 293.15 K (20 °C), p0 = 101,325 Pa; a converging nozzle discharges into a low-pressure tank and the throat reaches Ma = 1. NASA Glenn marks these choked conditions with a star (*).

Calculation: With Ma = 1 and γ = 1.4, 1 + 0.2 × 1² = 1.2. T*/T0 = 1 / 1.2 = 0.8333, so T* = 244.29 K. p*/p0 = 1.2−3.5 = 0.5283, so p* = 53,528 Pa. ρ*/ρ0 = 1.2−2.5 = 0.6339.

Throat velocity: equals the local sound speed, c* = √(1.4 × 287 × 244.29) = 313.3 m/s, based on the cooled throat temperature, not the reservoir value that gave 343.2 m/s.

Interpretation: Below a back pressure of 0.5283 p0 (about 53.5 kPa) the throat state and mass flow stop changing. This assumes no friction or heat transfer, and the expansion waves and shocks downstream of the exit are outside these relations.

Regime labels and the local Mach number

The calculator's labels (subsonic below 0.8, transonic 0.8 to 1.2, supersonic 1.2 to 5, hypersonic above 5) are conventional and vary between references. NASA Glenn notes that near M = 1 the density change is about as large as the velocity change, so transonic flow cannot ignore compressibility.

Example 1's 0.8473 is a free-stream value. Over the upper wing surface the flow speeds up and cools, so the local sound speed falls and the local Ma can be well above it. In CFD, check the boundary-condition Ma separately from the cell-by-cell local Ma.

When the 0.3 guideline and isentropic relations break down

Mach number calculation questions

Should I use 340 m/s or 343 m/s for the speed of sound?

340.29 m/s is standard sea level (288.15 K, 15 °C); 343 m/s is 20 °C air. The 0.8% gap (343 / 340.29 = 1.0080) rarely changes a regime check, but if you know the actual temperature, recompute c = √(γRT).

If Ma is below 0.3, can I always treat the flow as incompressible?

No. At Ma = 0.2915 (Example 2) stagnation density is still about 4.3% above static. With a tighter accuracy target, or with heating or combustion, model the density variation anyway.

Does lowering the back pressure increase the flow through a choked converging nozzle?

Not in isentropic theory. At Ma = 1 the throat state depends only on the stagnation state, so more flow needs a higher reservoir pressure or a larger throat; lower back pressure only changes the expansion outside the exit.

Can I enter the speed shown on an aircraft's airspeed indicator?

Use true airspeed. Indicated airspeed reads below true airspeed at altitude, and GPS ground speed includes wind. Example 1's 250 m/s is a true airspeed.

After checking compressibility with Ma, use these to test other assumptions about the same gas flow.

References