---
title: speed
framework: corelocation
role: symbol
role_heading: Instance Property
path: corelocation/cllocation/speed
---

# speed

The instantaneous speed of the device, measured in meters per second.

## Declaration

```swift
var speed: CLLocationSpeed { get }
```

## Mentioned in

Getting heading and course information

## Discussion

Discussion This value reflects the instantaneous speed of the device as it moves in the direction of its current heading. A negative value indicates an invalid speed. Because the actual speed can change many times between the delivery of location events, use this property for informational purposes only. Special Considerations In iOS, this property is declared as nonatomic. In macOS, it is declared as atomic.

## See Also

### Getting speed and course information

- [speedAccuracy](corelocation/cllocation/speedaccuracy.md)
- [course](corelocation/cllocation/course.md)
- [courseAccuracy](corelocation/cllocation/courseaccuracy.md)
- [CLLocationSpeed](corelocation/cllocationspeed.md)
- [CLLocationDirection](corelocation/cllocationdirection.md)
- [CLLocationSpeedAccuracy](corelocation/cllocationspeedaccuracy.md)
- [CLLocationDirectionAccuracy](corelocation/cllocationdirectionaccuracy.md)
