An altimeter measures ambient air pressure, which decreases with increasing altitude following the barometric formula. It then calculates and displays the corresponding altitude. If different aircraft's altimeters were not calibrated consistently, then two aircraft could be flying at the same altitude even though their altimeters appeared to show that they were at different altitudes.[1] Flight levels solve this problem by defining altitudes based on a standard air pressure at sea level.