CCalclabhub

Science · 53 calculations

Physics

How To Calculate The Mach Number

The Mach number tells you how fast something is moving relative to the speed of sound in the medium around it. Instead of quoting a raw speed, it gives a dimensionless ratio, so a Mach 2 aircraft is travelling at twice the local speed of sound whether it is near sea level or high in the atmosphere. This page shows how to compute that ratio, how to classify the resulting flow regime, and how to convert the underlying speed into other units.

Last updated

Quick Answer

M = v / a

M
Mach number (dimensionless)
v
Speed of the object, in metres per second
a
Local speed of sound, in the same units as v

Divide the object's speed v by the local speed of sound a. A result below 1 is subsonic, exactly 1 is sonic, and above 1 is supersonic. Because both speeds must be measured in the same units, the ratio has no units of its own. With a speed of 680 metres per second and a speed of sound of 340 metres per second, the Mach number is 2.0.

What Is The Mach Number?

The Mach number is the speed of an object divided by the speed of sound in the surrounding medium. It is named after the Austrian physicist Ernst Mach, who studied the behaviour of bodies moving faster than sound in the late nineteenth century. Because it is a ratio of two speeds, it is a pure number with no units. Saying an aircraft is at Mach 2 conveys the same physical condition whether the measurement is taken in metres per second, knots or kilometres per hour, which is exactly why aviators and engineers prefer it to a bare velocity.

The denominator of the ratio is the local speed of sound, and it is not a universal constant. In dry air it depends almost entirely on temperature: the ideal-gas result is the square root of gamma times R times the absolute temperature. At room temperature near sea level this works out at roughly 340 metres per second, but on a cold day at high altitude it can fall well below 300 metres per second. A fixed true speed therefore corresponds to a higher Mach number in cold air than in warm air, because the denominator has shrunk.

That dependence is the reason Mach number, rather than speed, is the meaningful quantity for high-speed flight. An aircraft cruising at a constant indicated speed will see its Mach number change as it climbs into colder air. Conversely, two aircraft flying at very different true speeds can share the same Mach number if they are in air at different temperatures. Any calculation must use the speed of sound appropriate to the actual conditions, never a remembered sea-level figure, or the answer will be misleading.

The flow regimes are defined by where the number falls relative to one. Below roughly 0.8 the flow is subsonic and air behaves almost as an incompressible fluid. Between about 0.8 and 1.2 it is transonic, a difficult region where some of the airflow over the body exceeds the speed of sound even while the body itself does not. Above 1.2 the flow is supersonic, and above about 5 it is described as hypersonic, where heating and chemical effects become dominant. The boundaries are conventions rather than sharp physical laws.

Mach 1 is therefore not a single fixed speed but a condition that depends on the medium. In air at sea level it is about 1,225 kilometres per hour, while in the thin, cold air of the upper atmosphere it is noticeably slower. Sound also travels at very different speeds in water, where it is around 1,500 metres per second, and in solids it is faster still. The Mach concept applies in each medium, but the number you get is only comparable when the medium and its temperature are the same.

The physical importance of the ratio comes from compressibility. As an object approaches Mach 1, the air can no longer get out of the way smoothly and pressure disturbances pile up into a shock wave. This produces a sharp rise in drag, known as the sound barrier, together with changes in lift and stability that designers must account for. Well below Mach 1 these effects are negligible, and well above it they are steady and predictable; it is the neighbourhood of Mach 1 that is troublesome.

The relationship between speed and Mach number is a simple proportionality when the speed of sound is held fixed. Double the speed and you double the Mach number, as the worked example at 680 metres per second demonstrates. Halve the speed of sound instead, by moving into colder air, and the Mach number rises for the same reason. This linearity makes the quantity easy to reason about, but it also means a small error in either input feeds straight through to the answer, so both figures should be quoted with their conditions.

In practice Mach number is measured rather than merely calculated. An air-data computer compares the total pressure measured by a pitot tube with the static pressure of the surrounding air; for subsonic flow the ratio of these pressures determines Mach number directly through the isentropic relations. At supersonic speeds a normal shock stands ahead of the probe and a modified relation is used. Modern aircraft display the result on the flight deck as a Mach meter, updating it continuously as the air conditions change.

