A Machmeter measures the Mach number, which is the ratio of an aircraft's true airspeed to the local speed of sound at that altitude. As altitude increases, temperature decreases and the local speed of sound decreases, so the same true airspeed yields a higher Mach number. The instrument helps pilots avoid exceeding critical Mach numbers where control problems begin.