Mach Number Calculator

Calculate Mach number, velocity, local speed of sound, or temperature using airspeed, temperature, altitude, and gas properties.

Calculator is for informational purposes only. Terms and Conditions

\[ M=\frac{v}{a} \]
1

Choose what to solve for

Select the unknown value and how the local speed of sound should be calculated.

Choose the unknown variable. The required input fields update automatically.
Mach number depends on the local speed of sound. Use temperature for most calculations or altitude for a standard-atmosphere estimate.
Enter velocity and air temperature. The calculator will compute Mach number.
2

Enter the known values

Use true velocity or flow speed. Temperature is converted internally to Kelvin.

M
Mach number is dimensionless. Mach 1 equals the local speed of sound.
Use true airspeed, object speed, or flow speed relative to the gas.
Enter the local speed of sound directly when it is already known.
Speed of sound is calculated from absolute temperature using \(a=\sqrt{\gamma R T}\).
Uses a simplified standard-atmosphere temperature model from -1,000 m to 20,000 m.
Advanced Options
For normal dry-air calculations, leave the gas preset set to dry air.
γ
Dry air is commonly approximated with \( \gamma = 1.4 \).
J/kg·K
Dry air is commonly approximated with \(R = 287.05 \, \text{J/(kg·K)}\).
3

Visual Check

The diagram shows how the result relates to subsonic, transonic, or supersonic flow.

Mach number visual diagram A visual diagram showing Mach number behavior, speed of sound, or temperature relationship depending on the selected solve mode.
4

Solution

Live result, flow-regime checks, warnings, and solution steps.

Mach number
M
Real-time result updates as you type.

Quick checks

  • Flow regime
Show solution steps See conversions, equation substitution, assumptions, and checks
  1. Enter values to see the full solution steps and checks.
5

Source, Standards, and Assumptions

Calculation basis, constants, assumptions, and limitations.

Standard compressible-flow relationship

Uses the Mach number definition \(M=v/a\) and the ideal-gas speed of sound equation \(a=\sqrt{\gamma R T}\).

  • Assumptions will appear after a valid calculation.
On this page

Calculator Guide

How to Use the Mach Number Calculator

The Mach Number Calculator above calculates Mach number by comparing velocity to the local speed of sound. Mach number is not just a speed; it is a ratio. Mach 1 means the object or flow is moving at the local speed of sound, while Mach 2 means it is moving twice the local speed of sound.

The key idea is simple: Mach number depends on local speed of sound, and local speed of sound changes with temperature. This is why Mach 1 is not always the same mph, knots, or km/h. Use the calculator for quick Mach number checks, Mach-to-speed conversions, local speed of sound estimates, altitude-based estimates, and step-by-step engineering sanity checks.

Best for Mach number, velocity, speed of sound, and temperature checks
Main result Mach number or the equivalent velocity, sound speed, or temperature
Most important input Local speed of sound, which depends strongly on temperature

Quick Answer

Mach number is calculated with \(M=v/a\), where \(v\) is the velocity of the object or flow and \(a\) is the local speed of sound. At about \(15^\circ C\), Mach 1 in dry air is roughly \(340\,m/s\), \(761\,mph\), \(661\,knots\), or \(1,225\,km/h\). At colder cruise altitude, Mach 1 is slower in mph because the speed of sound is lower.

When not to rely on a simplified Mach calculation

Do not use a basic Mach number result as the only basis for final aircraft design, supersonic inlet design, shock analysis, wind tunnel correction, hypersonic heating estimates, or pitot-static instrument correction. Those problems require more detailed compressible-flow analysis and measured operating conditions.

Inputs and Outputs Used by the Calculator

The calculator changes the required fields based on the solve mode. The most common use is calculating Mach number from velocity and either temperature, altitude, or a known local speed of sound.

Mach Number Calculator inputs and outputs
TypeValueWhat It MeansCommon Unit
InputVelocity, \(v\)Object speed, true airspeed, or flow speed relative to the gas.m/s, mph, knots, km/h, ft/s
InputLocal speed of sound, \(a\)The acoustic wave speed in the surrounding gas at the local condition.m/s, mph, knots, km/h, ft/s
InputTemperature, \(T\)Gas temperature used to calculate speed of sound.K, °C, °F, °R
InputAltitudeUsed to estimate temperature and speed of sound from a simplified standard atmosphere.ft, m
InputSpecific heat ratio, \(\gamma\)Gas property used in the ideal-gas speed of sound formula.dimensionless
InputGas constant, \(R\)Specific gas constant for the selected gas.J/(kg·K)
OutputMach number, \(M\)Velocity divided by local speed of sound.dimensionless
OutputFlow regimeLow-speed, subsonic, transonic, supersonic, or hypersonic interpretation.category