The same idea reaches well beyond aircraft. Ballisticians use it to describe projectiles, wind-tunnel engineers match it to ensure a scale model behaves like the full-size vehicle, and astrophysicists use a magnetic analogue when studying plasma flows. The main limitation to keep in mind is that the number is only as good as the local speed of sound supplied. The calculator below takes that speed as an explicit input rather than guessing it from a standard atmosphere, which keeps the result honest as long as you provide the value for the conditions you actually care about.

Formula

The defining relation. Divide the object's speed by the local speed of sound. Both quantities must be expressed in the same units so that the result is a pure number.

SymbolMeaning
vSpeed of the object
aLocal speed of sound
MMach number

a = sqrt(gamma R T)

Formula page →

For an ideal gas the speed of sound depends on the absolute temperature T, the ratio of specific heats gamma (about 1.4 for air) and the specific gas constant R (about 287 joules per kilogram per kelvin for air). Warmer air gives a larger a and therefore a smaller Mach number at a fixed speed.

SymbolMeaning
gammaRatio of specific heats
RSpecific gas constant
TAbsolute temperature

v(km/h) = v(m/s) x 3.6

Formula page →

Multiplying a speed in metres per second by 3.6 converts it to kilometres per hour, since there are 3,600 seconds in an hour and 1,000 metres in a kilometre.

SymbolMeaning
v(m/s)Speed in metres per second
v(km/h)Speed in kilometres per hour

How To Calculate The Mach Number

  1. 1

    Put the speed in consistent units

    Express the object's speed in metres per second so it matches the usual value for the speed of sound. If your speed is quoted in kilometres per hour, divide it by 3.6 first. The Mach number only comes out right when the numerator and denominator share the same units, because the units must cancel to leave a pure number.

  2. 2

    Find the local speed of sound

    Use the speed of sound for the medium and conditions at the object's location, not a remembered constant. In air near room temperature it is roughly 340 metres per second, but it falls as the air gets colder. If you know the absolute temperature, the ideal-gas relation gives a good estimate; otherwise take the value from a standard atmosphere or an air-data instrument.

  3. 3

    Divide speed by the speed of sound

    Compute M = v / a. With a speed of 680 metres per second and a speed of sound of 340 metres per second the result is 680 divided by 340, which is exactly 2.0. Because the ratio is dimensionless there is no unit to attach; just report the number, often written with the Mach prefix as Mach 2.

  4. 4

    Classify the flow regime

    Compare the result with the regime boundaries. Below about 0.8 the motion is subsonic, around 1 it is transonic, above about 1.2 it is supersonic, and above roughly 5 it is hypersonic. At Mach 2 the flow is firmly supersonic, so shock waves and compressibility effects are expected and the sound barrier has been crossed.

  5. 5

    Convert the speed for reporting if needed

    Multiply any speed in metres per second by 3.6 to state it in kilometres per hour. In the worked case 680 metres per second becomes 2,448 kilometres per hour and the 340-metre-per-second speed of sound becomes 1,224 kilometres per hour. These conversions change only the units, so the Mach number itself stays at 2.0.

Examples

Example 1: An aircraft at 680 m/s in air where sound travels at 340 m/s

speed
680
speedOfSound
340
StepCalculationResult
Confirm units match680 m/s and 340 m/sboth in m/s
Divide speed by the speed of sound680 / 3402.0
Convert the speed to kilometres per hour680 x 3.62448.0
Convert the speed of sound to kilometres per hour340 x 3.61224.0
Mach number680 / 3402.0

Result: The Mach number is 2.0, so the aircraft is supersonic, travelling at 2448.0 km/h against a speed of sound of 1224.0 km/h.

Example 2: An airliner at 250 m/s in the same 340 m/s air

speed
250
speedOfSound
340
StepCalculationResult
Confirm units match250 m/s and 340 m/sboth in m/s
Divide speed by the speed of sound250 / 3400.7353
Convert the speed to kilometres per hour250 x 3.6900.0
Mach number250 / 3400.7353

