<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLLocation/altitude",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:objc(cs)CLLocation(py)altitude"
  },
  "title" : "altitude"
}
-->

# altitude

The altitude above mean sea level associated with a location, measured in meters.

```
var altitude: CLLocationDistance { get }
```

## Discussion

The [`altitude`](/documentation/CoreLocation/CLLocation/altitude) property represents an orthometric height, which is the height above the approximate mean sea level. Positive values indicate altitudes above mean sea level. Negative values indicate altitudes below mean sea level.

When [`verticalAccuracy`](/documentation/CoreLocation/CLLocation/verticalAccuracy) contains `0` or a negative number, the value of [`altitude`](/documentation/CoreLocation/CLLocation/altitude) is invalid. The value of [`altitude`](/documentation/CoreLocation/CLLocation/altitude) is valid when [`verticalAccuracy`](/documentation/CoreLocation/CLLocation/verticalAccuracy) contains a postive number.

In most cases, Core Location approximates mean sea level using the Earth Gravitational Model 2008 (EGM 2008) geoid associated with the World Geodetic System 1984 (WGS84) standard. In some rare cases, Core Location approximates mean sea level using the DMA 10x10 geoid grid. The discrepancy between these two geoids is typically less than 5 meters.

See [`ellipsoidalAltitude`](/documentation/CoreLocation/CLLocation/ellipsoidalAltitude) if your application uses an altitude with respect to the WGS84 reference frame.

> Note:
> In iOS, this property is declared as `nonatomic`. In macOS, it is declared as `atomic`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)