Oblique Shock Calculator
Upstream flow
- An oblique shock turns a supersonic stream through the deflection angle; the theta-beta-Mach relation fixes the shock angle beta, and the normal-shock relations then apply to the Mach component perpendicular to the shock.
- For Mach 2 and a deflection of 10 degrees, the weak solution of the theta-beta-Mach relation gives beta = 39.31 degrees (the strong solution is the larger root).
- The normal component is Mach 1.27, so the pressure ratio across the shock is 1.71 and the temperature ratio is 1.17.
- Behind the shock the Mach number is 1.64; past the maximum deflection for this Mach number the shock would detach into a bow shock.
This oblique shock calculator solves the theta-beta-Mach relation, which links the flow deflection theta, the shock angle beta and the upstream Mach number. Enter a supersonic Mach number and a deflection, and the calculator returns the shock angle plus the downstream conditions. The classic NACA 1135 case shows what to expect: at Mach 2 with a 10 degree deflection, the weak shock angle is 39.31 degrees, the downstream Mach number is 1.64, the pressure ratio is 1.71 and the temperature ratio is 1.17. At Mach 3 with a 20 degree deflection, beta is 37.76 degrees, downstream Mach is 1.99 and the pressure ratio is 3.77, while at Mach 1.5 with an 8 degree deflection, beta is 52.57 degrees and the downstream Mach number is 1.21. An oblique shock forms when a supersonic flow is turned by a wedge or a concave corner, and this tool gives you the numbers that describe that turn.
The theta-beta-Mach relation is the accepted standard for this calculation because it follows directly from conservation of mass, momentum and energy across the shock, so the results are not approximations or curve fits. The calculator also reflects the physics you should know about. For each Mach and deflection below the maximum there are two mathematical solutions: the weak shock, with the smaller beta, which is the one seen in practice, and the strong shock. Beyond the maximum deflection for the Mach number, no attached solution exists and the shock detaches into a bow shock. This page shows the formula, step-by-step workings, worked examples and sources, so you can check every number by hand.
Worked examples
The classic NACA 1135 case
(2 · 10 deg · 1.4)
| Downstream Mach number M2 | 1.64 |
| Weak shock angle beta | 39.31 deg |
| Pressure ratio p2/p1 | 1.71 |
| Temperature ratio T2/T1 | 1.17 |
A stronger shock
(3 · 20 deg · 1.4)
| Downstream Mach number M2 | 1.99 |
| Weak shock angle beta | 37.76 deg |
| Pressure ratio p2/p1 | 3.77 |
| Temperature ratio T2/T1 | 1.56 |
A gentle low-supersonic turn
(1.5 · 8 deg · 1.4)
| Downstream Mach number M2 | 1.21 |
| Weak shock angle beta | 52.57 deg |
| Pressure ratio p2/p1 | 1.49 |
| Temperature ratio T2/T1 | 1.12 |
What is an oblique shock?
An oblique shock is a compression wave that stands at an angle to a supersonic flow rather than straight across it. It forms whenever a supersonic stream is forced to turn by a wedge, a ramp, or a concave corner — the sharp lip of an intake is a common example, as is the leading edge of a wing or a compression ramp inside an engine duct. Because the flow cannot turn smoothly through a supersonic stream, the change of direction happens abruptly across a thin shock layer, and the flow downstream of that layer is compressed, heated, and slowed.
The geometry is captured by the theta-beta-Mach relation, which links the flow deflection theta, the shock angle beta, and the upstream Mach number. Given any two of these, the third can be found, and the downstream conditions follow. Take the classic NACA 1135 case: at Mach 2 with a 10 degree deflection, the weak shock angle is 39.31 degrees, the downstream Mach number is 1.64, the pressure ratio is 1.71 and the temperature ratio is 1.17. Other worked cases follow the same pattern — at Mach 3 with a 20 degree deflection, beta is 37.76 degrees, the downstream Mach number is 1.99 and the pressure ratio is 3.77; at Mach 1.5 with an 8 degree deflection, beta is 52.57 degrees and the downstream Mach number is 1.21.
The key difference from a normal shock is that an oblique shock turns the flow instead of stopping it head-on. In the weak case the flow remains supersonic after the shock, even though it has been compressed and slowed — the downstream Mach numbers above are all above 1. A normal shock, by contrast, always leaves the flow subsonic. This is why oblique shocks are so useful in supersonic inlets and on compression surfaces: they raise pressure while keeping the flow moving fast enough to enter an engine or stay attached to a surface.
For each Mach number and deflection below the maximum, there are two mathematical solutions: the weak shock, with the smaller beta, and the strong shock. The weak shock is the one seen in practice. Beyond the maximum deflection for a given Mach number, no attached solution exists and the shock detaches into a bow shock, standing off from the surface rather than sitting on it.
The theta-beta-Mach relation
The theta-beta-Mach relation is the equation at the heart of oblique shock analysis. It links three quantities: the flow deflection theta, the shock angle beta, and the upstream Mach number. An oblique shock forms when a supersonic flow is turned by a wedge or a concave corner, and the relation states the angle through which the flow turns for a given shock angle at a given Mach number. Because the equation is implicit in beta, it is normally solved numerically rather than by hand.
For each Mach number and deflection below the maximum, the equation returns two mathematical solutions: the weak shock, with the smaller beta, and the strong shock. The weak shock is the one seen in practice, so a calculator solves for that root first. If the requested deflection exceeds the maximum for the Mach number, no attached solution exists and the shock detaches into a bow shock.
Once beta is known, the rest follows from the normal-shock relations. The upstream Mach number is resolved into its component normal to the shock, M1 sin beta, and the standard normal-shock formulas are applied to that component. The downstream Mach number and the pressure and temperature ratios come from this normal component, then the downstream Mach is converted back to the flow direction. This two-step procedure — solve the theta-beta-Mach relation for beta, then apply the normal-shock relations to the normal Mach component — is what the calculator automates.
A worked case makes the procedure concrete. Take Mach 2 with a 10 degree deflection, the classic NACA 1135 case. Solving the relation for the weak root gives a shock angle of 39.31 degrees. The normal component is then M1 sin beta, and the normal-shock relations applied to it yield a downstream Mach number of 1.64, a pressure ratio of 1.71 and a temperature ratio of 1.17. Two more cases from the same source show how the numbers move: at Mach 3 with a 20 degree deflection, beta is 37.76 degrees, the downstream Mach number is 1.99 and the pressure ratio is 3.77; at Mach 1.5 with an 8 degree deflection, beta is 52.57 degrees and the downstream Mach number is 1.21.
Notice in these examples that a larger deflection at a higher Mach number does not simply raise the shock angle — the Mach 3, 20 degree case has a smaller beta than the Mach 2, 10 degree case, while its pressure ratio is more than double. The relation ties all three variables together, which is why a calculator is the practical way to work it.
Weak vs strong shocks and detachment
For any given supersonic Mach number, the theta-beta-Mach relation links three quantities: the flow deflection theta, the shock angle beta and the upstream Mach number. Below a certain deflection limit, that relation returns two mathematical solutions for the same Mach number and deflection. The weak shock has the smaller shock angle and is the one seen in practice; the strong shock has the larger shock angle. The two cases below show how far apart the solutions can sit in terms of downstream flow and pressure rise.
At Mach 2 with a 10 degree deflection, the weak oblique shock stands at 39.31 degrees, the downstream Mach number is 1.64, the pressure ratio is 1.71 and the temperature ratio is 1.17 — the classic NACA 1135 case. At Mach 3 with a 20 degree deflection, the weak solution gives a shock angle of 37.76 degrees, a downstream Mach number of 1.99 and a pressure ratio of 3.77. A third data point shows the same pattern at a lower speed: at Mach 1.5 with an 8 degree deflection, beta is 52.57 degrees and the downstream Mach number is 1.21. In each case the flow remains supersonic after the weak shock, but it is slowed and compressed.
The maximum-deflection limit is the boundary between attached and detached flow. For each Mach and deflection below the maximum there are two solutions, weak and strong. Beyond the maximum deflection for the Mach number, no attached solution exists and the shock detaches into a bow shock. The stronger the upstream Mach number and the larger the turning demanded of the flow, the closer the geometry comes to that limit.
A detached bow shock is not a single straight oblique shock but a curved shock standing off the body. Because the flow behind it has passed through a much stronger compression than an attached weak shock would produce, the consequences for drag and heating are significant: a bow shock raises pressure losses and aerodynamic drag, and the strong compression heats the flow and the surface behind it. That is why the maximum-deflection limit matters in design — pushing a wedge or corner past it trades an efficient attached oblique shock for a detached bow shock.
| Case | Deflection (deg) | Shock angle beta (deg) | Downstream Mach | Pressure ratio | Temperature ratio |
|---|---|---|---|---|---|
| Mach 2 | 10 | 39.31 | 1.64 | 1.71 | 1.17 |
| Mach 3 | 20 | 37.76 | 1.99 | 3.77 | — |
| Mach 1.5 | 8 | 52.57 | 1.21 | — | — |
Where oblique shocks are used
Supersonic intakes are the most familiar home for the oblique shock. A ramjet, a scramjet, or a supersonic aircraft inlet usually begins with one or more compression ramps, each of which turns the incoming flow and sets up an oblique shock. The shocks raise the pressure and temperature of the air before it reaches the combustor or the engine face, so the inlet can trade speed for compression instead of relying on a mechanical compressor alone. Because the flow is turned by a fixed or movable surface, the theta-beta-Mach relation is the working tool: it links the flow deflection theta, the shock angle beta and the upstream Mach number, and it tells the designer what angle a given ramp will produce at a given flight Mach number.
Wedge airfoils and other sharp supersonic shapes use the same physics. When a supersonic stream meets a wedge or a concave corner, the flow cannot turn smoothly, so an oblique shock forms and the flow is deflected. On a wedge airfoil, the leading edge produces a shock on each compression side and an expansion on each convex side, and the pressure difference across the surfaces is what generates lift. The same geometry appears in compression corners inside ducts, on external stores, and at the lips of inlets. In each case the shock angle and the downstream conditions depend on the deflection and the upstream Mach number, which is why a calculator built on the theta-beta-Mach relation is useful for quick design checks.
Shock-on-lip design is a related application. An inlet is often shaped so that the oblique shock from its compression ramp lands exactly on the cowl lip at the design Mach number. If the shock sits on the lip, the captured stream tube is matched to the inlet and the flow enters cleanly. Off-design, the shock may move ahead of or behind the lip, changing the captured mass flow and the pressure recovery. Getting the ramp angle and the lip position right therefore depends on predicting the shock angle accurately, and the weak-shock solution is the one normally used because it is the one seen in practice.
The calculator assumes a calorically perfect gas with the gamma you set, and 1.4 is the standard value for air. That assumption keeps the relations simple and is accurate enough for the usual preliminary estimates. As a check on the numbers, the classic NACA 1135 case of Mach 2 with a 10 degree deflection gives a weak shock angle of 39.31 degrees, a downstream Mach number of 1.64, a pressure ratio of 1.71 and a temperature ratio of 1.17. Mach 3 with a 20 degree deflection gives beta of 37.76 degrees, downstream Mach 1.99 and a pressure ratio of 3.77, while Mach 1.5 with an 8 degree deflection gives beta of 52.57 degrees and downstream Mach 1.21.
FAQs
What is an oblique shock?
An oblique shock is a shock wave inclined to the flow. It forms when supersonic flow is turned by a wedge or corner. Across the shock, the flow slows, changes direction, and its pressure and temperature rise. Because the shock is angled rather than perpendicular to the flow, the flow can remain supersonic downstream, unlike a normal shock.
How is the shock angle calculated?
The shock angle comes from the theta-beta-Mach relation, which links the flow deflection angle, the shock angle, and the upstream Mach number. For a given Mach number and deflection, this calculator solves that relation for the weak root using a bisection method, so the reported shock angle is the weak-shock solution.
What is the shock angle for Mach 2 at 10 degrees deflection?
For Mach 2 with a 10 degree deflection, the weak-shock angle is about 39.31 degrees. Downstream of the shock, the Mach number is 1.64 and the pressure ratio across the shock is 1.71. These values come from the theta-beta-Mach relation for that Mach number and deflection.
What is the difference between weak and strong oblique shocks?
For the same Mach number and deflection there are two solutions. The weak shock has the smaller shock angle and usually keeps the flow supersonic. The strong shock sits at a larger angle, is closer to a normal shock, and makes the flow subsonic. This calculator reports the weak root.
What happens if the deflection is too large?
Each Mach number has a maximum deflection for which an attached oblique shock can exist. Past that maximum deflection, the shock detaches from the wedge and becomes a curved bow shock. The theta-beta-Mach relation no longer gives an attached-shock solution at that Mach number and deflection.
Does the flow stay supersonic after an oblique shock?
After a weak oblique shock, usually yes. For example, Mach 2 with 10 degrees deflection exits at Mach 1.64, still supersonic. After a strong oblique shock, the flow becomes subsonic instead, because the strong shock is closer to a normal shock and slows the flow more.