# Oblique Shock Calculator

URL: https://speedycalculator.com/calculators/physics/oblique-shock/
Last updated: 2026-11-08

> The oblique shock calculator finds the shock angle, downstream Mach number and pressure, density and temperature ratios across a weak or strong oblique shock (or a normal shock) for a given upstream Mach number, deflection angle and γ.

## Inputs

- Shock
- Upstream Mach number M₁
- Deflection angle θ (°, rad, arcmin, arcsec, mrad)
- Heat capacity ratio γ

## Results

- Shock angle β
- Normal upstream Mach M_n1
- Normal downstream Mach M_n2
- Downstream Mach number M₂
- Pressure ratio p₂/p₁
- Density ratio ρ₂/ρ₁
- Temperature ratio T₂/T₁
- Total pressure ratio p₀₂/p₀₁

## Formula

```
θ–β–M relation solved analytically (weak/strong) · M_n1 = M₁·sin β,  p₂/p₁ = 1 + 2γ/(γ+1)·(M_n1² − 1)
ρ₂/ρ₁ = (γ+1)M_n1²/((γ−1)M_n1² + 2),  M₂ = M_n2/sin(β − θ)
```

## Explanation

When supersonic flow is turned by a wedge or a ramp, it passes through an oblique shock wave that compresses and slows it. Supersonic intakes, wedges and the nose of every supersonic aircraft generate them.

### How to use the Oblique Shock Calculator

- **Shock**
- **Upstream Mach number M₁**
- **Deflection angle θ**
- **Heat capacity ratio γ**

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

### How it works

Choose oblique (weak or strong solution) or normal shock, and enter the upstream Mach number, deflection angle and γ.

### Inputs explained

FieldWhat to enterShockChoose one: Oblique (weak solution), Oblique (strong solution), Normal shockUpstream Mach number M₁A numberDeflection angle θUnits: °, rad, arcmin, arcsec, mradHeat capacity ratio γA number

### What each result means

- **Normal upstream Mach M_n1** = [Upstream Mach number M₁]×sin(rad([Shock angle β]))
- **Normal downstream Mach M_n2** = sqrt((1 + ([Heat capacity ratio γ] - 1)÷2×[Normal upstream Mach M_n1]^2)÷([Heat capacity ratio γ]×[Normal upstream Mach M_n1]^2 - ([Heat capacity ratio γ] - 1)÷2))
- **Pressure ratio p₂/p₁** = 1 + 2×[Heat capacity ratio γ]÷([Heat capacity ratio γ] + 1)×([Normal upstream Mach M_n1]^2 - 1)
- **Density ratio ρ₂/ρ₁** = ([Heat capacity ratio γ] + 1)×[Normal upstream Mach M_n1]^2÷(([Heat capacity ratio γ] - 1)×[Normal upstream Mach M_n1]^2 + 2)
- **Temperature ratio T₂/T₁** = [Pressure ratio p₂÷p₁]÷[Density ratio ρ₂÷ρ₁]

### Example values

How the main result changes when **Upstream Mach number M₁** changes and everything else stays at the example values above:

Upstream Mach number M₁Shock angle β (°)1.8848.7522.536.94493.1331.36223.7528.0394524.3217

## Worked example

Inputs: Shock: Oblique – weak solution; Upstream Mach number M₁: 2.5; Deflection angle θ: 15 °; Heat capacity ratio γ: 1.4.

Results: **Shock angle β = 36.9449 °**; Normal upstream Mach M_n1 = 1.50262; Normal downstream Mach M_n2 = 0.70016; Downstream Mach number M₂ = 1.87353; Pressure ratio p₂/p₁ = 2.4675; Density ratio ρ₂/ρ₁ = 1.86655; Temperature ratio T₂/T₁ = 1.32196; Total pressure ratio p₀₂/p₀₁ = 0.92895.

## Key terms

- **Shock wave**: Thin region of abrupt compression in supersonic flow.

## FAQ

**What is the difference between weak and strong shocks?**
The weak one (usually seen) leaves supersonic flow; the strong one leaves subsonic flow.

**What if the deflection is too large?**
No attached solution exists and the shock detaches (a dash or NaN appears).

**Why does total pressure drop?**
Shocks are irreversible and generate entropy.

**What is a normal shock?**
A shock perpendicular to the flow, β = 90°.


## Sources

- [NASA Glenn: Beginner's Guide to Aeronautics](https://www.grc.nasa.gov/www/k-12/airplane/)
- [NACA Report 1135: Equations, tables and charts for compressible flow](https://ntrs.nasa.gov/citations/19930091059)
