Oblique Shock Calculator

Calculate oblique shock wave angle, downstream Mach number, pressure/density/temperature ratios, and stagnation pressure loss for supersonic flow.

Shock Angle β
37.764°
Wave angle from freestream
Normal Mach M₁ₙ
1.8372
M₁ₙ = M₁·sin(β)
Downstream Mach M₂
1.9941
Post-shock Mach number
Pressure Ratio p₂/p₁
3.7713
Static pressure jump
Density Ratio ρ₂/ρ₁
2.4181
Density jump
Temperature Ratio T₂/T₁
1.5596
Static temperature jump
Stagnation P Ratio
0.796018
p₀₂/p₀₁ (< 1 = loss)
Entropy Rise Δs/R
0.2281
−ln(p₀₂/p₀₁)

Pressure Jump

p₂/p₁ = 3.77 (scale: 10)

Maximum Deflection Angle vs Mach

M₁θ_max (°)
1.511.8
222.97
2.529.59
334.07
438.76
541.11
844.43
45.58
Planning notes, formulas, and examples

About the Oblique Shock Calculator

An oblique shock wave forms when supersonic flow encounters a wedge, ramp, or deflection. Unlike a normal shock (perpendicular to flow), an oblique shock is inclined at angle β to the freestream, deflecting the flow by angle θ while compressing, heating, and decelerating the gas.

This calculator solves the oblique shock relations. Given the upstream Mach number and deflection angle, it determines the shock angle β using an iterative solver, then computes all downstream properties: Mach number, static pressure ratio, density ratio, temperature ratio, stagnation pressure ratio, and entropy rise.

The tool handles the full range of supersonic Mach numbers from 1+ to hypersonic. It correctly identifies when the deflection angle exceeds the maximum for attached shocks (indicating a detached bow shock). A maximum deflection angle reference table helps engineers design inlet ramps and compressor cascades.

Oblique shock analysis is essential for supersonic inlet design, aircraft nose/wing shaping, ballistic reentry, and wind tunnel nozzle design.

When This Page Helps

Oblique shock calculations are essential for aerospace engineering but involve transcendental equations that cannot be solved in closed form. This calculator handles the iterative solution automatically.

It is invaluable for students, aerospace engineers, and researchers working with supersonic and hypersonic flows. It helps when you need to see how a wedge angle, Mach number, or gas model changes the downstream state without hand-solving the theta-beta-Mach relation.

How to Use the Inputs

  1. Enter the upstream Mach number (must be > 1).
  2. Enter the specific heat ratio γ (1.4 for air).
  3. Enter the flow deflection angle θ in degrees.
  4. Alternatively, enter the shock angle β directly to compute from that.
  5. Read the downstream Mach number, pressure/density/temperature ratios.
  6. Check the stagnation pressure loss — lower is better for efficiency.
Formula used
tan(θ) = 2·cot(β)·(M₁²sin²β − 1) / (M₁²(γ + cos2β) + 2). M₁ₙ = M₁·sin(β). Normal shock applied to M₁ₙ. p₂/p₁ = 1 + 2γ/(γ+1)·(M₁ₙ² − 1). ρ₂/ρ₁ = (γ+1)M₁ₙ² / ((γ−1)M₁ₙ² + 2). T₂/T₁ = (p₂/p₁)/(ρ₂/ρ₁). M₂ = M₂ₙ/sin(β − θ).

Example Calculation

Result: β ≈ 37.8°, M₂ ≈ 1.99, p₂/p₁ ≈ 2.82

For M₁ = 3, θ = 20°: the weak shock solution gives β ≈ 37.8°. M₁ₙ = 3·sin(37.8°) = 1.84. Pressure ratio = 3.78. Downstream Mach after shock = 1.99.

Tips & Best Practices

  • For maximum inlet efficiency, design for oblique shocks with β as close to the Mach angle as possible.
  • The Mach angle (minimum β) is sin⁻¹(1/M) — it represents an infinitely weak shock (sound wave).
  • At M → ∞, the maximum deflection approaches 45.58° for γ = 1.4.
  • In hypersonic flow, γ decreases due to vibrational excitation and dissociation — use real-gas corrections.
  • Shock-expansion theory combines oblique shocks with Prandtl-Meyer expansions for complete 2D supersonic flow analysis.

Attached vs Detached Shocks

The main design question is whether the shock stays attached to the surface or detaches into a bow shock. Small deflections at a given Mach number usually give an attached weak shock, while too much turning forces detachment and a much larger pressure loss.

Why the Downstream State Matters

Downstream Mach number, pressure ratio, and stagnation pressure loss determine whether the flow can continue through an inlet, diffuser, or nozzle without unacceptable losses. That is why oblique shock results are usually interpreted together instead of one number at a time.

Practical Use

This calculator is useful for preliminary inlet design, compressible-flow homework, and quick sanity checks before CFD or wind-tunnel work. It gives the key shock parameters in one place so you can compare geometry choices quickly.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • For a given M₁ and θ, two β solutions exist. The weak shock (smaller β) keeps the flow supersonic downstream. The strong shock (larger β, close to 90°) makes it subsonic. In practice, the weak shock almost always occurs.