When you’re laying out a supersonic inlet, ramp, or designing around a hypersonic forebody, oblique shock waves aren’t just a detail—they control your pressure recovery and structural loads. Get the shock angle, downstream Mach, or pressure ratio wrong and you lose performance or risk damaging the structure. This Oblique Shock Interactive Calculator does the grunt work for you: put in upstream Mach, deflection angle, (or shock angle), specific heat ratio, and you’ll get shock angle, downstream Mach, pressure, temperature, and density ratios, plus flow deflection. Areas like scramjet inlets, supersonic intakes, and wind tunnel design all need these calculations. The page shows the basic θ-β-M equations, a detailed worked numerical example, background theory, and an FAQ with real-world context.
What is an oblique shock?
Oblique shocks happen when supersonic flow hits a sharp angle, like a wedge or ramp, and gets turned, compressed, and slowed—but not brought to rest. Where a normal shock kills most of the speed, oblique shocks turn the flow more gently, leave it moving fast (sometimes still supersonic), and stand at an angle instead of straight across the flow.
Simple Explanation
If you blow supersonic air at a ramp, the airflow can't gradually turn the corner, so it forms a sudden kink—a very thin shock wave at an angle. Steeper ramps make stronger shocks. Go too steep and the shock can’t stay attached; it peels away and forms a bow shock ahead of the ramp.
— Browse all 1000+ Interactive Calculators
Table of Contents
How to Use This Calculator
- Pick your goal in the dropdown—shock angle, downstream Mach, ratios, deflection angle, or all properties.
- Enter upstream Mach number M₁ (needs to be greater than 1.0) and the specific heat ratio γ (use 1.4 for air unless you have reason to change it).
- Type in the deflection angle θ (in degrees), or if you’re in “Find Deflection Angle” mode, enter shock angle β instead.
- Hit Calculate. You’ll get your answer right away.
Simple Example
Upstream Mach number M₁ = 2.0, deflection angle θ = 10°, γ = 1.4 (air).
Result: Shock angle β ≈ 39.3°, downstream Mach M₂ ≈ 1.64, pressure ratio p₂/p₁ ≈ 2.05, temperature ratio T₂/T₁ ≈ 1.30, density ratio ρ₂/ρ₁ ≈ 1.58. Shock type: weak (downstream flow still supersonic).
Oblique Shock Diagram
Oblique Shock Calculator
This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.
Oblique Shock interactive visualizer
Change the upstream Mach or deflection angle and see right away how the shock angle, downstream Mach, and pressure ratio move. Good for getting an intuition for how sensitive the flow properties are to angle and speed.
SHOCK ANGLE β
39.3°
DOWNSTREAM M₂
1.64
PRESSURE RATIO
2.05
FIRGELLI Automations — Interactive Engineering Calculators
Governing Equations
Shock Angle Relation (θ-β-M)
Use the formula below to calculate the oblique shock angle from upstream Mach number, deflection angle, and specific heat ratio.
tan(θ) = 2 cot(β) · [(M₁² sin²(β) - 1) / (M₁²(γ + cos(2β)) + 2)]
Where:
- θ = flow deflection angle (radians or degrees)
- β = oblique shock wave angle relative to upstream flow (radians or degrees)
- M₁ = upstream Mach number (dimensionless)
- γ = specific heat ratio (1.4 for air at standard conditions)
Normal Mach Number Component
Use the formula below to calculate the normal component of the upstream Mach number.
M₁ₙ = M₁ sin(β)
Where:
- M₁ₙ = normal component of upstream Mach number (dimensionless)
Downstream Mach Number
Use the formula below to calculate the downstream Mach number after the oblique shock.
M₂² = [1 + ((γ-1)/2)M₁ₙ²] / [γM₁ₙ² - (γ-1)/2] · sin²(β - θ)-1
Where:
- M₂ = downstream Mach number (dimensionless)
Pressure Ratio
Use the formula below to calculate the static pressure ratio across the oblique shock.
p₂/p₁ = 1 + (2γ/(γ+1))(M₁ₙ² - 1)
Where:
- p₂ = downstream static pressure (Pa)
- p₁ = upstream static pressure (Pa)
Temperature Ratio
Use the formula below to calculate the static temperature ratio across the oblique shock.
T₂/T₁ = (p₂/p₁) · [(2 + (γ-1)M₁ₙ²) / ((γ+1)M₁ₙ²)]
Where:
- T₂ = downstream static temperature (K)
- T₁ = upstream static temperature (K)
Density Ratio
Use the formula below to calculate the density ratio across the oblique shock.
ρ₂/ρ₁ = (p₂/p₁) / (T₂/T₁) = ((γ+1)M₁ₙ²) / (2 + (γ-1)M₁ₙ²)
Where:
- ρ₂ = downstream density (kg/m³)
- ρ₁ = upstream density (kg/m³)
Theory & Practical Applications
Physical Mechanism of Oblique Shocks
Oblique shocks show up any time supersonic flow turns into itself—think ramps, corners, or wedges. The basic breakdown is simple: the component of velocity across the shock (normal direction) acts just like a normal shock, while the component along the face stays constant. So, to analyze it, you decompose the upstream flow into normal and tangential parts. Most of the property jumps (pressure, temperature, density) ride on the normal portion; the tangent part passes straight through. The θ-β-M formula isn’t an explicit solution; you’ll have to solve for β numerically if you know the upstream Mach and deflection angle.
There’s always a limit to how much you can turn the flow and still keep the shock attached—the “maximum deflection angle,” θ_max, given your Mach. Past that, the shock detaches and becomes a bow shock, which increases losses and can trigger separation. As Mach gets bigger, θ_max drops, creeping toward the Mach angle. For given inputs under θ_max, you always get two β solutions: a "weak" shock (smaller jump, downstream flow stays supersonic) and a "strong" shock (bigger jump, flow can go subsonic). For most open flow setups, you only see the weak shock—flows naturally avoid the strong solution unless you build a geometry that forces it or apply enough back pressure.
Simple Example
Upstream Mach number M₁ = 3.0, deflection angle θ = 20°, γ = 1.4 (air).
Result: Shock angle β ≈ 37.8°, downstream Mach M₂ ≈ 2.00, pressure ratio p₂/p₁ ≈ 4.50, temperature ratio T₂/T₁ ≈ 1.69, density ratio ρ₂/ρ₁ ≈ 2.66. Shock type: weak (downstream remains supersonic).
Supersonic Inlet Design and Compression Systems
Supersonic inlets, especially for engines above Mach 1.5, live or die by shock management. Run an intake with just a normal shock at Mach 3 and your pressure recovery takes a nose dive—bad for engine performance. Better results come from breaking up the total pressure jump into several oblique shocks before finally dropping through a normal shock. Each oblique step only compresses the normal component, so losses are less severe.
On a two-ramp inlet, you might use a 10° ramp to set the first oblique shock and a second (maybe smaller) ramp for another, then catch the final compression with a normal shock as slow as possible. This split approach can keep 85–90% total pressure at Mach 3, compared to barely over 70% for just a normal shock. The classic SR-71 inlet did this with a movable spike and carefully positioned multiple shocks—precision actually matters, and even a millimeter or two off can spoil pressure recovery. Scramjets often use several small ramps (like 7°, 6°, 5°, and 4° back-to-back) to squeeze the maximum energy out with the fewest losses; it’s all about distribution. This calculator lets you step through various combinations quickly at the start of a project and sort out your initial inlet geometry before spending hours with CFD or wind tunnel time. If you need more calculators, check our engineering calculator library.
Detached Shocks and Flow Separation
If the ramp or wedge goes too steep for the Mach number, the shock won’t stay attached anymore. Instead, you get a bow shock that sits ahead of the surface, especially near the nose or leading edge. In the center, the flow behind the shock often goes subsonic—this can impact upstream conditions and change the pressure field on the body. Blunt-nosed vehicles actually use this effect on purpose—a bow shock standoff means hot gas sits between the shock and heat shield, radiating energy before it hits the hull. For example, the Shuttle’s nose had a bow shock several centimeters in front at Mach 25, which reduced the heating rate to the tiles compared with a sharp body.
Worked Example: Supersonic Wind Tunnel Nozzle Design
Suppose you need to set up a Mach 4.5 wind tunnel and want to know what happens to air as it turns over a 15° wedge inside the test section—to simulate an inlet ramp. Main goal: check the oblique shock and downstream properties, and make sure the shock stays attached. Assume γ = 1.4. Set upstream p₁ = 25 kPa, T₁ = 210 K.
Given:
- Upstream Mach number: M₁ = 4.5
- Wedge deflection angle: θ = 15°
- Specific heat ratio: γ = 1.4
- Upstream static pressure: p₁ = 25,000 Pa
- Upstream static temperature: T₁ = 210 K
Step 1: Check for attached shock condition
First check Mach angle (μ = arcsin(1/4.5) = 12.84°) and the approximate θ_max for M₁ = 4.5 (about 24.2° for γ = 1.4). Since the 15° wedge is under θ_max, the shock will attach.
Step 2: Solve for shock angle β (weak shock solution)
Using the θ-β-M equation, start with a guess (μ + θ, here about 27.8°) and iterate: you end up with β = 27.38°.
Step 3: Calculate normal Mach number component
M₁ₙ = M₁ sin(β) = 4.5 × sin(27.38°) ≈ 2.067
Step 4: Apply normal shock relations
Pressure ratio: p₂/p₁ = 1 + (2γ/(γ+1))(M₁ₙ² - 1) ≈ 4.818, so p₂ ≈ 120,450 Pa
Temperature ratio: T₂/T₁ = (p₂/p₁) × [(2 + (γ−1)M₁ₙ²)/((γ+1)M₁ₙ²)] ≈ 1.699, so T₂ = 357 K
Density ratio: ρ₂/ρ₁ = (p₂/p₁)/(T₂/T₁) ≈ 2.835
Step 5: Calculate downstream Mach number M₂
Downstream normal Mach: M₂ₙ² = [1 + ((γ−1)/2)M₁ₙ²] / [γM₁ₙ² − (γ−1)/2] ≈ 0.3207, so M₂ₙ ≈ 0.566
M₂ = M₂ₙ / sin(β − θ) ≈ 2.641
Results Summary:
- Shock angle β ≈ 27.38° (weak solution)
- Downstream Mach M₂ ≈ 2.64 (still supersonic)
- Pressure ratio p₂/p₁ ≈ 4.82
- Temperature ratio T₂/T₁ ≈ 1.70
- Density ratio ρ₂/ρ₁ ≈ 2.83
Engineering Interpretation: On a 15° ramp at Mach 4.5, the first oblique shock is weak, stays attached, and leaves the downstream flow at Mach 2.64—good for scramjet or supersonic intakes. The pressure and temperature step up, but not as much as they would if you used a normal shock, so you recover more total pressure. Lower entropy rise means your real world efficiency is higher. At this point, a test engineer can deploy sensors, adjust the test piece, and go run the experiment with solid expectations for what the flow properties should be.
Hypersonic Flight Considerations
At hypersonic speeds (Mach 5+), the shock angle β shrinks toward the Mach angle, meaning you can no longer use big ramps or deflections. Just a few degrees of wedge can cause extreme heating and the flow, after the shock, can reach thousands of Kelvin. At this point, air starts vibrating on a molecular level, giving up the simple “γ = 1.4” logic; actual γ drops, and oxygen even starts to dissociate at high temperature—so perfect gas assumptions become rough, especially after Mach 7 or so. The calculator gives you a first-cut answer, but if you’re working up around Mach 8+, especially for flight or reentry, you’ll want to check against models that include real gas effects and radiation.
Thick boundary layers can also interact with shocks at high altitudes—once the boundary layer thickness matches the shock standoff distance, classical assumptions break down. This can’t be ignored in hypersonic reentry, where interaction zones become huge compared to body length, and the flow is no longer simple inviscid shock theory.
Computational Methods and Solution Algorithms
You can’t solve θ-β-M for shock angle β directly (it’s transcendental), so use Newton-Raphson or similar iterative schemes; four to six iterations usually get good accuracy if you start close to the expected answer. A typical guess: start with β = μ + θ/2 to bracket the solution. Beware near θ_max—the math goes stiff and convergence can fail, which usually signals the shock is about to detach. It’s possible to get roots analytically using the cubic form, but you risk numerical trouble near the maximum deflection boundary. Most CFD codes nowadays capture shocks numerically anyway—the discontinuity emerges naturally once you solve the conservation laws on a mesh. That means for complicated geometries or intersecting shocks, brute-force simulation is usually the fastest way after hand calculation narrows the problem space.
Frequently Asked Questions
▼ What is the difference between weak and strong oblique shock solutions?
▼ Why do oblique shocks produce less total pressure loss than normal shocks at the same Mach number?
▼ What happens physically when the deflection angle exceeds the maximum and the shock detaches?
▼ How do real gas effects at hypersonic speeds affect oblique shock calculations?
▼ Can oblique shocks occur in liquids or is this purely a gas dynamics phenomenon?
▼ Why does the maximum deflection angle θ_max decrease as Mach number increases in the supersonic regime?
Free Engineering Calculators
Explore our complete library of free engineering and physics calculators.
Browse All Calculators →🔗 Explore More Free Engineering Calculators
- Cavitation Check Calculator — NPSH Available vs Required
- Pipe Flow Velocity Calculator
- Hydraulic Pump Flow Rate Calculator
- Pneumatic Valve Cv Flow Coefficient Calculator
- Pump Horsepower Calculator
- Cv Flow Calculator
- Froude Number Calculator
- Bolt Torque Calculator — Preload and Clamp Force
- Water Hammer Pressure Calculator
- Velocity Jacobian Matrix Calculator
About the Author
Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.
📹 Video Walkthrough — How to Use This Calculator
📹 Video Walkthrough — How to Use This Calculator
Need to implement these calculations?
Explore the precision-engineered motion control solutions used by top engineers.
