Fluid mechanics
Mach number: calculation from speed and the speed of sound
Calculate the Mach number by comparing a speed relative to the fluid with the local speed of sound. Both speeds are converted to consistent units before division. The speed of sound must match the medium and its state; the calculation does not derive it from altitude or temperature, but the page provides reference values for air at different temperatures.
Mach number: calculation from speed and the speed of sound
Initial example : 170 m/s.
Initial example : 340 m/s.
Initial values are examples.
Results
The speed of sound must be strictly positive and supplied for the fluid and conditions being studied.
Applied formulas
Values are substituted in SI units and results are shown in the selected units.
Estimated reading time : 7 min · 1369 words
Calculation details
The steps below use the inputs and units selected in the calculator.
Ratio to the local speed of sound
The Mach number is a dimensionless ratio between a relative flow velocity and the propagation speed of small acoustic disturbances in the same medium. It places that velocity relative to the local sonic reference. A value below unity indicates subsonic speed, a value equal to unity sonic speed, and a value above unity supersonic speed. These markers alone do not describe all the details of flow around an object. Local velocity may differ from the reference velocity, and the transonic regime covers a region around unity. In air, Mach number is also used to assess when compressibility becomes significant: below about 0,3, flow is often treated as incompressible.
Formulas and symbols
Enter the speed relative to the medium and the speed of sound in that same medium. The selected units are converted; a must be strictly positive.
Unitless ratio: when the relative speed reaches the local speed of sound.
- v: speed relative to the medium, default displayed unit: .
- a: local speed of sound, default displayed unit: .
- Ma: Mach number, dimensionless.
- T: absolute air temperature in kelvin, used to estimate before entering the speed of sound.
Guidance for interpreting results
| Quantity or condition | Interpretation |
|---|---|
| Mach below 1 | Speed below the local speed of sound |
| Mach equal to 1 | Sonic speed |
| Mach above 1 | Supersonic speed; the transonic regime remains a region around 1 |
| Zero relative speed | |
| Speed twice local sound speed |
Speed of sound in air by temperature
| Air temperature | Speed of sound (dry air) |
|---|---|
| −56,5 °C (about 11 km, standard atmosphere) | , equivalent to |
| −20 °C | , equivalent to |
| 0 °C | , equivalent to |
| 15 °C | , equivalent to |
| 20 °C | , equivalent to |
| 30 °C | , equivalent to |
| Relationship used | a = √(γ R T), T in kelvin, and |
Values calculated using the ideal-gas model shown in the last row. Speeds in and are rounded separately from the unrounded result; multiplying the displayed value by 3,6 can therefore give a slight difference. The model assumes dry air with constant γ. OpenStax — University Physics Volume 1, §17.2: speed of sound in an ideal gas ; NASA Glenn Research Center — Mach Number.
Mach number: indicative markers for flow regimes
| Mach number | Regime |
|---|---|
| M < 0,3 | Flow often treated as incompressible |
| Subsonic: compressibility must be taken into account | |
| Transonic: local subsonic and supersonic regions | |
| Supersonic: shock waves | |
| M > 5 | Hypersonic: substantial heating; thermochemical effects possible depending on conditions |
These intervals are common reference ranges for aerodynamic flows. The threshold is used to assess density variations caused by speed. The transonic range depends on geometry and local velocities; the boundaries 0,8 and 1,2 are not universal thresholds. Thermochemical effects also depend on temperature and flow conditions. FAA — Aviation Maintenance Technician Handbook, General, p. 5-47: subsonic, transonic and supersonic regimes ; Embry-Riddle Aeronautical University — Types of Fluid Flows: compressibility and the Mach 0,3 reference ; NASA Glenn Research Center — Mach Number.
Worked examples
Example 1: in a medium where sound travels at
The Mach number is 0,5.
Example 2: for a sound speed of
The Mach number is 2.
Example 3: Sonic reference after conversion
Convert before division: ; assumed gives .
Example 4: Airliner at at cruising altitude
At about 11 km altitude, the air is at −56,5 °C and the speed of sound is close to (see the table). The speed of is converted to metres per second before division: the result indicates high-subsonic flight, close to the transonic regime. Using , a value close to sea level, would give 0,74 and underestimate the Mach number.
; : .
Example 5: Car at in mild weather
At 15 °C, the speed of sound in air is about . A speed of equals , so the Mach number is well below 0,3: air compressibility effects are negligible for this flow, and here Mach serves only to indicate an order of magnitude.
; : .
Assumptions and limitations
The speed of sound must be strictly positive and supplied for the fluid and conditions being studied. The calculation determines neither thermodynamic properties, altitude, shock waves nor compressibility corrections. The entered speed is relative to the fluid. A reference Mach number does not automatically provide local values around an object or in a nozzle. The table’s speeds of sound apply to dry air treated as an ideal gas ; they apply neither to another gas nor to air whose composition or state differs substantially from dry air.
Common mistakes
Using the sea-level speed of sound for an aircraft at altitude: the air is colder there, the speed of sound is lower and the calculated Mach number is too low.
Using ground speed despite wind distorts the ratio: use speed relative to the air.
Mixing kilometres per hour and metres per second changes the result: convert both speeds.
Assigning a unit to Mach confuses a ratio with a speed: check its dimensionless nature.
Deriving all pressures from the ratio alone omits thermodynamics: use a suitable model.
Frequently asked questions
Is Mach 1 always ?
No. Mach 1 means that relative speed equals the local speed of sound, which depends on the medium and its state: in air, it varies with temperature (see the speed-of-sound table). The value of used in several examples corresponds to air at around 15 °C; it cannot be transferred to another fluid or another state.
How much is Mach 1 in ?
It depends on air temperature, since the speed of sound depends on it. Mach 1 corresponds to about at 15 °C, at 20 °C and at −56,5 °C, the standard-atmosphere temperature at around 11 km altitude. There is therefore no single value in .
How do I calculate the speed of sound to enter?
For dry air treated as an ideal gas, a = √(γ R T), with , and T the absolute temperature in kelvin. At 15 °C (288,15 K), the result is approximately . For another gas, replace γ and R with its own values, or use a measured value.
Which speed should I enter for an aircraft?
The speed relative to the local air, not the ground speed when wind is present.
Why is the result dimensionless?
Both quantities are speeds, so units cancel after conversion. Consistent unit changes leave Mach unchanged.
At what Mach number does air become compressible?
Density variations are often considered small, and therefore negligible, as long as the Mach number remains below about 0,3. Above that, compressibility must be taken into account. This is a rule of thumb, not a strict limit: it depends on the accuracy required.
Does reference Mach describe the whole flow?
No. Local speed and sound speed can vary around objects or through passages. This tool does not solve the spatial flow field.