Shock Wave Calculator

Calculate post-shock properties for a normal shock wave using upstream Mach number and specific heat ratio.

Important: This calculator uses ideal-gas normal shock relations. It assumes steady, one-dimensional, adiabatic flow with no heat addition and no shaft work.

About the Author: Created by Fotios Angelakis, MSc in Mechanical Engineering, with experience in engineering calculations, data analytics, and energy systems. Learn more about the author's qualifications and experience.

Enter upstream Mach number and γ to calculate post-shock properties.

What Is a Normal Shock Wave?

A normal shock wave is a very thin compression wave that stands perpendicular to a supersonic flow. Across the shock, the flow changes abruptly from supersonic to subsonic.

Static pressure, density, and temperature increase across a normal shock, while Mach number and total pressure decrease. Total temperature remains constant for an ideal adiabatic shock.

Normal shock M₁ > 1 p₁, ρ₁, T₁ M₂ < 1 p₂, ρ₂, T₂ increase

Normal Shock Relations

Downstream Mach Number

M₂² = [1 + ((γ - 1)/2)M₁²] / [γM₁² - (γ - 1)/2]

Pressure Ratio

p₂/p₁ = 1 + [2γ/(γ + 1)](M₁² - 1)

Density Ratio

ρ₂/ρ₁ = [(γ + 1)M₁²] / [(γ - 1)M₁² + 2]

Temperature Ratio

T₂/T₁ = (p₂/p₁) / (ρ₂/ρ₁)

Total Pressure Ratio

p₀₂/p₀₁ = (p₂/p₁) × [(1 + ((γ - 1)/2)M₂²)γ/(γ-1) / (1 + ((γ - 1)/2)M₁²)γ/(γ-1)]

How to Use the Calculator

  1. Enter the upstream Mach number M₁. It must be greater than 1.
  2. Enter γ, the ratio of specific heats. For air, use approximately 1.4.
  3. Optionally enter upstream temperature and pressure to calculate actual downstream values.
  4. Use R = 287 J/kg·K for air unless you are using another gas.
  5. Click calculate to get post-shock Mach number, ratios, and velocities.

Example Calculation

For air with M₁ = 2 and γ = 1.4:

  • The downstream Mach number becomes subsonic.
  • Static pressure increases strongly.
  • Density and temperature increase.
  • Total pressure decreases because a shock is irreversible.

Common γ Values

Gas Type Typical γ
Air near room temperature1.4
Diatomic gases, approximate1.4
Monatomic gases1.67
Combustion gases, approximate1.2 – 1.35

Important Assumptions

  • The shock is normal to the flow direction.
  • The gas behaves as a perfect gas.
  • γ is constant across the shock.
  • The flow is steady, one-dimensional, and adiabatic.
  • There is no heat addition, no shaft work, and no chemical reaction.
  • At very high temperatures, real-gas effects may become important.

Frequently Asked Questions

What is a shock wave?

A shock wave is a very thin region where pressure, density, temperature, and velocity change abruptly in a supersonic flow.

Why must M₁ be greater than 1?

A normal shock occurs only when the upstream flow is supersonic. The downstream flow becomes subsonic for a perfect-gas normal shock.

Does pressure increase across a normal shock?

Yes. Static pressure increases across a normal shock. Density and temperature also increase.

Does total pressure increase or decrease?

Total pressure decreases across a shock because the shock is irreversible and produces entropy.

Is total temperature constant across a normal shock?

For an ideal adiabatic normal shock with no work or heat transfer, total temperature remains constant.

Is this calculator for oblique shocks?

No. This calculator is for normal shocks. Oblique shocks require shock angle and flow deflection angle.

References

  • Anderson — Modern Compressible Flow
  • Liepmann & Roshko — Elements of Gasdynamics
  • White — Fluid Mechanics
  • Munson, Young, Okiishi — Fundamentals of Fluid Mechanics