Mach Number Calculator - Speed, Sound, and Temperature

Mach number calculator for M = v / c, with the air-temperature speed of sound c = 331.3 * sqrt(1 + T / 273.15), so it covers sea level to high-altitude jets.

Mach Number Calculator

Speed of the moving object (aircraft, vehicle, projectile) in metres per second.

Local speed of sound in m/s. Leave the temperature toggle on to recompute it from air temperature.

Air temperature in degrees Celsius, used to derive the speed of sound when the temperature toggle is on.

Switch on to recompute the speed of sound from the air temperature, switch off to use the speed-of-sound value you entered.

Results

Mach Number (M)
0
Speed of sound used 0m/s
Object speed implied 0m/s
Flow regime 0

What Is the Mach Number Calculator?

A Mach number calculator solves M = v / c, where v is the object speed and c is the local speed of sound, and tags the flow as subsonic, transonic, supersonic, or hypersonic. It accepts the object speed, the speed of sound, or the air temperature, so the same page covers sea-level checks and high-altitude jet estimates.

  • Aircraft Mach checks: Confirm whether a commercial jet at cruise altitude is flying subsonic or transonic by entering the indicated airspeed and the air temperature.
  • Hypersonic vehicle estimates: Convert a kilometre-per-second figure for a re-entry vehicle or scramjet into a Mach number against the local sound speed.
  • Compressible-flow homework: Solve textbook problems that mix Mach, speed, and temperature without doing the square root of 1 + T / 273.15 by hand.

The same 0.8 reads the same whether v is in m/s, km/h, or knots, as long as c uses the same unit. The mach number calculator keeps everything in m/s internally and lets you toggle c between a manual value and the air-temperature formula.

For dry air the speed of sound follows c = 331.3 * sqrt(1 + T_C / 273.15) m/s, so a 20 C cabin gives the textbook 343 m/s reference and a -40 C winter morning drops c to about 306 m/s.

When the wave behind a Mach number is described as frequency times wavelength, wave speed calculator returns v = f * lambda in one panel.

How the Mach Number Calculator Works

The calculator reads v, T, and the toggle that controls c, forms M = v / c, cross-checks the implied speed, and tags the flow regime.

M = v / c, with c = 331.3 * sqrt(1 + T_C / 273.15) m/s in dry air
  • v (object speed): Object speed in m/s, from the object-speed field.
  • c (speed of sound): Local speed of sound in m/s, from the speed-of-sound field or recomputed from air temperature.
  • T_C (air temperature): Air temperature in degrees Celsius, used by c = 331.3 * sqrt(1 + T_C / 273.15) when the toggle is on.
  • useTemperature (toggle): When on, the calculator overwrites c with the temperature-derived value. When off, c is the manual entry.

With the temperature toggle on, the panel shows the recomputed speed of sound so you can see c dropping as T falls.

Worked example: cruising jet at 31,000 ft

v = 252.1 m/s (490 kn), T = -46.4 C so c = 301.84 m/s, M = v / c.

M = 252.1 / 301.84 = 0.8352.

M = 0.8352, flow regime Transonic.

A 787 at 31,000 ft sits in the transonic band, which is why the Mach meter on the flight deck reads so close to 1.0 during cruise climb.

Worked example: Bell X-1 breaking the sound barrier

v = 343 m/s at 20 C, so c = 331.3 * sqrt(1 + 20 / 273.15) = 343.21 m/s.

M = 343 / 343.21 = 0.9994.

M = 0.9994, flow regime Transonic.

The Bell X-1 broke the sound barrier in 1947, and the panel reads M just below 1.0 because 20 C air bumps c above 343 m/s.

According to Wikipedia - Mach number, the Mach number is defined as M = v / a, where v is the flow velocity and a is the local speed of sound, and the value is used to classify subsonic, transonic, supersonic, and hypersonic flow regimes.

According to NOAA National Weather Service, the speed of sound in dry air at 20 C is approximately 343 m/s and follows c = 331.3 * sqrt(1 + T_C / 273.15).

