The guide
A normal shock keeps mass, momentum and energy, and spends stagnation pressure to do it
Why a supersonic stream must slow through a layer thinner than a micrometre, what the shock conserves, why total pressure falls, and why the gamma 1.4 table is a special case.
- 0.5774 Mach number after a Mach 2 shock, gamma 1.4
- 4.5 pressure ratio at Mach 2, not 5.67
- 0.7209 stagnation pressure kept at Mach 2
- 0.3273 entropy rise at Mach 2, in units of R
- 30 degrees Mach angle at Mach 2, a different thing
Read the full guide Fold the guide
A supersonic stream cannot slow down gently. Something has to tell the gas ahead that an obstacle is coming, and in a stream faster than sound nothing can travel upstream fast enough to do it. So the gas arrives unwarned and meets the change all at once.
That abrupt change is a shock wave. The Wikipedia page on shock waves says the properties of the fluid, meaning density, pressure, temperature, flow velocity and Mach number, change almost instantaneously across it. Measurements of shock thickness in air give values around 200 nanometres, which is the same order of magnitude as the mean free path of the gas molecules.
What the shock keeps
Inside a layer that thin nobody can follow the detail, so the useful move is to stand outside it. The Rankine-Hugoniot page describes the relationship between the states on the two sides of a shock, and it writes three statements for a frame that moves with the wave. Mass flow per unit area is the same on both sides. The momentum flux plus the pressure is the same. The energy, counted as enthalpy plus half the speed squared, is the same.
Those three conservation laws are the whole physics of this page. Nothing else is assumed except an ideal gas with a ratio of specific heats, gamma, that stays constant across the shock. The page that gives the printed tables says the resulting equations for pressure, density, temperature and stagnation pressure are cumbersome, which is why people used tables.
They are not hard to evaluate, only awkward to remember. Let M1 be the Mach number upstream. Call M1 squared minus one by the name x. Then the static pressure ratio is one plus two gamma times x over gamma plus one.
Now put in numbers. Take Mach 2 in air, gamma 1.4. Here x is 3, so the pressure ratio is 1 plus 2 times 1.4 times 3 divided by 2.4, which is 4.5. The density ratio is 2.6667 and the temperature ratio, the pressure ratio divided by the density ratio, is 1.6875.
The Mach number after the shock is 0.5774. The flow is subsonic, and that is not an accident of this example. A normal shock always leaves the flow subsonic, and the Mach number formula on the tables page shows the lowest value it can leave, however strong the shock: the square root of gamma minus one over two gamma, 0.378 for air.
Here is the slip that gives a chatbot away. Drop the minus one in M1 squared minus one, so that the pressure ratio reads one plus two gamma M1 squared over gamma plus one, and Mach 2 gives 5.6667 instead of 4.5. It looks plausible and it is wrong by a quarter.
The density ratio has a ceiling. The Rankine-Hugoniot page notes that the specific volume ratio is restricted to a finite interval, and for no heat release its lower end is gamma minus one over gamma plus one. Turn that over and no shock can compress the gas more than gamma plus one over gamma minus one times: 6 for air, 4 for a monatomic gas, 21 for gamma 1.1. At Mach 1,000 in air the density ratio is 5.99997. The pressure and temperature ratios have no ceiling at all. Speed follows density: mass flow is conserved, so the speed after the shock is the speed before divided by the density ratio, 0.375 of it at Mach 2.
Where the stagnation pressure goes
Energy is conserved, yet the shock is not free. Stagnation conditions are what the gas would have if it were brought to rest without loss. The Wikipedia page on stagnation pressure describes it as the pressure the gas would show if it were brought to rest isentropically from its Mach number. The ratio of stagnation temperatures stays at one across a normal shock, because the process is adiabatic. The stagnation pressure does not.
The NASA Glenn page on normal shock equations puts it in one sentence: because the flow is not isentropic, the total pressure downstream of the shock is always less than the total pressure upstream. At Mach 2 the stagnation pressure ratio is 0.7209, so about 28 percent is gone. At Mach 4.5 it is 0.0917, and more than 90 percent is gone.
The cost has a name, entropy. The Shock wave page describes the shock in elementary fluid mechanics as a discontinuity where entropy increases abruptly, and says that energy is preserved while entropy increases, so less of it can be extracted as work. For an ideal gas the rise is the negative natural logarithm of the stagnation pressure ratio, in units of the gas constant R. At Mach 2 that is 0.3273.
The page on normal shock tables adds a warning that matters to anyone who learned Bernoulli’s equation. Total pressure is not static pressure plus dynamic pressure when the flow is compressible, and it always is above Mach 1. You cannot carry Bernoulli across a shock, and you cannot treat the shock as isentropic either. Doing the second gives a stagnation pressure ratio of exactly 1 instead of 0.7209.
A table for one gas
The printed table assumes gamma equals 1.4. That is a good number for air, since the Heat capacity ratio page explains that air is mostly diatomic nitrogen and oxygen, and that the value of 7 over 5 agrees with measurements of dry air between 0 and 200 degrees Celsius to within 0.2 percent. It is a poor number for anything else.
The same page gives 5 over 3 for a monatomic gas, and lists helium at 1.66 and argon at 1.67 at 20 degrees Celsius. Put a monatomic gas through the same Mach 2 shock and the temperature ratio is 2.0781 instead of 1.6875, about 23 percent higher. The pressure ratio is 4.75 and the stagnation pressure ratio 0.7630.
Even for air the table has a range. It stops at Mach 5, and the Wikipedia page says that assuming gamma stays 1.4 over the whole range leads to errors above 10 percent beyond Mach 5. The reason is that gamma is not a constant of nature. The same page lists hydrogen falling from 1.410 at 20 degrees to 1.318 at 2000 degrees.
So this page takes gamma as an input, from 1.001 to 3, and evaluates the closed forms for whatever you enter. For gamma 1.4 its rows can be compared with the table, and the Mach 2.00 row (0.5774, 4.5000, 2.6667, 1.6875, 0.7209) also appears in the NACA Report 1135 tables, made for air as a perfect gas.
The angle that is not the shock
The Mach angle is a different object and is often confused with the shock. The Mach wave page gives it as the arcsine of one over M, the angle between a Mach wave and the direction opposite to the motion. At Mach 2 it is 30 degrees. NASA Glenn gives the same relation, the sine of the angle equals one over the Mach number.
A Mach wave is a weak disturbance, a limit with vanishing strength. A normal shock is the opposite case, a finite jump standing square to the flow at 90 degrees. After it the flow is subsonic, so there is no downstream Mach angle to quote. The page shows the angle as its own quantity so that the two are not mixed up.
How the page checks itself
A formula copied from one page can carry a typing error, so the page does not rest on the closed forms. It also solves the three conservation laws directly, with no shock formula in them, by a bracketed root search on the density ratio. The Bisection method page describes the idea: keep an interval whose ends have opposite signs and halve it.
The energy equation also has the trivial root for no shock at all, so the bracket is built to hold only the shock root. Both routes agree to about 1e-15 at Mach 1.5, 2, 3 and 4.5 for gamma 1.3, 1.4 and 5/3, and the stagnation pressure from the isentropic relations before and after the shock matches the closed form to the same degree.
The work runs in a separate thread, a Web Worker, so the page stays responsive, and numbers are formatted with the browser’s own number formatter. Close to Mach 1 the two roots of the conservation equations merge and double precision cannot separate them, so the page says so instead of printing a wrong number.
It also leaves things out. It covers a normal shock in an ideal gas only. Oblique shocks, expansion fans, shocks inside nozzles, real-gas and high-temperature effects, and moving shocks are outside it, and each needs its own treatment.
Sources
Every source consulted for this guide. Links checked November 11, 2026.
- Normal shock tables Wikipedia
- Rankine-Hugoniot conditions Wikipedia
- Shock wave Wikipedia
- Mach wave Wikipedia
- Mach number Wikipedia
- Stagnation pressure Wikipedia
- Heat capacity ratio Wikipedia
- Bisection method Wikipedia
- Normal Shock Wave Equations NASA Glenn Research Center
- Mach Angle NASA Glenn Research Center
- Equations, tables, and charts for compressible flow (Report 1135) NASA Technical Reports Server, Ames Research Staff
- Web Workers API MDN Web Docs (Mozilla)
- Intl.NumberFormat MDN Web Docs (Mozilla)