Mach Number Formula

The main Mach number formula is the ratio of velocity to local speed of sound. If speed of sound is not known directly, it can be estimated from gas temperature using the ideal-gas speed of sound formula.

Main Mach Number Formula

\[ M=\frac{v}{a} \]

Use this form when velocity and local speed of sound are known. Mach number has no units because it is a ratio of two speeds.

Velocity from Mach Number

\[ v=M a \]

Use this form for questions like “how fast is Mach 2?” The answer depends on the local value of \(a\), so Mach 2 is not one fixed speed everywhere.

Speed of Sound from Temperature

\[ a=\sqrt{\gamma R T} \]

Use absolute temperature \(T\) in Kelvin. For dry air near normal conditions, \(\gamma \approx 1.4\) and \(R \approx 287.05\,\text{J/(kg·K)}\).

Temperature from Speed of Sound

\[ T=\frac{a^2}{\gamma R} \]

Use this rearranged form when the local speed of sound is known and you want the equivalent ideal-gas temperature.

What the Variables Mean

Every variable must be entered in a compatible unit system. The calculator handles common unit conversions, but the physical meaning of each input still matters.

Mach number formula symbols and meanings
SymbolMeaningHow to Enter It
\(M\)Mach number, the ratio of velocity to local speed of sound.Enter as a positive dimensionless value when solving for velocity.
\(v\)Velocity of the object or flow relative to the surrounding gas.Use true speed relative to the gas, not ground speed unless wind effects are irrelevant.
\(a\)Local speed of sound in the gas.Enter directly or calculate from temperature, gas constant, and \(\gamma\).
\(T\)Absolute gas temperature.Use Kelvin internally. Celsius and Fahrenheit must be converted to absolute temperature.
\(\gamma\)Specific heat ratio of the gas.Use about 1.4 for dry air near typical atmospheric conditions.
\(R\)Specific gas constant.Use \(287.05\,\text{J/(kg·K)}\) for dry air unless using another gas.

How to Use the Calculator

Start by choosing what you want to solve for. Then choose whether the local speed of sound should be entered directly, calculated from temperature, or estimated from altitude.

1

Choose the solve mode

Select Mach number, velocity, speed of sound, or temperature. The calculator will only show the input fields needed for that mode.

2

Choose the speed of sound source

For most air calculations, use temperature. Use altitude mode for a quick standard-atmosphere estimate, or enter speed of sound directly if you already know it.

3

Check units before trusting the result

Mach number is dimensionless, but velocity, speed of sound, temperature, and altitude can be entered in multiple units. A mph vs. m/s mistake will completely change the answer.

4

Interpret the flow regime

Use the result, quick checks, warnings, and flow-regime diagram to decide whether the result is low-speed, subsonic, transonic, supersonic, or hypersonic.

How to Interpret Mach Number Results

Mach number tells you how compressibility and wave behavior may affect the flow. Results below Mach 0.3 are often treated as nearly incompressible, while results near or above Mach 1 require compressible-flow thinking.

The regime boundaries below are practical engineering ranges, not hard physical walls. Supersonic flow begins when local flow exceeds Mach 1, but aircraft and external flows are often described as transonic across an approximate range around Mach 1 because local regions may be subsonic and supersonic at the same time.

Mach number flow regime interpretation
Mach NumberFlow RegimeWhat It MeansWhat to Do Next
\(M<0.3\)Low-speed / nearly incompressibleDensity changes are usually small for many basic fluid calculations.For many simple checks, incompressible methods may be acceptable.
\(0.3 \le M<0.8\)SubsonicCompressibility can begin to matter, especially as Mach number increases.Check whether your analysis needs compressible-flow corrections.
\(0.8 \le M \le 1.2\)TransonicMixed subsonic and supersonic regions may occur, and shock waves may form.Use caution; simple calculations often miss important aerodynamic behavior.
\(M>1\)Supersonic local flowLocal flow has exceeded the local speed of sound.Shock waves and compressible-flow relations may be needed.
\(1.2<M<5\)Fully supersonic rangeShock waves and Mach cones are usually important.Use compressible-flow methods and shock relations when needed.
\(M\ge5\)HypersonicHigh-temperature and real-gas effects may become important.Do not rely on a simple ideal-gas calculator for final analysis.

