Complex sentence: An altimeter measures ambient air pressure, which decreases with increasing altitude following the barometric formula and calculates and displays the corresponding altitude.
Split into simpler sentences: An altimeter measures ambient air pressure, which decreases with increasing altitude following the barometric formula. It then calculates and displays the corresponding altitude.