Mach Number Calculator (Speed & Temperature)
What this Mach number calculator does
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:
- Object speed (v) in meters per second (m/s)
- Ambient (outside) air temperature in °C
It also reports the speed of sound used in the calculation and classifies the result into common flight/flow regimes (subsonic, transonic, supersonic, hypersonic).
Key idea: Mach depends on temperature
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.
Formulas used
Mach number is defined as:
Formula: M = v / a
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:
Formula: a = 331.3 + 0.606 T
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.)
How to interpret your result
Mach number is frequently grouped into regimes that correspond to qualitatively different compressible-flow behavior:
- Subsonic (M < 0.8): compressibility effects are usually small.
- Transonic (0.8 ≤ M < 1.2): mixed subsonic/supersonic flow may occur; shocks can form and drag can rise rapidly.
- Supersonic (1.2 ≤ M < 5): sustained supersonic flow; shock waves and expansion fans dominate many design considerations.
- Hypersonic (M ≥ 5): high-temperature effects, strong shocks, and real-gas chemistry can become important.
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.
Worked example
Problem: An aircraft is traveling at 250 m/s in air at 15 °C. What is its Mach number?
- Compute speed of sound:
Formula: a = 331.3 + 0.606 × 15
That gives a ≈ 340.4 m/s.
- Compute Mach number:
Formula: M = 250 / 340.4
So M ≈ 0.735, which is subsonic.
Sensitivity & quick reference tables
1) Speed of sound vs. temperature (dry air approximation)
| Temperature (°C) | Speed of sound a (m/s) |
|---|---|
| -50 | 301.0 |
| -20 | 319.2 |
| 0 | 331.3 |
| 15 | 340.4 |
| 30 | 349.5 |
2) Typical Mach regimes and what they imply
| 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. |
Assumptions and limitations (read before using)
- Dry air approximation: Uses a = 331.3 + 0.606T. Humidity and CO₂ concentration can change a slightly.
- Temperature only: Does not model altitude directly. Altitude matters mainly because it changes temperature (and, in advanced models, gas properties).
- Local conditions: Uses the temperature you enter as the local ambient temperature where the object is moving. Atmospheric gradients, jet exhaust, or heating near surfaces are not considered.
- Not for real-gas/hypersonics design: At very high Mach numbers, dissociation, ionization, and non-ideal effects can make simple speed-of-sound estimates inaccurate.
- Input domain: If you enter very low temperatures, the linear model can predict non-physical values. The calculator will warn if the computed speed of sound is ≤ 0.
FAQ
What does Mach 1 mean?
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.
Introduction: Why does temperature affect Mach number so much?
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.
How to use: Should I use true airspeed or ground speed?
Use speed relative to the surrounding air (airspeed/true airspeed). Ground speed includes wind effects, which can change Mach significantly.
Arcade Mini-Game: Mach Number Calculator (Speed & Temperature) Calibration Run
Use this quick arcade run to practice separating useful scenario inputs from common planning mistakes before you rely on the calculator output.
Start the game, then use your pointer or arrow keys to catch useful inputs and avoid bad assumptions.