What to do with the result

Use the Mach number as a first filter for the physics involved. Below Mach 0.3, compressibility may be minor. Near Mach 1, expect transonic effects. Above Mach 1, shock waves and wave drag become central to the analysis.

What changes the result most?

The local speed of sound changes the result most. Because \(M=v/a\), the same velocity produces a higher Mach number when the air is colder and \(a\) is lower. This is why 600 mph can be about Mach 0.79 near sea level but closer to Mach 0.90 near cruise altitude.

Quick sanity check

At \(15^\circ C\), Mach 1 in dry air is about \(761\,mph\). If your calculator says 600 mph at \(15^\circ C\) is above Mach 1, the input units or temperature are likely wrong.

Input Quality Checklist

Before using the result, check the assumptions behind the input values. A Mach number can be mathematically correct but practically misleading if the speed or temperature is not the right local value.

Use true relative speed

For aircraft, Mach number is based on speed relative to the surrounding air, not simply ground speed when wind matters.

Use local temperature

Speed of sound depends on local gas temperature. Do not use sea-level temperature for cruise-altitude conditions.

Check absolute temperature

The speed of sound formula requires Kelvin or another absolute temperature scale. Celsius and Fahrenheit must be converted.

Verify gas properties

Dry air uses different \(\gamma\) and \(R\) values than helium, carbon dioxide, nitrogen, or other gases.

True airspeed vs. ground speed

Aircraft Mach number should be based on speed relative to the surrounding air mass, usually true airspeed or a measured Mach value, not ground speed. Ground speed includes wind effects and can misrepresent the actual compressibility condition around the aircraft.

Step-by-Step Worked Example

The most common Mach number calculation is finding \(M\) from velocity and air temperature. This example calculates the Mach number for an aircraft traveling 600 mph at \(15^\circ C\).

Given Values

Velocity
\(v=600\,mph\)
Air Temperature
\(T=15^\circ C\)
Dry Air Constants
\(\gamma=1.4\), \(R=287.05\,\text{J/(kg·K)}\)

Convert Velocity and Temperature

\[ 600\,mph=268.224\,m/s \]
\[ 15^\circ C=288.15\,K \]

Calculate Speed of Sound

\[ a=\sqrt{(1.4)(287.05)(288.15)}=340.29\,m/s \]

Calculate Mach Number

\[ M=\frac{268.224}{340.29}=0.788 \]

Result

Mach number: approximately Mach 0.79. This is high subsonic flow and close to the transonic range.

Mach Number Flow Regime Diagram

The diagram below gives each Mach number range its own visual meaning. Use it after calculating the result to quickly see whether the flow is low-speed, subsonic, transonic, supersonic, or hypersonic.

Mach number flow regime chart showing low-speed, subsonic, transonic, supersonic, and hypersonic ranges.
Use this Mach number flow regime chart to interpret the calculator result. It highlights the most important thresholds: compressibility effects above about Mach 0.3, transonic behavior near Mach 1, and hypersonic behavior above Mach 5.

Mach to mph, Knots, and km/h

To convert Mach number to mph at a known local speed of sound, multiply the Mach number by the local speed of sound in mph. For example, if Mach 1 is about \(761\,mph\) at \(15^\circ C\), then Mach 2 is about \(2 \times 761 = 1,522\,mph\).

These reference values are approximate dry-air values. They are useful for quick checks, but they are not universal constants because Mach speed changes with temperature, gas composition, humidity, and local atmospheric conditions.

Approximate speed of sound in dry air at common temperatures
Air TemperatureSpeed of SoundMach 1 Approx.Practical Meaning
\(-50^\circ C\)\(\approx 299\,m/s\)\(\approx 669\,mph\)Very cold high-altitude air
\(0^\circ C\)\(\approx 331\,m/s\)\(\approx 741\,mph\)Cold near-surface air
\(15^\circ C\)\(\approx 340\,m/s\)\(\approx 761\,mph\)Common sea-level reference condition
\(20^\circ C\)\(\approx 343\,m/s\)\(\approx 767\,mph\)Typical room-temperature air
Approximate sea-level Mach speed conversions at about 15°C
Mach Numbermphknotskm/h
Mach 0.5381331613
Mach 0.8609529980
Mach 1.07616611,225
Mach 2.01,5221,3222,450
Mach 5.03,8063,3066,126

How fast is Mach 1?

Mach 1 is the local speed of sound. Near \(15^\circ C\) in dry air, that is about \(761\,mph\). In colder air at altitude, Mach 1 can be closer to about \(660\,mph\), so the same aircraft speed can have a higher Mach number.

Why Altitude Changes Mach Number

Altitude affects Mach number mainly because air temperature changes with altitude. At cruise altitude, standard-atmosphere air is much colder than sea-level air, so the local speed of sound is lower. The same true airspeed therefore produces a higher Mach number.

To estimate Mach number from altitude, the calculator first estimates the standard-atmosphere temperature at that altitude, then calculates the local speed of sound, then divides velocity by that speed of sound.

Diagram comparing sea level and cruise altitude showing how lower air temperature lowers speed of sound and increases Mach number for the same true airspeed.
This altitude comparison shows why Mach number is not a fixed mph value. At the same true airspeed of 600 mph, the Mach number is lower near sea level and higher at cruise altitude because the local speed of sound is lower in colder air.

Practical Mach ranges for engineering checks

Low-Speed Range

Below about Mach 0.3, density changes are often small enough for many basic fluid calculations to treat the flow as nearly incompressible.

Transonic Caution

Near Mach 1, local airflow may become supersonic over parts of a body even when the free-stream Mach number is slightly below 1.

Hypersonic Limit

At Mach 5 and above, high-temperature effects may make constant-\(\gamma\), ideal-gas assumptions less reliable.

Practical design judgment

A Mach number is a starting point, not a full aerodynamic design answer. For transonic, supersonic, and hypersonic applications, evaluate shock waves, compressibility corrections, heating, Reynolds number, geometry, and the actual atmospheric model.

Mach Number Units and Conversions

Mach number is dimensionless, but the speeds used to calculate it must be in compatible units. The most common mistake is mixing mph, knots, ft/s, km/h, and m/s without converting both velocity and speed of sound to the same unit.

Common units and conversion reminders
QuantityCommon UnitsConversion Reminder
Velocitym/s, mph, knots, km/h, ft/s\(1\,mph=0.44704\,m/s\)
Velocityknots\(1\,knot\approx0.514444\,m/s\)
Velocitykm/h\(1\,km/h=0.277778\,m/s\)
Temperature°C, °F, K, °RUse absolute temperature in the speed of sound formula.
Altitudeft, m\(1\,ft=0.3048\,m\)

Mach Number vs. Speed of Sound vs. Velocity

Mach number, speed of sound, and velocity are related, but they are not the same thing. Velocity is a speed, speed of sound is the local acoustic wave speed, and Mach number is the ratio between them.

Comparison of related quantities
QuantityWhat It IsDepends OnCommon Misunderstanding
VelocityActual object or flow speed.Motion relative to the gas.Ground speed is not always the right speed for aircraft Mach number.
Speed of SoundHow fast a pressure wave travels through the gas.Mainly temperature and gas properties.It is not always 761 mph.
Mach NumberVelocity divided by local speed of sound.Both velocity and local speed of sound.It is a dimensionless ratio, not a unit of speed.
Mach AngleAngle of the Mach cone for supersonic flow.Mach number above 1.It does not exist for subsonic flow.

Common Mistakes That Cause Wrong Mach Number Results

Mach calculations are simple, but the wrong velocity, temperature, or unit basis can produce a result that looks precise and still be wrong.

Common Mistakes

  • Using ground speed instead of true airspeed relative to the local air mass.
  • Assuming Mach 1 is always 761 mph at every altitude.
  • Using Celsius directly inside \(a=\sqrt{\gamma R T}\) instead of Kelvin.
  • Mixing mph and m/s without converting both speeds to the same unit.
  • Using dry-air constants for a different gas without checking \(\gamma\) and \(R\).
  • Treating a transonic or supersonic result as if incompressible equations still apply.

Better Practice

  • Use velocity relative to the gas, not just speed relative to the ground.
  • Calculate speed of sound from local temperature when possible.
  • Convert all temperatures to absolute temperature for formula work.
  • Use one consistent speed unit before dividing \(v\) by \(a\).
  • Use gas-specific constants for non-air calculations.
  • Use the Mach result to decide whether compressible-flow methods are needed.

Troubleshooting Unexpected Results

If the result seems wrong, start with units and temperature. Most suspicious Mach results come from an incorrect speed unit, temperature unit, or altitude assumption.

