Oblique Shock Calculator

Analyze weak oblique shocks in supersonic flow with the theta-beta-M relation and normal-shock property equations.

Calculate oblique shock properties
Enter upstream Mach number, flow deflection, and the gas specific heat ratio.

About oblique shock waves

An oblique shock forms when a supersonic stream is turned into itself by a compression corner, wedge, or similar surface. Unlike a normal shock, its front stands at an angle to the incoming flow. The velocity component normal to that front experiences normal-shock changes, while the tangential component remains unchanged in the ideal inviscid model. This calculator solves the theta-beta-M relation for the weak attached-shock angle and then applies perfect-gas normal-shock equations to determine the downstream state. The three inputs describe the upstream condition and geometry. Upstream Mach number must exceed one because a stationary shock requires supersonic flow. Flow deflection is the angle through which the surface turns the stream. The specific heat ratio, conventionally called gamma, describes the gas; 1.4 is a common approximation for dry air near ordinary temperatures. The numerical solver searches above the Mach angle for the first valid root. That first root is the weak solution normally observed when the flow can adjust without a forced strong shock. Pressure, density, and temperature ratios compare downstream values with upstream values. Every ratio is dimensionless. A pressure ratio of 2 means static pressure has doubled across the shock. The downstream Mach number is reconstructed from the downstream normal component and the angle between the shock and deflected flow. Entropy rises across the shock, total pressure falls, and the flow slows even when its overall downstream Mach number remains supersonic. Increasing wedge angle generally strengthens these changes until the requested turning exceeds the maximum attached-shock angle. The equations assume steady, two-dimensional, adiabatic, inviscid flow of a calorically perfect gas with constant gamma. They do not model boundary layers, chemical reactions, high-temperature dissociation, three-dimensional effects, or curved shock structure. Near the attachment limit, small input changes can produce large differences and real shocks may detach ahead of the body. Use this tool for coursework, preliminary nozzle and inlet studies, and quick aerodynamic checks. Detailed vehicle design should rely on validated compressible-flow software, appropriate gas models, and experimental evidence.

Oblique shock examples

Typical air-flow cases show how Mach number and turning angle affect an attached weak shock.

InputsApproximate resultInterpretation
Mach 2, 10 degrees, gamma 1.4Shock 39.31 degrees; downstream Mach 1.64A moderate weak shock over a slender wedge.
Mach 3, 15 degrees, gamma 1.4Shock 32.24 degrees; pressure ratio 2.82Higher Mach flow produces a stronger compression.
Mach 2.5, 5 degrees, gamma 1.4Shock about 27.4 degreesA small turn places the shock near the Mach angle.

How to calculate an oblique shock

  1. Enter the supersonic upstream Mach number.
  2. Enter the angle through which the surface deflects the flow.
  3. Use the appropriate specific heat ratio, or retain 1.4 for ordinary air.
  4. Select Calculate Shock and review the shock angle and downstream property ratios.

Oblique shock FAQ

What is the weak shock solution?

The theta-beta-M relation can have weak and strong roots for the same attached geometry. The weak root has the smaller shock angle and is the solution most freely established external flows select.

Why can an attached-shock solution fail?

Each upstream Mach number has a maximum turning angle for an attached shock. Above it, the shock detaches and the simple straight oblique-shock model no longer describes the flow.

What value of gamma should I use?

A value of 1.4 is widely used for dry air at moderate temperature. Hot gases and other gas mixtures can require a different value or a variable-property model.

Are the pressure and temperature results absolute values?

No, they are downstream-to-upstream ratios and therefore have no units. Multiply each ratio by the corresponding upstream static property to obtain the downstream property.

Does total pressure remain constant?

No, an adiabatic shock conserves total enthalpy but generates entropy. Its stagnation pressure decreases even though the calculator displays static-property ratios.