Advertisement
Advertisement
PHYSICS

Mach Number Calculator — speed against the local speed of sound

Work out the Mach number from a speed and the air temperature, or find the speed that a given Mach number represents at that temperature.

Read only when you are solving for a speed. In the default mode it is the answer.
Temperature is the only property of the air that changes the speed of sound. Pressure and altitude matter only because they come with a temperature.
Defaults are dry air. Change them only if you are working in a different gas — helium, for instance, carries sound almost three times faster.
Mach number
 
 
0
Local speed of sound
0
Air temperature used
0
Speed in m/s
0
Flow regime
Tip: Mach number is a ratio, not a speed. The same true airspeed is a higher Mach number in cold air than in warm air, which is why an aircraft's Mach limit and its airspeed limit swap places as it climbs.
Advertisement

The Mach number calculator above compares a speed with the speed of sound in the air the object is actually moving through. That second number is not a constant. It falls as the air gets colder, which means the same true airspeed corresponds to a higher Mach number at altitude than it does near the ground, and it is the reason a figure in knots tells you very little about how close something is to the transonic region.

Arb Digital builds free calculators that each own one job. The boundary against a neighbouring tool is worth stating: the site's speed converter rescales between metres per second, knots, miles per hour and a nominal Mach factor using fixed conversion constants. This page does not use a fixed factor. It derives the local speed of sound from the air temperature you give it, or from the standard-atmosphere temperature at an altitude, and divides by that. For an airliner at 36,000 feet the two approaches differ by around fifteen per cent, which is the difference between a comfortable cruise and a buffet warning.

What This Mach Number Calculator Does

Mach number is the ratio of an object's speed to the speed of sound in the surrounding medium. It is dimensionless, and it is the number that governs compressibility effects — whether the air ahead of a body gets pushed aside smoothly, or whether it piles up because the pressure disturbance cannot outrun the body that is creating it.

The tool works in both directions. Give it a speed in any of five units and it returns the Mach number; give it a Mach number and it returns the speed. In both cases it first establishes the local speed of sound, either from a temperature you type or from the International Standard Atmosphere temperature profile at an altitude you specify.

It also names the flow regime, because the boundaries carry real physical meaning rather than being arbitrary labels. Below about Mach 0.8 the flow over a body is subsonic everywhere. Between roughly 0.8 and 1.2 it is transonic: some regions of the flow have gone supersonic while others have not, which is the most aerodynamically awkward band there is. Above 1.2 the flow is supersonic throughout, and above about Mach 5 it is conventionally called hypersonic, where the temperatures behind the shock become high enough to change the chemistry of the air itself.

How to Use It

  1. Choose your direction. Solving for Mach is the measurement case; solving for speed answers "how fast is Mach 0.85 here?".
  2. Decide where the temperature comes from. Use an altitude for a standard-atmosphere estimate, or type the real temperature if you have one — a measured value always beats a modelled one.
  3. Enter the speed in whatever unit you have it. Knots is the default because that is how airspeed is usually quoted, but all five options are exact conversions.
  4. Read the local speed of sound. It is the number doing all the work, and comparing it between two altitudes explains most of what is confusing about Mach.
  5. Check the regime label. Landing in the transonic band means compressibility effects dominate and simple aerodynamic reasoning stops being reliable.

The Formula: How Mach Number Is Calculated

Mach number is simply M = v ÷ a, where v is the speed of the object and a is the local speed of sound. OpenStax University Physics Volume 1, section 17.8 on shock waves, defines the Mach number as the speed of the source divided by the speed of sound, and describes how a sonic boom is produced by the shock wave sweeping along the ground rather than by the moment an aircraft first exceeds that speed.

The speed of sound in an ideal gas is a = √(γRT/M), where γ is the adiabatic index, R is the universal gas constant of 8.31446 J per mole per kelvin, T is the absolute temperature in kelvin and M is the molar mass. OpenStax University Physics Volume 1, section 17.2 on the speed of sound, gives this expression and states that at 20 °C the speed of sound in air is 343 m/s.

