From the user, a station pressure
is
given. In order to calculate pressure altitude, the units for station pressure
must be converted to millibars
or
hectopascals
For
information on how to convert to millibars, see the link below:
Then, the pressure altitude
can
be calculated using the equation below:
The answer will be units of feet. To convert the answer to units of meters see the equation below: