Formula & Calculator

Mach Number

The Mach number tells you how fast something is moving compared to the speed of sound in the surrounding air. Mach 1 is the speed of sound. Below Mach 1 is subsonic, around Mach 1 is transonic, above is supersonic, and above Mach 5 is hypersonic. For example, a passenger jet cruises at about Mach 0.85, while a fighter jet can exceed Mach 2. The speed of sound changes with temperature, so the same airspeed can give different Mach numbers at different altitudes. This matters because air behaves very differently at high Mach numbers.

Aerodynamics Compressible Flow Fundamental

Aerospace Engineering · Aerodynamics

Mach Number Calculator

Calculate Mach, Velocity & Speed of Sound

Calculate Mach number from velocity and the local speed of sound, or determine the speed of sound from temperature and gas properties.

  • Basic & Advanced Modes
  • Mach Regime Classification
  • Speed of Sound Calculation
  • Gas Properties
  • Unit Conversion
  • Atmospheric Reference
  • Detailed Results
  • Shareable Results

Choose the primary quantity to calculate.

How to Use This Calculator

  1. Choose what you want to calculate: Mach Number, Velocity, or Speed of Sound.
  2. Enter the required values and select units as needed.
  3. In Advanced Mode, optionally calculate local speed of sound from temperature and gas properties, or use a standard-atmosphere altitude estimate.
  4. Click Calculate Mach Number (or press Enter).
  5. Review the Mach number, velocity, local speed of sound, flow regime, and calculation steps.

What This Tool Offers

  • Mach number, velocity, and speed-of-sound calculation
  • Basic Mode and Advanced Mode
  • Gas property selection (Air, Helium, Hydrogen, CO₂) with custom γ and R
  • Temperature conversion (K, °C, °F)
  • Velocity and speed-of-sound unit conversion
  • Mach regime classification (subsonic → hypersonic)
  • Standard atmosphere reference estimate
  • Detailed calculation breakdown
  • Reference tables and educational notes
  • Copy and share results
  • Mobile-responsive design

Formula Explanation

Mach Number

M = v / a

Mach number is the ratio of an object’s (or flow’s) velocity to the local speed of sound in the surrounding medium. It is dimensionless.

  • M — Mach number (dimensionless)
  • v — Velocity (m/s)
  • a — Local speed of sound (m/s)

Speed of Sound (Ideal Gas)

a = √(γ R T)

For an ideal gas the local speed of sound depends on the ratio of specific heats, the specific gas constant, and absolute temperature.

  • a — Speed of sound (m/s)
  • γ — Ratio of specific heats (cp/cv), dimensionless
  • R — Specific gas constant (J/(kg·K))
  • T — Absolute temperature (K)

The local speed of sound therefore depends on the properties and thermodynamic state of the medium; it is not a fixed universal constant.

Important Aerospace Notes

  • Mach number is dimensionless and is always relative to the local speed of sound.
  • The speed of sound changes with temperature and with the medium (gas composition).
  • Mach number is not a simple fixed conversion from km/h or mph; the same ground speed can correspond to different Mach numbers at different altitudes or temperatures.
  • Compressibility effects become increasingly important as Mach number approaches and exceeds the transonic range (roughly 0.8–1.2).
  • Actual atmospheric conditions can differ significantly from standard-atmosphere assumptions.
  • Gas properties (γ, R) can vary with temperature; the values provided are approximate reference figures.
  • Regime boundaries (subsonic, transonic, supersonic, hypersonic) are conventional engineering classifications, not sharp physical transitions.

Variable Reference

Variable Meaning Unit
MMach numberDimensionless
vVelocitym/s
aSpeed of soundm/s
γRatio of specific heatsDimensionless
RSpecific gas constantJ/(kg·K)
TAbsolute temperatureK

Mach Number Reference

Mach number is relative to the local speed of sound, which depends on the surrounding medium and thermodynamic conditions. The regimes below are conventional engineering classifications.

Mach Number Regime General Description
0.2SubsonicWell below sonic speed
0.5SubsonicHigh subsonic
0.8Transonic regionCompressibility effects become important
1.0SonicEqual to local speed of sound
1.2SupersonicAbove sonic speed
2.0SupersonicTwice local speed of sound
3.0SupersonicThree times local speed of sound
5.0HypersonicFive times local speed of sound
10.0HypersonicExtreme high-speed regime

Variables

Symbol Quantity Unit
M Mach number
V Flow velocity m/s
a Local speed of sound m/s

What it means

The Mach number is a dimensionless parameter that defines the speed of a flow relative to the local speed of sound. It is named after Ernst Mach and is central to compressible aerodynamics. The speed of sound a = √(γRT) in an ideal gas. Mach number determines the flow regime: incompressible (M<0.3), subsonic (0.35). It influences shock waves, drag divergence, and stability. In aircraft design, M is used to determine critical Mach number, wave drag, and performance boundaries. It also appears in many compressible flow relations (isentropic, normal shock, etc.). Understanding Mach number is essential for high‑speed aerodynamics and for interpreting flight envelopes.

Worked example

Mach Number – Two Examples

Real‑World
Scenario: An aircraft cruises at 250 m/s at 11,000 m where speed of sound is 295 m/s. Find Mach number.
ParameterValue
V250 m/s
a295 m/s
1M = V/a = 250/295 = 0.847
Result M = 0.847 ✓ Subsonic
Scenario: An F‑16 flies at 680 m/s at sea level (a = 340 m/s). Find Mach number.
ParameterValue
V680 m/s
a340 m/s
1M = 680/340 = 2.0
Result M = 2.0 ✓ Supersonic
Key insight: M < 1 subsonic, M = 1 sonic, M > 1 supersonic – Mach number determines compressibility effects.

Common mistakes

  • Mach number M: Ratio of flow speed V to local speed of sound a.
  • Speed of sound a: Depends on temperature and gas properties (a = √(γRT)) – not constant.
  • Subsonic vs. supersonic: M<1 (subsonic), M=1 (sonic), M>1 (supersonic) – different flow physics.
  • Units: V and a must be in the same units (m/s).
  • Compressibility effects: Significant for M>0.3; use compressible flow equations.

Applications

Mach number, M = V/a, is the ratio of the speed of an aircraft or flow to the local speed of sound. It is the fundamental parameter governing compressible flow behaviour. Below Mach 0.3, flow is incompressible; between 0.3 and 0.8, compressibility effects become important (transonic); above 1.0, shock waves form. Engineers use Mach number to design aerodynamic shapes, to size wings and intakes, and to predict drag rise and control effectiveness. It is essential for designing commercial aircraft (cruising at M≈0.8) and military fighters (supersonic). Mach number also determines the design of supersonic inlets, nozzles, and afterburners. By understanding Mach effects, aerospace engineers can avoid the adverse consequences of shock‑induced separation and ensure stable and efficient flight.

  • Aircraft cruise speed definition and performance planning
  • Design of transonic and supersonic airfoils
  • Inlet and nozzle design for gas turbines and ramjets
  • Compressibility drag and wave drag estimation
  • Flight envelope definition and dynamic stability analysis

Related calculators · Aerodynamics

Suggest an improvement

Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.

Page details

1,624

Views
  • Published July 10, 2026
  • Last updated September 19, 2026