Oblique Shock Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
An oblique shock turns a supersonic flow and compresses it. Enter the upstream Mach number, the shock angle and the ratio of specific heats.
Result
Flow deflection angle θ°
Normal Mach number M₁ sin β
- Downstream Mach number M₂
- Static pressure ratio p₂/p₁
- Density ratio ρ₂/ρ₁
- Temperature ratio T₂/T₁
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Upstream Mach number M₁: enter 1 or more.
- Shock wave angle β, in °: enter a number from 0 to 90.
- Ratio of specific heats γ: enter 1 or more.
- Read the result: Flow deflection angle θ; the panel also shows Normal Mach number M₁ sin β, Downstream Mach number M₂, Static pressure ratio p₂/p₁, Density ratio ρ₂/ρ₁ and Temperature ratio T₂/T₁.
How this calculator works
θ-β-M relation (NACA Report 1135, Equations and Tables for Compressible Flow, 1953): tan θ = 2 cot β × (M₁² sin² β − 1) ÷ (M₁² (γ + cos 2β) + 2), where θ is the flow deflection, β the shock angle and γ the ratio of specific heats (1.4 for air).
Across the shock only the normal component M_n1 = M₁ sin β acts as a normal shock: M_n2² = (M_n1² + 2/(γ − 1)) ÷ (2γ/(γ − 1) × M_n1² − 1), and M₂ = M_n2 ÷ sin(β − θ). Pressure ratio p₂/p₁ = 1 + 2γ/(γ + 1) × (M_n1² − 1), density ratio ρ₂/ρ₁ = (γ + 1) M_n1² ÷ ((γ − 1) M_n1² + 2), and T₂/T₁ = (p₂/p₁) ÷ (ρ₂/ρ₁).
A shock exists only if M₁ sin β > 1 (β above the Mach angle); otherwise the results show a dash. For a given θ there are two possible β, the weak and the strong shock; this calculator works from β, so it covers both.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Upstream Mach number M₁ | ||
| Shock wave angle β | ° | |
| Ratio of specific heats γ | ||
| Normal Mach number M₁ sin β | ||
| Flow deflection angle θ | ° | |
rad(x) | the angle x, converted from degrees to radians. | |
deg(x) | the angle x, converted from radians to degrees. |
Worked example
| Upstream Mach number M₁ | 2 |
|---|---|
| Shock wave angle β | 40 ° |
| Ratio of specific heats γ | 1.4 |
| Normal Mach number M₁ sin β | 1.2856 |
|---|---|
| Downstream Mach number M₂ | 1.6173 |
| Static pressure ratio p₂/p₁ | 1.7615 |
| Density ratio ρ₂/ρ₁ | 1.4906 |
| Temperature ratio T₂/T₁ | 1.1818 |
Flow deflection angle θ 10.6229 °
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the smallest possible shock angle?
The Mach angle, asin(1/M₁). At that angle the wave is infinitely weak and the flow is not deflected.
What deflection does a 40° shock give at Mach 2 in air?
About 10.62°, with the flow leaving at about Mach 1.6.
Is the flow behind an oblique shock subsonic?
Usually not for a weak shock: M₂ stays above 1 unless the shock is strong or the deflection is close to its maximum.