Result: The Mach number is 0.7353, so the aircraft remains subsonic at 900.0 km/h in air where sound travels at 1224.0 km/h.

Example 3: A jet at 1000 m/s where the speed of sound has fallen to 295 m/s

speed
1000
speedOfSound
295
StepCalculationResult
Confirm units match1000 m/s and 295 m/sboth in m/s
Divide speed by the speed of sound1000 / 2953.3898
Convert the speed to kilometres per hour1000 x 3.63600.0
Mach number1000 / 2953.3898

Result: The Mach number is 3.3898, so the jet is comfortably supersonic at 3600.0 km/h in cold, high-altitude air.

Calculator

Mach number

2

Speed (m/s)
680
Speed (km/h)
2,448
Speed of sound (km/h)
1,224

Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.

Prefer a full-width tool? Open the The Mach Number calculator page.

Common Mistakes

  • Mixing speed units

    Dividing a speed in kilometres per hour by a speed of sound in metres per second produces a number 3.6 times too large. Always convert one to match the other before dividing, and remember that multiplying by 3.6 changes only the units, never the Mach number itself.

  • Using a fixed sea-level speed of sound

    The speed of sound falls with temperature, so a remembered 340 metres per second is wrong at altitude or on a cold day. Using it when the true local value is 295 metres per second understates the Mach number. Supply the value for the conditions you actually care about.

  • Confusing Mach number with a speed

    Mach 2 is a ratio, not 2 metres per second or 2 kilometres per hour. It means twice the local speed of sound. Attaching a unit to the Mach number is a category error and usually signals that the underlying speeds were not handled consistently.

  • Forgetting that temperature is absolute

    If you estimate the speed of sound from the ideal-gas relation, the temperature must be in kelvin. Substituting degrees Celsius gives a nonsense result because the formula depends on absolute temperature, not a reading relative to the freezing point of water.

  • Ignoring the transonic region

    Treating everything above Mach 1 as simply supersonic overlooks the difficult band around Mach 1 where drag rises sharply and shock waves first form. This transonic region behaves differently from the steady supersonic flow seen at Mach 2, and the distinction matters in aircraft design.

  • Assuming the ratio always stays linear

    Doubling the speed doubles the Mach number only while the speed of sound is unchanged. In a real climb the ambient temperature, and therefore the denominator, changes at the same time. Check both inputs rather than scaling the answer from a single calculation.

FAQ

What exactly is the Mach number?

It is the speed of an object divided by the speed of sound in the surrounding medium. It is a dimensionless ratio, so it tells you how many times the speed of sound the object is travelling, independent of the units used for either speed.

How fast is Mach 1?

It depends on the conditions. In air at room temperature near sea level it is roughly 340 metres per second, or about 1,224 kilometres per hour. In colder air at high altitude it is lower, which is why pilots use Mach number rather than a fixed speed for high-altitude flight.

What is the difference between subsonic, supersonic and hypersonic?

Subsonic means below the speed of sound, supersonic means above it, and hypersonic usually means above about Mach 5. Between roughly Mach 0.8 and 1.2 lies the transonic region, where compressibility effects and shock waves appear most strongly.

Why does the Mach number change with altitude?

Air temperature generally falls as you climb, and the speed of sound depends on temperature. A lower speed of sound means a smaller denominator, so the same true speed corresponds to a higher Mach number at altitude than at sea level.

Can the Mach number be used in water?

Yes in principle, because it is just a ratio of speeds. Sound travels at roughly 1,500 metres per second in water, far faster than in air, so an object needs a much higher true speed to reach Mach 1 in water than in air.

How is Mach number measured on an aircraft?

Air-data computers compare the total pressure from a pitot tube with the static pressure of the surrounding air. For subsonic flow the pressure ratio gives the Mach number directly; at supersonic speeds a correction for the shock ahead of the probe is applied.

References

  1. [1]Wikipedia, Mach number — https://en.wikipedia.org/wiki/Mach_number
  2. [2]Wikipedia, Speed of sound — https://en.wikipedia.org/wiki/Speed_of_sound
  3. [3]Wikipedia, Supersonic speed — https://en.wikipedia.org/wiki/Supersonic_speed