Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Oblique Shock Calculator

Upstream Mach number M₁: enter 1 or more. Prefilled example: 2.

Shock wave angle β, in °: enter a number from 0 to 90. Prefilled example: 40.

Ratio of specific heats γ: enter 1 or more. Prefilled example: 1.4.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Upstream Mach number M₁: enter 1 or more.
  2. Shock wave angle β, in °: enter a number from 0 to 90.
  3. Ratio of specific heats γ: enter 1 or more.
  4. 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

  1. Mn1=m1×sin⁡(rad⁡(β))
  2. θ={deg⁡(atan⁡(2÷tan⁡(rad⁡(β))×(Mn12−1)m12×(gam+cos⁡(2×rad⁡(β)))+2))if Mn1>1No result for these inputsotherwise
Symbols used in the formula
SymbolMeaningUnit
m1Upstream Mach number M₁
βShock wave angle β°
gamRatio of specific heats γ
Mn1Normal 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
  1. Mn1=2×sin⁡(rad⁡(40))=1.28558
  2. θ=deg⁡(atan⁡(2÷tan⁡(rad⁡(40))×(1.285582−1)22×(1.4+cos⁡(2×rad⁡(40)))+2))=10.6229

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.

Related calculators