A Machmeter is an aircraft pitot-static system flight instrument that shows the ratio of the true airspeed to the speed of sound, a dimensionless quantity called Mach number.
As an aircraft in transonic flight approaches the speed of sound, it first reaches its critical mach number, where air flowing over low-pressure areas of its surface locally reaches the speed of sound, forming shock waves.
Some older mechanical Machmeters use an altitude aneroid and an airspeed capsule which together convert pitot-static pressure into Mach number.
In subsonic flow the Mach meter can be calibrated according to: where: When a shock wave forms across the pitot tube the required formula is derived from the Rayleigh Supersonic Pitot equation, and is solved iteratively: where: Note that the inputs required are total pressure and static pressure.
This article incorporates public domain material from Instrument Flying Handbook.