Worked example
Example: Illustrative: Mach 2.5 air turned 12 degrees by a ramp. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Upstream Mach number | 2.5000 - |
| Flow deflection (wedge half-angle or ramp angle) | 12.000 ° |
| Ratio of specific heats | 1.4000 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Shock wave angle (weak solution) | 33.802 ° |
| Maximum deflection for an attached shock | 29.797 ° |
| Normal Mach number upstream | 1.3908 |
| Downstream Mach number | 2.0022 |
| Static pressure ratio | 2.0900 |
| Temperature ratio | 1.2488 |
| Stagnation pressure ratio | 0.96046 |
Open this example in the calculator and change any input.
Formula
\(\tan\theta = 2\cot\beta\,\frac{M_1^2\sin^2\beta - 1}{M_1^2(\gamma + \cos 2\beta) + 2}, \quad M_{n1} = M_1\sin\beta, \quad M_2 = \frac{M_{n2}}{\sin(\beta - \theta)}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(M_1\) | Upstream Mach number | - |
| \(\theta\) | Flow deflection (wedge half-angle or ramp angle) | rad |
| \(\gamma\) | Ratio of specific heats | - |
| \(\beta\) | Shock wave angle (weak solution) | rad |
| \(\theta_{max}\) | Maximum deflection for an attached shock | rad |
| \(M_{n1}\) | Normal Mach number upstream | - |
| \(M_2\) | Downstream Mach number | - |
| \(p_2/p_1\) | Static pressure ratio | - |
| \(T_2/T_1\) | Temperature ratio | - |
| \(p_{02}/p_{01}\) | Stagnation pressure ratio | - |
Method and standards
Oblique shock theory.
Where it is used
- Supersonic inlets and ramps, wedge-shaped bodies.
- Shock reflections in nozzles and wind tunnels.
Common mistakes
- Taking the strong solution by mistake.
- Applying it beyond θ_max, where the shock detaches.
Assumptions and limits
- Calorically perfect gas, two-dimensional, attached straight shock.
References
- θ–β–M relation and normal-shock relations on the normal component
Questions and answers
What are the weak and strong solutions?
For each deflection below θ_max there are two shock angles; the weak one, with mostly supersonic downstream flow, is what normally forms on a wedge or ramp.
What happens above θ_max?
No attached straight shock is possible; a curved bow shock stands off ahead of the body with subsonic flow behind its central part.
What do the defaults represent?
An illustrative Mach 2.5 air flow turned 12° by a compression ramp.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Anderson, Modern Compressible Flow, 3rd ed. (McGraw-Hill, 2003), ch. 4, NACA Report 1135, Equations, Tables and Charts for Compressible Flow (Ames Research Staff, 1953)