Once the Mach number is known, the Reynolds number calculator takes the same density, velocity, and characteristic length and tags the flow as laminar, transitional, or turbulent.

Key Concepts Explained

Four ideas sit behind Mach number: M = v / c, the air-temperature speed of sound, the regime bands, and the difference between Mach and true airspeed.

M = v / c ratio

Mach number is the speed of the object divided by the speed of sound in the surrounding medium. It is dimensionless, so the same 0.8 means the same physical situation whether v is in m/s, km/h, mph, or knots, as long as both v and c use the same units.

Speed of sound in dry air

Dry air follows c = 331.3 * sqrt(1 + T_C / 273.15) m/s. At 0 C this gives 331.3 m/s, at 20 C 343.2 m/s, and at -40 C about 306 m/s.

Subsonic, transonic, supersonic, hypersonic

Flow regimes are subsonic below M = 0.8, transonic between 0.8 and 1.2, supersonic between 1.2 and 5, and hypersonic above 5. Commercial jets cruise in the transonic band, fighter jets in the supersonic band, and re-entry vehicles in the hypersonic band.

Mach vs indicated vs true airspeed

Indicated airspeed is what the pitot probe reads, true airspeed is the actual speed through the air, and Mach is true airspeed divided by local c. The same M means different true airspeeds at sea level and at cruise altitude because c changes with temperature.

For dry air the speed of sound is a function of T_C alone. Humid air is slightly faster than dry air at the same temperature because water vapour has a lower molecular weight and lowers the gas density more than it shifts the heat-capacity ratio, nudging c up by about 0.1% to 0.3%.

For the wave-physics cousin that turns density into a sound-wave impedance using the same c, acoustic impedance calculator returns Z = rho * c in Pa.s/m and MRayl.

How to Use This Calculator

Five steps read a Mach number and a flow regime from any combination of speed, c, and air temperature.

  1. 1 Enter the object speed v: Type the speed of the moving object in m/s. The default 250 m/s covers a fast passenger jet on approach.
  2. 2 Decide where the speed of sound comes from: Leave the 'Derive c from temperature' toggle on to use the air-temperature formula, or switch it off to use the speed-of-sound value you typed.
  3. 3 Type the air temperature T in Celsius: Use 20 C for a textbook check, 15 C for a standard day at sea level, or -40 C for a high-altitude jet.
  4. 4 Override c manually if you need to: Type the local speed of sound in m/s when you already have a measured or reference value, for example 1482 m/s for water or 5960 m/s for steel.
  5. 5 Read M, the implied speed, and the flow regime: The result panel shows M to four decimals, the speed of sound used in m/s, the object speed implied by M and c, and the flow regime label.

For a 787 at 31,000 ft, type 252.1 m/s as v, leave the toggle on, set T = -46.4 C, and read M = 0.8352 with the flow regime Transonic.

Before computing M, the speed converter translates knots, km/h, and mph into m/s so c and the object speed share one unit.

Benefits of Using This Calculator

These benefits cover the workflow gains when M = v / c and c = 331.3 * sqrt(1 + T_C / 273.15) are no longer done by hand. The calculator keeps one panel for sea-level and high-altitude checks, so the same inputs work for a takeoff roll and a cruise climb.

  • Three inputs in one panel: Object speed, speed of sound, and air temperature live in one form, so you can swap between a measured c and the temperature-derived value on the same page.
  • Speed of sound from temperature: The c = 331.3 * sqrt(1 + T_C / 273.15) formula runs in the background, so entering T in Celsius recomputes c and M at the same time.
  • Flow regime label: Subsonic, Transonic, Supersonic, and Hypersonic tags give an immediate read of whether the flow is compressible, which is the practical question behind Mach number.
  • Implied speed cross-check: The object speed implied by M and c sits next to v, so rounding or unit mistakes show up the moment you type them.
  • Real-time updates on input change: Edit any field and the panel refreshes M, c, the implied speed, and the flow regime, useful when scanning many altitude bands.

