Normal Shock Relations Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Introduction to Normal Shock Relations

Normal shock relations describe the sudden jump that occurs when a supersonic stream crosses a shock that stands perpendicular to the flow. In that idealized one-dimensional picture, mass, momentum, and energy must still balance, so the upstream kinetic energy is rearranged into a lower downstream Mach number, a higher static pressure, a higher temperature, and a higher density. That is why normal shocks appear so often in compressible-flow analysis: they provide a compact way to estimate what happens when a supersonic stream is forced to slow down almost instantaneously.

This normal shock relations calculator focuses on the quantities engineers usually want first. Enter the upstream Mach number M₁ and the heat capacity ratio γ, and it computes the downstream Mach number M₂ together with the static pressure ratio p₂/p₁, density ratio ρ₂/ρ₁, temperature ratio T₂/T₁, and stagnation pressure ratio p₀₂/p₀₁. The model assumes a calorically perfect gas, so γ is treated as constant through the shock. For introductory air calculations, γ = 1.4 is the familiar reference value.

The results are especially helpful when you want to gauge how strong a normal shock is. If the upstream Mach number is only slightly above 1, the jump is weak and the property ratios stay close to unity. As the upstream Mach number increases, the shock becomes stronger, the static pressure rise becomes larger, and the stagnation pressure loss becomes more severe. That loss matters in inlets, diffusers, nozzles, and wind-tunnel sections because it represents irreversible total-pressure destruction rather than a recoverable change in static conditions.

How to Use This Normal Shock Relations Calculator

Start with the upstream Mach number M₁ for the flow entering the shock. In the normal shock relations used here, that value must be greater than 1; otherwise the shock relations do not apply in their standard form. In practical terms, M₁ tells the calculator how far above sonic speed the incoming stream is before it encounters the shock.

Next, enter the heat capacity ratio γ. This ratio of specific heats, often written as cp/cv, controls how strongly the pressure, density, and temperature ratios respond to the upstream Mach number. For dry air in many textbook problems, 1.4 is a convenient default, but other gases and gas mixtures can have different values, so it is worth matching the number to your working fluid if you know it.

After you click Calculate, the results area reports five normal-shock outputs. M₂ is the downstream Mach number after the shock. p₂/p₁ shows how much the static pressure rises. ρ₂/ρ₁ shows the density increase. T₂/T₁ shows the static temperature increase. p₀₂/p₀₁ shows the stagnation pressure ratio, which is always below 1 for a real normal shock in this idealized model because the process is irreversible.

Because the calculator reports ratios rather than dimensional quantities, you can use it with any consistent unit system. If the pressure ratio is 4.5, for example, the downstream static pressure is 4.5 times the upstream static pressure whether your pressures are in pascals, psi, or another unit. The same idea applies to density and temperature ratios: the calculator tells you how the states compare, not what unit system you must use.

Formula for Normal Shock Relations

The normal shock relations behind this calculator come from one-dimensional conservation of mass, momentum, and energy for a perfect gas. State 1 refers to the upstream side of the shock, and state 2 refers to the downstream side. Once you know the upstream Mach number and heat capacity ratio, the standard relation below gives the downstream Mach number.

M2 = 1 + (γ-1) M12 2 γ M12 - γ - 1 2

The static pressure ratio follows from the same jump conditions and is written as:

p2 p1 = 1 + 2γ γ+1 ( M12 - 1 )

The density ratio is:

ρ2 ρ1 = (γ+1) M12 (γ-1) M12 +2

Once the pressure and density ratios are known, the temperature ratio follows directly from the ideal-gas relation:

T2 T1 = p2/p1 ρ2/ρ1

The calculator also reports the stagnation pressure ratio, which is the quantity most directly tied to total-pressure loss across a normal shock. Even though the flow is adiabatic in this idealized model, the shock is irreversible, so stagnation pressure decreases while entropy increases. That is why p₀₂/p₀₁ is a useful indicator of how much useful pressure head disappears when the shock forms.

Worked Example: Air Crossing a Normal Shock at M₁ = 2.0

To see the normal shock relations in action, take air with γ = 1.4 approaching a normal shock at M₁ = 2.0. Entering those values into the calculator gives a downstream Mach number of about M₂ = 0.577. That is the expected subsonic result for a supersonic upstream flow, and it shows how quickly a normal shock can force the stream below Mach 1.

The same example produces a static pressure ratio of about p₂/p₁ = 4.500, a density ratio of about ρ₂/ρ₁ = 2.667, and a temperature ratio of about T₂/T₁ = 1.687. In physical terms, the downstream flow is denser, hotter, and much higher in static pressure than the upstream flow. The stagnation pressure ratio is less than 1, confirming that the shock does more than rearrange the state variables; it also destroys total pressure.

That combination of a subsonic downstream Mach number and a noticeable stagnation-pressure drop is exactly why normal shock relations matter in propulsion and high-speed aerodynamics. If you are checking a nozzle exit, estimating an inlet recovery, or comparing hand calculations against a design sketch, the ratios from this example give you a quick feel for the severity of the shock.

Limitations and Assumptions for Normal Shock Relations

These normal shock relations assume a one-dimensional, steady, adiabatic, calorically perfect gas. In other words, the shock is taken to be exactly normal to the flow, γ is held constant, and the gas is treated as if it obeys the ideal-gas model without chemical reaction or real-gas complications. Those assumptions are standard in introductory gas dynamics and are very useful for first-pass analysis, but they are still simplifications of real flow behavior.

Actual high-speed flows often deviate from the ideal picture. A shock can be oblique rather than normal, a boundary layer can thicken or separate near the shock, and elevated temperatures can make γ vary with state. In very energetic flows, dissociation or other thermochemical effects may also matter. When those effects are important, the values from this calculator are best interpreted as an idealized estimate rather than a final design answer.

The equations also require an upstream Mach number greater than 1. If the input Mach number is only slightly above 1, the shock is weak and the ratios stay near 1. If the upstream Mach number is very large, the equations still return a mathematical result, but the calorically perfect-gas assumption may become less representative of the actual fluid and temperature range.

Even with those limits, the calculator is a fast way to understand the basic behavior of a normal shock. It is useful for homework, for checking a hand calculation, and for building intuition about how upstream Mach number controls the downstream Mach number, pressure rise, temperature rise, density rise, and total-pressure loss.

Enter M₁ and γ to compute the downstream ratios for a normal shock.