/api/v1/e6b/pressure-altitude/calculateCommercial PilotCalculate Pressure Altitude
Calculates pressure altitude from field elevation and altimeter setting.
Code Examples
curl \
-X POST \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"fieldElevationFt": 0,
"altimeterInHg": 0
}' \
"https://api.preflightapi.io/api/v1/e6b/pressure-altitude/calculate"curl \
-X POST \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"fieldElevationFt": 0,
"altimeterInHg": 0
}' \
"https://api.preflightapi.io/api/v1/e6b/pressure-altitude/calculate"Description
Pressure altitude is the altitude in the standard atmosphere where the pressure equals the current pressure at your location. It is the starting point for density altitude, TAS, and performance chart calculations.
*Formula:*PA = FieldElevation + (29.92 - Altimeter) * 1000
Response Fields
PressureAltitudeFt— the calculated pressure altitude (feet)
AltimeterCorrectionFt— the deviation from standard pressure expressed in feet (positive = lower pressure than standard, negative = higher)
*Note:* The 1 inHg = 1000 ft approximation is most accurate near sea level and diverges slightly at higher elevations and extreme altimeter settings.
Request BodyPressureAltitudeRequestDto
Field elevation in feet MSL
Altimeter setting in inches of mercury (must be between 25.0 and 35.0 inHg)
Response Schema
Calculated pressure altitude in feet
Altimeter correction — deviation from standard pressure expressed in feet
Field elevation used in calculation (feet MSL)
Altimeter setting used in calculation (inHg)
Machine-readable error code (e.g., "AIRCRAFT_NOT_FOUND").
Human-readable error message suitable for display.
Additional error details (only included in development environment).
Name of the external service that failed (only included for 503 errors).
Field-level validation errors (only for validation failures).
UTC timestamp when the error occurred.
Correlation ID for tracing the request.
Request path that generated the error.