Altitude is height above sea level measured by an altimeter (air pressure and density reduces with height above sea level) or using GPS to measure the distance from multiple satellites.

Commercial GPS is not a very accurate way to measure elevation as it is prioritized to measure horizontal distance.

Altitude is typically only used to describe the height of an aircraft in flight.