The key feature of that expression is that it contains temperature and nothing else that varies in ordinary air. Pressure and density both appear in an alternative form of the equation, but they appear in a ratio that is itself fixed by temperature for an ideal gas, so they cancel. This is why the speed of sound at 11,000 m is lower than at sea level despite the enormous pressure difference: it is the cold, not the thin air, that slows sound down.

Work the defaults as a check. At 10,000 m the standard atmosphere gives a temperature of 15 − 6.5 × 10 = −50 °C, which is 223.15 K. The speed of sound is √(1.4 × 8.31446 × 223.15 ÷ 0.0289645) = 299.5 m/s. A speed of 250 knots is 250 × 0.5144444 = 128.6 m/s, so the Mach number is 128.6 ÷ 299.5 = 0.429. The same 250 knots at sea level and 15 °C, where sound travels at 340.3 m/s, would be Mach 0.378.

Advertisement

Why the Temperature Matters More Than the Altitude

The altitude option on this page is a convenience that hides a model. What it actually does is look up a temperature from the International Standard Atmosphere: 15 °C at sea level, falling at 6.5 °C per kilometre up to the tropopause at 11,000 m, then constant at −56.5 °C through the lower stratosphere. Feed it 30,000 m and it uses the warming profile above 20,000 m.

Real air is frequently nothing like that. Tropopause height varies from around 8 km near the poles to 18 km over the tropics, and the temperature at a given flight level can differ from standard by fifteen degrees or more. A fifteen-degree error at cruise altitude moves the speed of sound by about three per cent, which moves the Mach number by the same. That is small but not nothing when the margin between cruise Mach and the critical Mach number is a few hundredths.

If you have a real outside air temperature, use it. The manual temperature mode exists precisely for that. The altitude mode is for when you have nothing else, and the answer it gives should be treated as an approximation carrying an unknown error rather than a precise figure. The site's air pressure at altitude calculator works the pressure side of the same standard atmosphere, and the air density calculator handles density including humidity.

Why Aircraft Have Two Different Speed Limits

This is the practical reason Mach number exists as a separate quantity rather than being folded into airspeed, and it explains a piece of aircraft operation that otherwise looks arbitrary. Structural loads on an airframe depend on dynamic pressure, which is proportional to air density times the square of the true airspeed. Compressibility effects depend on Mach number. These two constraints scale differently with altitude.

Low down, the air is dense and dynamic pressure is the binding constraint, so the limit is expressed as an indicated airspeed. High up, the air is thin so dynamic pressure is low, but the air is also cold so the speed of sound is low, and the Mach limit becomes the binding one. Somewhere in between the two limits cross, and above that crossover altitude an aircraft is flown to a Mach number rather than a speed.

At extreme altitude the gap between the low-speed stall and the high-speed Mach limit can narrow considerably, and the aerodynamic margin available to the crew shrinks with it. Where exactly that happens is a property of the specific aircraft, its weight and its configuration, and the figures come from that aircraft's flight manual — not from a general-purpose calculator. This page computes a physical ratio from a speed and a temperature. It is not an operational tool, it knows nothing about any particular aircraft, and no aircraft performance figure, speed limit or margin should be taken from it. Those come from the aircraft's own flight manual and from the operator's approved procedures.

What Happens Around Mach 1

The transonic band is where the simple picture breaks. Air accelerating over the curved upper surface of a wing moves faster than the free stream, so parts of the flow reach the speed of sound while the aircraft as a whole is still well below it. The Mach number at which that first happens is called the critical Mach number, and it is typically somewhere around 0.7 to 0.8 for a conventional wing.

Past that point a local region of supersonic flow forms and terminates in a shock wave. The shock causes an abrupt pressure rise that can separate the boundary layer, producing a sharp increase in drag, a loss of lift, and buffet as the separated flow shakes the structure. This is what was called the sound barrier, and it is a drag and control problem rather than any kind of physical wall.

