Mach number (M) is a dimensionless way to express how fast an object is moving compared with the local speed of sound in the surrounding fluid. This calculator estimates Mach number in dry air from:
It also reports the speed of sound used in the calculation and classifies the result into common flight/flow regimes (subsonic, transonic, supersonic, hypersonic).
Because the speed of sound changes with temperature, the same true airspeed can correspond to different Mach numbers on a cold day versus a warm day. In the lower atmosphere, temperature is the dominant factor; humidity and gas composition also matter but are not included in this simple model.
Mach number is defined as:
To estimate the speed of sound in dry air as a function of temperature in Celsius, this page uses the common near-surface linear approximation:
where a is in m/s and T is in °C. (For more advanced work you’ll often see the ideal-gas form with temperature in Kelvin, but this calculator intentionally sticks to a simple, practical approximation.)
Mach number is frequently grouped into regimes that correspond to qualitatively different compressible-flow behavior:
Important: Mach number depends on the air-relative speed (airspeed) and the local temperature of the air the object is moving through. If you only know ground speed, wind can significantly change the air-relative speed and therefore Mach.
Problem: An aircraft is traveling at 250 m/s in air at 15 °C. What is its Mach number?
That gives a ≈ 340.4 m/s.
So M ≈ 0.735, which is subsonic.
| Temperature (°C) | Speed of sound a (m/s) |
|---|---|
| -50 | 301.0 |
| -20 | 319.2 |
| 0 | 331.3 |
| 15 | 340.4 |
| 30 | 349.5 |
| Mach range | Regime | Common notes |
|---|---|---|
| < 0.8 | Subsonic | Compressibility often minor; many aircraft cruise here. |
| 0.8–1.2 | Transonic | Local shocks and drag rise; careful aerodynamic design needed. |
| 1.2–5 | Supersonic | Shock waves dominate; wave drag and heating increase. |
| ≥ 5 | Hypersonic | High-temperature effects; real-gas and chemistry can matter. |
Mach 1 means the object’s speed equals the local speed of sound in that air. Because the speed of sound changes with temperature, Mach 1 corresponds to different m/s at different temperatures.
In gases, the speed of sound scales with the square root of absolute temperature (and is well-approximated as nearly linear in °C over common weather ranges). Warmer air increases the speed of sound, so the same speed corresponds to a lower Mach number.
Use speed relative to the surrounding air (airspeed/true airspeed). Ground speed includes wind effects, which can change Mach significantly.