Normal Shock Wave Calculator

Find the Rankine-Hugoniot normal shock relations M2, p2/p1, rho2/rho1, T2/T1, and p02/p01 from upstream Mach number.

💥 Normal Shock Wave Calculator
Upstream Mach number (M1)2.0
-
1.015
-
Pressure Ratio p2/p1
Downstream Mach M2
Density Ratio ρ2/ρ1
Temperature Ratio T2/T1
Stagnation Pressure Ratio p02/p01
Step-by-step working

💥 What is the Normal Shock Wave Calculator?

This normal shock wave calculator finds the Rankine-Hugoniot jump conditions across a normal shock: the downstream Mach number M2, the pressure ratio p2/p1, the density ratio ρ2/ρ1, the temperature ratio T2/T1, and the stagnation (total) pressure ratio p02/p01. Enter the upstream Mach number M1 and the ratio of specific heats γ, and it returns all five values along with a chart.

A normal shock is a thin region perpendicular to the flow where supersonic flow abruptly and irreversibly decelerates to subsonic flow, with sudden jumps in pressure, density, and temperature. Normal shocks appear in supersonic wind tunnel diffusers, ahead of blunt bodies in supersonic flight, inside over-expanded nozzle exhaust plumes, and at the terminating shock of many supersonic inlet designs.

The two most important physical facts this calculator makes concrete: the downstream Mach number M2 is always less than 1 (a normal shock always makes flow subsonic), and the stagnation pressure ratio p02/p01 is always less than 1 (total pressure is always lost across a shock, the signature of its irreversible, entropy-generating nature). This total-pressure loss is exactly why supersonic aircraft inlets favor a series of weaker oblique shocks over one strong normal shock, though designing an oblique-shock inlet is a separate topic outside the scope of this calculator.

This calculator is a general compressible-flow reference tool for gas dynamics coursework, wind tunnel diffuser analysis, and supersonic inlet performance estimation, useful anywhere a flow crosses from supersonic to subsonic through a shock.

📐 Formula

M2²  =  (1 + (γ−1)/2 × M1²) / (γM1² − (γ−1)/2)
M1 = upstream (supersonic) Mach number, M2 = downstream (always subsonic) Mach number
γ = ratio of specific heats (1.4 for air)
p2/p1  =  1 + 2γ/(γ+1) × (M1² − 1)
ρ2/ρ1 = (γ+1)M1² / ((γ−1)M1² + 2)
T2/T1 = (p2/p1) / (ρ2/ρ1)  (not an independent formula, a consistency check)
p02/p01  =  [(γ+1)M1²/((γ−1)M1²+2)]^(γ/(γ−1)) × [(γ+1)/(2γM1²−(γ−1))]^(1/(γ−1))
Example: M1=2, γ=1.4: M2 ≈ 0.5774, p2/p1 = 4.5, ρ2/ρ1 ≈ 2.6667, T2/T1 = 1.6875, p02/p01 ≈ 0.7209.

📖 How to Use This Calculator

Steps

1
Enter the upstream Mach number. Use the slider or type an upstream Mach number M1 greater than 1.
2
Enter the ratio of specific heats. Use gamma = 1.4 for air, or override it for another gas.
3
Read the shock jump ratios. See M2, p2/p1, rho2/rho1, T2/T1, and p02/p01 along with the chart.

💡 Example Calculations

Example 1 - Classic M=2 shock (textbook reference case)

1
M1 = 2.0, γ = 1.4 (air)
2
M2 = 0.5774 (always subsonic), p2/p1 = 4.5000 exactly
3
ρ2/ρ1 = 2.6667, T2/T1 = 1.6875 exactly, p02/p01 = 0.7209 (total pressure loss)
M2 = 0.5774, p2/p1 = 4.5000, p02/p01 = 0.7209
Try this example →

Example 2 - Weak shock, supersonic wind tunnel diffuser