Sweeping a wing back reduces the component of the airflow perpendicular to the leading edge, which is the component that matters for compressibility, and so raises the critical Mach number. That is the entire reason airliners have swept wings — not to look fast, but to push the onset of transonic drag rise far enough out that a useful cruise Mach number is available. The lift coefficient calculator and the drag force calculator both work the incompressible regime, and their assumptions weaken once the local flow approaches Mach 1.

Need a website that loads fast and actually works?

Arb Digital builds free tools like this one because useful pages earn attention. If you want tools, calculators or content built for your own audience, we can help.

Browse All Free Tools Talk to Arb Digital

Common Mistakes to Avoid

  • Treating Mach 1 as a fixed speed — it is 340 m/s at sea level in standard conditions and about 295 m/s in the lower stratosphere, and the difference is entirely due to temperature.
  • Using indicated airspeed as the object speed — the ratio needs true airspeed. Indicated airspeed understates the true value substantially at altitude.
  • Assuming pressure or density changes the speed of sound — in an ideal gas they appear as a ratio fixed by temperature and cancel out; only temperature is left.
  • Trusting a standard-atmosphere temperature as if measured — real air at a given altitude routinely differs from the model by more than ten degrees.
  • Reading a regime label as an aircraft limit — the labels describe the flow physics, not what any particular airframe is certified or safe to do.

Related Free Tools From Arb Digital

For a plain unit change with no temperature model, use the speed converter. Work the surrounding atmosphere with the air pressure at altitude calculator and the air density calculator, and convert a temperature first with the temperature converter. On the aerodynamic side, the lift coefficient calculator and the drag force calculator cover the two halves of the force on a body moving through air. Everything is indexed on the free online tools hub.

Frequently Asked Questions

How do I calculate Mach number?

Divide the object's true speed by the local speed of sound. The speed of sound is the square root of the adiabatic index times the gas constant times the absolute temperature, divided by the molar mass, which for dry air at 15 degrees Celsius gives 340.3 metres per second.

Why is Mach 1 slower at altitude?

Because the air up there is colder. The speed of sound depends only on temperature for a given gas, so the drop from 15 degrees Celsius at sea level to about minus 56 in the lower stratosphere reduces it from around 340 to around 295 metres per second.

Does air pressure affect the speed of sound?

Not independently. Pressure and density both appear in one version of the formula, but their ratio is fixed by temperature for an ideal gas, so they cancel. That is why thin high-altitude air does not slow sound down except through being cold.

What is the difference between subsonic, transonic and supersonic?

Below about Mach 0.8 the flow is subsonic everywhere. Between roughly 0.8 and 1.2 it is transonic, with some regions supersonic and others not, which produces shock waves on a body still travelling below Mach 1. Above 1.2 the flow is supersonic throughout.

What is the critical Mach number?

The free-stream Mach number at which airflow somewhere on the body first reaches the local speed of sound. It is typically around 0.7 to 0.8 for a conventional wing, because air accelerates over the curved upper surface and gets there before the aircraft does.

Should I use indicated or true airspeed?

True airspeed. Indicated airspeed is a dynamic-pressure measurement that falls below the true value as air thins, so using it at altitude would understate the Mach number considerably.

Can I use this for a gas other than air?

Yes. Change the adiabatic index and the molar mass to those of your gas. Helium has a much lower molar mass, so sound travels through it nearly three times faster than through air at the same temperature.

Can I use this to plan a flight?

No. It computes a physical ratio from a speed and a temperature and knows nothing about any aircraft. Every speed limit, margin and performance figure comes from that aircraft's flight manual and the operator's approved procedures.

This tool is provided for educational and estimating use. It applies the ideal-gas speed of sound and, in altitude mode, the International Standard Atmosphere temperature profile, which real air routinely departs from. It is not an operational or flight-planning tool, contains no data about any aircraft, and no speed limit, performance figure or safety margin should be derived from it — those come from the aircraft's own flight manual.

Advertisement
Advertisement

Take it further