<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMotion",
  "identifier" : "/documentation/CoreMotion/CMPedometerData",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Motion"
    ],
    "preciseIdentifier" : "c:objc(cs)CMPedometerData"
  },
  "title" : "CMPedometerData"
}
-->

# CMPedometerData

Information about the distance traveled by a user on foot.

```
class CMPedometerData
```

## Overview

You do not create instances of this class yourself. Instead, you use a [`CMPedometer`](/documentation/CoreMotion/CMPedometer) object to request pedometer data from the system. The data for each request is packaged into an instance of this class and delivered to the handlers you registered with the pedometer object.

## Topics

### Getting the Dates

[`startDate`](/documentation/CoreMotion/CMPedometerData/startDate)

The start time for the pedometer data.

[`endDate`](/documentation/CoreMotion/CMPedometerData/endDate)

The end time for the pedometer data.

### Getting the Pedestrian Data

[`numberOfSteps`](/documentation/CoreMotion/CMPedometerData/numberOfSteps)

The number of steps taken by the user.

[`distance`](/documentation/CoreMotion/CMPedometerData/distance)

The estimated distance (in meters) traveled by the user.

[`averageActivePace`](/documentation/CoreMotion/CMPedometerData/averageActivePace)

The average pace of the user, measured in seconds per meter.

[`currentPace`](/documentation/CoreMotion/CMPedometerData/currentPace)

The current pace of the user, measured in seconds per meter.

[`currentCadence`](/documentation/CoreMotion/CMPedometerData/currentCadence)

The rate at which steps are taken, measured in steps per second.

### Getting the Floor Counts

[`floorsAscended`](/documentation/CoreMotion/CMPedometerData/floorsAscended)

The approximate number of floors ascended by walking.

[`floorsDescended`](/documentation/CoreMotion/CMPedometerData/floorsDescended)

The approximate number of floors descended by walking.



---

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)