Common Mach number result problems and fixes
ProblemLikely CauseFix
Mach number is much higher than expectedVelocity entered in the wrong unit or speed of sound too low.Check mph vs. m/s and verify temperature or altitude.
Mach 1 speed looks wrongUsing a different air temperature than the reference value.Remember that Mach 1 changes with local speed of sound.
Altitude result differs from another sourceDifferent standard-atmosphere model, temperature offset, or weather assumption.Use measured static air temperature for better accuracy.
Speed of sound is unusually high or lowTemperature entered in Celsius when Kelvin was expected, or wrong gas constants.Check temperature unit, \(\gamma\), and \(R\).
Subsonic flow seems to show a Mach coneMach cones only form for \(M>1\).Use pressure-wave behavior below Mach 1 and Mach cone behavior above Mach 1.

Suspicious result check

In ordinary dry air near \(15^\circ C\), a value around Mach 0.8 corresponds to roughly 600 mph. If a normal aircraft cruise speed produces Mach 2 or Mach 3, check whether the speed was entered in mph while the calculator expected m/s.

Assumptions, Sources, and Limitations

This calculator is intended for educational calculations, preliminary engineering checks, and quick flow-regime interpretation. It uses the standard Mach ratio and ideal-gas speed of sound relationship.

Formula Assumption

The Mach number relationship uses \(M=v/a\), where both speeds are evaluated in the same local gas condition.

Gas Assumption

Temperature-based speed of sound uses \(a=\sqrt{\gamma R T}\), which assumes ideal-gas behavior and constant gas properties.

Altitude Assumption

Altitude mode is a simplified standard-atmosphere estimate. Actual weather, temperature deviations, and local conditions can change the answer.

Airspeed Limitation

The calculator does not distinguish between indicated airspeed, calibrated airspeed, equivalent airspeed, and true airspeed. Aircraft performance calculations should use the correct airspeed definition for the method being applied.

Application Limit

The calculator does not model humidity, shock losses, pitot-static instrument corrections, pressure-ratio Mach calculations, or real-gas hypersonic effects.

Calculation basis

The calculation is based on standard compressible-flow definitions: Mach number is the ratio of flow speed to local speed of sound, and ideal-gas speed of sound is estimated from \(a=\sqrt{\gamma R T}\). NASA’s educational material on Mach number and speed of sound is a useful reference for the same basic relationship: NASA Glenn Research Center Mach number reference.

Final design caution

For aircraft, propulsion, wind tunnel, high-speed gas flow, or hypersonic work, use this calculator only as an initial check. Final design should use the applicable aerodynamic model, operating envelope, gas properties, test data, and professional engineering review.

Related Calculators and Next Steps

Use these related calculator categories to check adjacent physics, fluids, and unit-conversion calculations after finding Mach number.

Glossary of Terms

These terms help explain the calculator results and the physics behind high-speed flow.

Mach Number

A dimensionless ratio equal to velocity divided by local speed of sound.

Speed of Sound

The speed at which small pressure disturbances travel through a gas.

Subsonic

Flow below the speed of sound, commonly below about Mach 0.8 for aerodynamic classification.

Transonic

Flow near Mach 1 where subsonic and supersonic regions can exist at the same time.

Supersonic

Flow faster than the local speed of sound, where shock waves are important.

Hypersonic

Very high-speed flow, commonly Mach 5 and above, where high-temperature effects may become important.

Mach Angle

The angle of the Mach cone for supersonic flow, calculated from \(\mu=\sin^{-1}(1/M)\).

Specific Heat Ratio

The gas property \(\gamma\), used in the ideal-gas speed of sound equation.

Frequently Asked Questions

What does the Mach Number Calculator calculate?

The Mach Number Calculator calculates Mach number, velocity, local speed of sound, or equivalent gas temperature depending on the selected solve mode and known inputs.

What is the Mach number formula?

The Mach number formula is \(M=v/a\), where \(M\) is Mach number, \(v\) is velocity, and \(a\) is the local speed of sound.

Is Mach 1 always the same speed?

No. Mach 1 is the local speed of sound, and the local speed of sound changes with gas temperature and gas properties.

Why does Mach number change with altitude?

Mach number changes with altitude because air temperature changes with altitude, which changes the local speed of sound. The same true airspeed can therefore produce a higher Mach number at colder cruise altitude.

What Mach number is supersonic?

Supersonic flow begins when the local flow speed is greater than Mach 1. In practical aircraft regime charts, the range from about Mach 0.8 to Mach 1.2 is often called transonic because mixed subsonic and supersonic regions can occur.

Can this calculator be used for final aerospace design?

No. This calculator is useful for educational work and preliminary checks, but final aerospace design requires detailed aerodynamic analysis, measured conditions, compressible-flow methods, and professional engineering judgment.

Scroll to Top