Mach Number Calculator (Speed & Temperature)

Stephanie Ben-Joseph headshot Stephanie Ben-Joseph

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:

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:

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:

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 a=\gammaRT 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:

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?

  1. Compute speed of sound:

    a=331.3+0.606×15

    That gives a ≈ 340.4 m/s.

  2. Compute Mach number:

    M=250340.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)
-50301.0
-20319.2
0331.3
15340.4
30349.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)

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.

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.

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.

Inputs
Use air-relative speed (airspeed), not ground speed. Must be ≥ 0.
Local outside-air temperature where the object is moving.
Enter speed and temperature.

Embed this calculator

Copy and paste the HTML below to add the Mach Number Calculator (Speed to Mach) + Speed of Sound to your website.