1
M1 = 1.5, γ = 1.4 (air)
2
M2 = 0.7011, p2/p1 = 2.4583
3
ρ2/ρ1 = 1.8621, T2/T1 = 1.3202, p02/p01 = 0.9298, only a 7% total-pressure loss for this weak shock
M2 = 0.7011, p2/p1 = 2.4583, p02/p01 = 0.9298
Try this example →

Example 3 - Strong shock, high-speed reentry-adjacent flow

1
M1 = 3.0, γ = 1.4 (air)
2
M2 = 0.4752, p2/p1 = 10.3333
3
ρ2/ρ1 = 3.8571, T2/T1 = 2.6790, p02/p01 = 0.3283, a much larger 67% total-pressure loss at this stronger shock strength
M2 = 0.4752, p2/p1 = 10.3333, p02/p01 = 0.3283
Try this example →

Example 4 - Invalid input: subsonic upstream flow

1
M1 = 0.8 (subsonic), γ = 1.4
2
A normal shock cannot exist for subsonic upstream flow. The calculator shows an error instead of a result.
Error: upstream Mach number must be greater than 1
Try this example →

❓ Frequently Asked Questions

What is a normal shock wave?+
A normal shock is a thin, nearly discontinuous region perpendicular to the flow direction where a supersonic flow abruptly decelerates to subsonic speed, with a sudden jump in pressure, density, and temperature. It is an irreversible, entropy-generating process, unlike the isentropic flow upstream and downstream of it.
Why does a normal shock require M1 greater than 1?+
The Rankine-Hugoniot jump conditions only have a physically valid (entropy-increasing) solution when the upstream Mach number M1 is supersonic. If M1 were 1 or less, the formulas would either give no real solution or would require entropy to decrease, which violates the second law of thermodynamics, so no shock can exist.
Is the downstream Mach number M2 always less than 1?+
Yes. For every value of M1 greater than 1, the normal shock relations always give M2 less than 1. A normal shock always decelerates supersonic flow to subsonic flow; this is a mathematical consequence of the Rankine-Hugoniot relations, not just a typical outcome.
Why does total pressure decrease across a normal shock?+
The stagnation pressure ratio p02/p01 is always less than 1 across a normal shock because the shock is an irreversible process that generates entropy. Even though static pressure p2 rises sharply, the loss of available energy (exergy) shows up as a drop in total pressure, which directly reduces the thrust or efficiency of any propulsion system relying on that pressure.
Why do supersonic inlets use oblique shocks instead of a single normal shock?+
A single strong normal shock produces a large total-pressure loss, worsening as M1 increases. A series of weaker oblique shocks, each turning the flow through a smaller angle at a lower effective Mach number, achieves the same overall deceleration with substantially less total-pressure loss, which is why supersonic aircraft inlets (like on the Concorde or MiG-25) are shaped to generate oblique shocks ahead of any final normal shock.
How do I verify T2/T1 is correct?+
T2/T1 is not computed from an independent formula, it equals (p2/p1) divided by (rho2/rho1), the ratio of the pressure jump to the density jump. Computing it this way, rather than from a separate closed-form expression, is a useful check: if your p2/p1 and rho2/rho1 values are both correct, dividing them must give the correct T2/T1.
What is the strongest possible normal shock?+
As M1 approaches infinity, the density ratio rho2/rho1 approaches a finite limit of (γ+1)/(γ-1), which is 6 for air (γ=1.4), while the pressure ratio p2/p1 and temperature ratio T2/T1 grow without bound. This means a normal shock can compress density by at most a factor of 6 for air, no matter how strong the shock, but can raise pressure and temperature arbitrarily high.
How accurate are these relations at very high Mach numbers?+
The classic Rankine-Hugoniot relations assume a calorically perfect gas with constant γ. At very high Mach numbers (roughly M1 above 5 to 6), real air undergoes vibrational excitation, dissociation, and ionization behind the shock, which changes the effective γ and makes these constant-γ formulas increasingly approximate; real-gas effects must be included for accurate hypersonic shock analysis.
What happens to entropy across a normal shock?+
Entropy always increases across a normal shock, consistent with the second law of thermodynamics, since the shock is an irreversible process. The entropy increase is what distinguishes the shock solution (M1 supersonic to M2 subsonic) from the mathematically possible but physically impossible reverse process (which would require entropy to decrease and is therefore rejected).
Can I use these relations for a shock in a wind tunnel diffuser?+
Yes, supersonic wind tunnel diffusers commonly use a normal shock, or a series of oblique shocks followed by a weak normal shock, to decelerate the test-section flow back to subsonic speed for the diffuser and downstream ducting. This calculator's pressure, density, and temperature ratios directly describe the jump across such a diffuser shock.

What is a normal shock wave?

A normal shock is a thin, nearly discontinuous region perpendicular to the flow direction where a supersonic flow abruptly decelerates to subsonic speed, with a sudden jump in pressure, density, and temperature. It is an irreversible, entropy-generating process, unlike the isentropic flow upstream and downstream of it.

Why does a normal shock require M1 greater than 1?

The Rankine-Hugoniot jump conditions only have a physically valid (entropy-increasing) solution when the upstream Mach number M1 is supersonic. If M1 were 1 or less, the formulas would either give no real solution or would require entropy to decrease, which violates the second law of thermodynamics, so no shock can exist.

Is the downstream Mach number M2 always less than 1?

Yes. For every value of M1 greater than 1, the normal shock relations always give M2 less than 1. A normal shock always decelerates supersonic flow to subsonic flow; this is a mathematical consequence of the Rankine-Hugoniot relations, not just a typical outcome.

Why does total pressure decrease across a normal shock?

The stagnation pressure ratio p02/p01 is always less than 1 across a normal shock because the shock is an irreversible process that generates entropy. Even though static pressure p2 rises sharply, the loss of available energy (exergy) shows up as a drop in total pressure, which directly reduces the thrust or efficiency of any propulsion system relying on that pressure.

Why do supersonic inlets use oblique shocks instead of a single normal shock?

A single strong normal shock produces a large total-pressure loss, worsening as M1 increases. A series of weaker oblique shocks, each turning the flow through a smaller angle at a lower effective Mach number, achieves the same overall deceleration with substantially less total-pressure loss, which is why supersonic aircraft inlets (like on the Concorde or MiG-25) are shaped to generate oblique shocks ahead of any final normal shock.

How do I verify T2/T1 is correct?

T2/T1 is not computed from an independent formula, it equals (p2/p1) divided by (rho2/rho1), the ratio of the pressure jump to the density jump. Computing it this way, rather than from a separate closed-form expression, is a useful check: if your p2/p1 and rho2/rho1 values are both correct, dividing them must give the correct T2/T1.

What is the strongest possible normal shock?

As M1 approaches infinity, the density ratio rho2/rho1 approaches a finite limit of (γ+1)/(γ-1), which is 6 for air (γ=1.4), while the pressure ratio p2/p1 and temperature ratio T2/T1 grow without bound. This means a normal shock can compress density by at most a factor of 6 for air, no matter how strong the shock, but can raise pressure and temperature arbitrarily high.

How accurate are these relations at very high Mach numbers?

The classic Rankine-Hugoniot relations assume a calorically perfect gas with constant γ. At very high Mach numbers (roughly M1 above 5 to 6), real air undergoes vibrational excitation, dissociation, and ionization behind the shock, which changes the effective γ and makes these constant-γ formulas increasingly approximate; real-gas effects must be included for accurate hypersonic shock analysis.

What happens to entropy across a normal shock?

Entropy always increases across a normal shock, consistent with the second law of thermodynamics, since the shock is an irreversible process. The entropy increase is what distinguishes the shock solution (M1 supersonic to M2 subsonic) from the mathematically possible but physically impossible reverse process (which would require entropy to decrease and is therefore rejected).

Can I use these relations for a shock in a wind tunnel diffuser?

Yes, supersonic wind tunnel diffusers commonly use a normal shock, or a series of oblique shocks followed by a weak normal shock, to decelerate the test-section flow back to subsonic speed for the diffuser and downstream ducting. This calculator's pressure, density, and temperature ratios directly describe the jump across such a diffuser shock.