The same Mach number feeds the compressible Bernoulli equation, the Prandtl-Meyer expansion, and the oblique-shock relations, so a clean M is a starting point for those too.

For the compressible-flow extension of M = v / c, the Bernoulli equation calculator returns pressure, density, and temperature changes across a nozzle or venturi.

Factors That Affect Your Results

Four factors decide the Mach number you read, plus two limitations when M = v / c models a real flow.

Air temperature drives c

c = 331.3 * sqrt(1 + T_C / 273.15), so a 20 C column gives 343.2 m/s and a -40 C column gives 306.1 m/s. The same object speed is a higher M on a cold day.

Altitude and the lapse rate

Air temperature drops with altitude in the troposphere at roughly 6.5 K per km, so c falls as the aircraft climbs. A 787 at 31,000 ft sees c near 302 m/s, not the 343 m/s sea-level value.

Humidity

Humid air is slightly faster than dry air at the same temperature because water vapour has a lower molecular weight and lowers the gas density more than it shifts the heat-capacity ratio. The effect is small, about 0.1% to 0.3%, and is usually ignored in textbook problems.

Medium, not just air

Mach number uses the speed of sound in the surrounding medium, not in air. In water c is about 1482 m/s and in steel 5960 m/s, so the same speed in m/s gives a very different M in those media.

  • The c = 331.3 * sqrt(1 + T_C / 273.15) formula is for dry air. For other gases use the medium-specific formula, and for water or metals use the tabulated c.
  • Mach number alone does not capture viscous or shock losses. Above about M = 0.3, use the compressible Bernoulli or Rayleigh relations instead of the incompressible form.

The implied object speed is a fast unit check: if v and the implied speed disagree by more than 1 m/s, one is in the wrong unit.

According to Wikipedia - Hypersonic speed, aerodynamicists classify flow regimes as subsonic below M = 0.8, transonic between 0.8 and 1.2, supersonic from 1.2 up to about 5, and hypersonic above M = 5, where the chemistry of the air starts to matter.

For the resistive counterpart of M = v / c, the drag equation calculator returns the drag force from the same density, velocity, frontal area, and drag coefficient.

Mach number calculator input panel showing object speed, speed of sound, and air temperature fields with a results panel showing Mach number and flow regime
Mach number calculator input panel showing object speed, speed of sound, and air temperature fields with a results panel showing Mach number and flow regime

Frequently Asked Questions

Q: What is the Mach number formula?

A: M = v / c, where v is the speed of the object and c is the local speed of sound. In dry air, c in m/s equals 331.3 * sqrt(1 + T_C / 273.15), with T_C the air temperature in degrees Celsius. At 20 C this gives about 343 m/s.

Q: How do you calculate Mach number from speed and speed of sound?

A: Divide the object speed by the speed of sound using M = v / c. For example, an aircraft at 252.1 m/s in air where c is 301.84 m/s gives M = 252.1 / 301.84 = 0.8352, which sits in the transonic flow band.

Q: What Mach number is considered supersonic?

A: A flow is supersonic when M is above 1.2, transonic from 0.8 to 1.2, subsonic below 0.8, and hypersonic above 5. Commercial jets usually cruise in the transonic band, fighter jets in the supersonic band, and re-entry vehicles in the hypersonic band.

Q: How fast is Mach 1 at sea level?

A: At 20 C and sea level, Mach 1 is about 343 m/s, 1235 km/h, or 767 mph. At -46.4 C, which is closer to 31,000 ft under the standard lapse rate, it drops to about 302 m/s, 1087 km/h, or 675 mph.

Q: Does Mach number change with altitude?

A: Yes, because c depends on air temperature and air temperature falls with altitude in the troposphere. A 787 at 31,000 ft sees c near 302 m/s, so the same true airspeed reads a higher Mach number than at sea level.

Q: What is the Mach number of the ISS?

A: The ISS orbits at about 7.66 km/s. With c at sea level of 343 m/s, that is roughly M = 22.3. In practice Mach is not meaningful in orbit because the speed of sound is undefined in vacuum, and the ISS is well above the Karman line.