Compressible Flow Calculator
Isentropic flow relations T/T₀, P/P₀, ρ/ρ₀, A/A* and normal shock M₂, P₂/P₁, T₂/T₁ from Mach number and γ, with isentropic flow table
This free online compressible flow calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Supports both metric (SI) and imperial units with built-in unit selection dropdowns on every input field, so you can work in whatever units your problem provides. Designed for engineering students and professionals working through coursework, design projects, or quick reference calculations.
Compressible Flow Calculator
Isentropic flow relations and normal shock properties. Enter Mach number and γ.
Isentropic Flow Relations (M = 2)
T/T₀
0.55556
P/P₀
0.12780
ρ/ρ₀
0.23005
A/A*
1.68750
Normal Shock (M₁ = 2)
M₂ (downstream)
0.57735
P₂/P₁
4.50000
T₂/T₁
1.68750
ρ₂/ρ₁
2.66667
Isentropic Flow Table (γ = 1.4)
| M | T/T₀ | P/P₀ | ρ/ρ₀ | A/A* |
|---|---|---|---|---|
| 0.1 | 0.9980 | 0.9930 | 0.9950 | 5.8218 |
| 0.2 | 0.9921 | 0.9725 | 0.9803 | 2.9635 |
| 0.3 | 0.9823 | 0.9395 | 0.9564 | 2.0351 |
| 0.4 | 0.9690 | 0.8956 | 0.9243 | 1.5901 |
| 0.5 | 0.9524 | 0.8430 | 0.8852 | 1.3398 |
| 0.6 | 0.9328 | 0.7840 | 0.8405 | 1.1882 |
| 0.7 | 0.9107 | 0.7209 | 0.7916 | 1.0944 |
| 0.8 | 0.8865 | 0.6560 | 0.7400 | 1.0382 |
| 0.9 | 0.8606 | 0.5913 | 0.6870 | 1.0089 |
| 1.0 | 0.8333 | 0.5283 | 0.6339 | 1.0000 |
| 1.2 | 0.7764 | 0.4124 | 0.5311 | 1.0304 |
| 1.4 | 0.7184 | 0.3142 | 0.4374 | 1.1149 |
| 1.6 | 0.6614 | 0.2353 | 0.3557 | 1.2502 |
| 1.8 | 0.6068 | 0.1740 | 0.2868 | 1.4390 |
| 2.0 | 0.5556 | 0.1278 | 0.2300 | 1.6875 |
| 2.5 | 0.4444 | 0.0585 | 0.1317 | 2.6367 |
| 3.0 | 0.3571 | 0.0272 | 0.0762 | 4.2346 |
| 4.0 | 0.2381 | 0.0066 | 0.0277 | 10.7188 |
| 5.0 | 0.1667 | 0.0019 | 0.0113 | 25.0000 |
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Compressible Flow Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Compressible Flow Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
Formula Reference
Compressible Flow Calculator Formula
See calculator inputs for the governing equation
Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.
When to Use This Calculator
- •Use the Compressible Flow Calculator when solving homework or exam problems that require quick numerical verification of your hand calculations — instant feedback helps identify arithmetic errors before they propagate.
- •Use it during the early design phase to rapidly iterate on parameters and narrow down feasible configurations before committing time to detailed finite element simulations or full design packages.
- •Use it when reviewing a colleague's calculation or checking a vendor's data sheet for plausibility — a quick sanity check can prevent costly downstream errors.
- •Use it to generate reference data for a technical report or presentation without manual computation, ensuring consistent, reproducible numbers throughout the document.
- •Use it in the field when a quick estimate is needed and a full engineering software package is not available.
About This Calculator
The Compressible Flow Calculator is a precision engineering calculation tool designed for students, engineers, and technical professionals. Isentropic flow relations T/T₀, P/P₀, ρ/ρ₀, A/A* and normal shock M₂, P₂/P₁, T₂/T₁ from Mach number and γ, with isentropic flow table All calculations are performed using established engineering formulas from the relevant scientific literature and standards. Inputs support both metric (SI) and imperial unit systems, with unit conversion handled automatically — simply select your preferred unit from the dropdown next to each field. Results are computed instantly in the browser without sending data to a server, ensuring both speed and privacy. This calculator is intended as a supplementary tool for learning and design exploration; always verify results against authoritative references for safety-critical applications.
The Theory Behind It
Compressible flow is gas flow where density changes significantly with pressure and velocity changes. The Mach number M = V/a is the key dimensionless parameter, where a = √(γRT) is the local speed of sound (about 340 m/s for air at 15°C). Flow regimes: subsonic (M < 0.3, density variations < 5%, usually treated as incompressible), transonic (0.3-0.8, compressibility matters), supersonic (0.8-5), and hypersonic (M > 5, real-gas effects become important). For isentropic flow of an ideal gas with constant specific heat ratio γ, the property ratios relative to the stagnation state (where V = 0) are: T₀/T = 1 + (γ-1)/2 · M², P₀/P = (T₀/T)^(γ/(γ-1)), ρ₀/ρ = (T₀/T)^(1/(γ-1)). At M = 1 (sonic conditions), T₀/T = (γ+1)/2 = 1.2 (for air γ = 1.4), P₀/P = 1.893, ρ₀/ρ = 1.577. These are the critical conditions at a converging nozzle throat for choked flow. For a converging-diverging (CD) nozzle, the area ratio A/A* relates to Mach number through A/A* = (1/M)·[(2/(γ+1))·(1 + (γ-1)/2 · M²)]^((γ+1)/(2(γ-1))). This function has a minimum at M = 1 (A/A* = 1 at the throat) and grows on both sides, letting the subsonic-to-supersonic transition occur through the throat. Across a normal shock wave, flow jumps discontinuously from supersonic to subsonic with increases in pressure, temperature, and entropy, and a decrease in velocity. The Rankine-Hugoniot shock relations give the state ratios: M₂² = (M₁² + 2/(γ-1)) / (2γ/(γ-1) · M₁² − 1), P₂/P₁ = 1 + 2γ/(γ+1) · (M₁² − 1), etc. The calculator handles isentropic flow relations and normal shock properties for γ = 1.4 (air) and other specific heat ratios.
Real-World Applications
- •Rocket and jet nozzle design: compressible flow analysis gives the area ratio, throat conditions, and exit Mach number for converging-diverging nozzles in rockets and supersonic wind tunnels.
- •High-altitude aircraft: at altitudes above 10-15 km, outside air density is low but speeds are high, putting Mach number in the transonic/supersonic range. Compressible flow analysis replaces incompressible aerodynamics.
- •Gas pipeline design for natural gas: at pipeline pressures above 1 MPa, compressible flow equations account for density changes along the pipe, required for accurate pressure drop and compressor sizing.
- •Shock wave analysis: sonic boom from supersonic aircraft, explosions, blast waves, and shock tubes all involve normal or oblique shocks analyzed with shock relations.
- •Choked flow safety analysis: safety relief valves and orifices reach choked flow at critical pressure ratio, setting the maximum mass flow rate. Design uses choked flow equations for worst-case over-pressure scenarios.
Frequently Asked Questions
What is the Mach number?
Mach number M = V/a, where V is flow velocity and a is the local speed of sound. For air at 15°C, a ≈ 340 m/s, so M = 1 corresponds to 340 m/s or 1225 km/h. M < 1 is subsonic, M = 1 is sonic, M > 1 is supersonic. Mach number determines the flow regime: incompressible treatment is valid for M < 0.3; compressibility must be accounted for above that.
When does flow become compressible?
For practical purposes, when M > 0.3. Below this, density changes are less than 5%, and incompressible analysis is accurate. Above M = 0.3, density variations become significant and compressible flow equations must be used. The transonic regime (M = 0.8-1.2) has complex phenomena like shock waves and boundary layer interactions. For most subsonic commercial aircraft at cruise (M ≈ 0.85), compressible analysis with local shock corrections is needed.
What is choked flow?
Choked flow occurs in a converging nozzle when the throat velocity reaches the local speed of sound (M = 1). At this condition, the mass flow rate reaches a maximum and cannot increase regardless of further decreases in downstream pressure. Choked flow limits the maximum flow through safety relief valves, rocket throats, and other restrictions — important for sizing safety equipment where worst-case flow must be known.
What's the speed of sound in air?
a = √(γRT), where γ = 1.4 for air, R = 287 J/(kg·K), and T is absolute temperature. At 15°C (288 K): a = √(1.4 × 287 × 288) = √(115,762) = 340.3 m/s. At 0°C: 331.3 m/s. At −40°C (typical high-altitude temperature): 306 m/s. The speed of sound depends only on temperature for a given gas, not on pressure or density.
What happens across a normal shock?
Flow upstream is supersonic (M₁ > 1); flow downstream is subsonic (M₂ < 1). Pressure increases (P₂ > P₁), temperature increases (T₂ > T₁), density increases (ρ₂ > ρ₁), velocity decreases. Entropy increases (the shock is irreversible). For weak shocks (M₁ slightly above 1), the jumps are small; for strong shocks (M₁ > 3), the pressure can increase by factors of 10 or more. The Rankine-Hugoniot relations give exact ratios as functions of M₁ and γ.
Related Calculators
Reynolds Number Calculator
Calculate Reynolds number and classify flow as laminar, transitional, or turbulent with common fluid presets
Bernoulli Equation Calculator
Solve for any unknown in the Bernoulli equation given pressure, velocity, and elevation at two points
Darcy-Weisbach Calculator
Calculate head loss and pressure drop in pipes using the Darcy-Weisbach equation with friction factor
Moody Chart Calculator
Calculate Darcy friction factor from Reynolds number and relative roughness using Colebrook-White and Swamee-Jain
Pump Power Calculator
Calculate hydraulic power, shaft power, and NPSH for centrifugal pumps from flow rate, head, and efficiency
Orifice Flow Calculator
Calculate volumetric flow rate through an orifice from discharge coefficient, area, and pressure drop