The Mach number (M or Ma), often only Mach, (; ) is a dimensionless quantity in fluid dynamics representing the ratio of flow velocity past a boundary to the local speed of sound.
It is named after the Czech physicist and philosopher Ernst Mach.
where:
:  is the local Mach number,
:  is the local flow velocity with respect to the boundaries (either internal, such as an object immersed in the flow, or external, like a channel), and
:  is the speed of sound in the medium, which in air varies with the square root of the thermodynamic temperature.
By definition, at Mach1, the local flow velocity  is equal to the speed of sound. At Mach0.65,  is 65% of the speed of sound (subsonic), and, at Mach1.35,  is 35% faster than the speed of sound (supersonic). Pilots of high-altitude aerospace vehicles use flight Mach number to express a vehicle's true airspeed, but the flow field around a vehicle varies in three dimensions, with corresponding variations in local Mach number.
The local speed of sound, and hence the Mach number, depends on the temperature of the surrounding gas. The Mach number is primarily used to determine the approximation with which a flow can be treated as an incompressible flow. The medium can be a gas or a liquid. The boundary can be travelling in the medium, or it can be stationary while the medium flows along it, or they can both be moving, with different velocities: what matters is their relative velocity with respect to each other. The boundary can be the boundary of an object immersed in the medium, or of a channel such as a nozzle, diffuser or wind tunnel channelling the medium. As the Mach number is defined as the ratio of two speeds, it is a dimensionless quantity. If  < 0.2–0.3 and the flow is quasi-steady and isothermal, compressibility effects will be small and simplified incompressible flow equations can be used.