<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKQuantityTypeIdentifier/stairDescentSpeed",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@HKQuantityTypeIdentifierStairDescentSpeed"
  },
  "title" : "stairDescentSpeed"
}
-->

# stairDescentSpeed

A quantity sample type measuring the user’s speed while descending a flight of stairs.

```
static let stairDescentSpeed: HKQuantityTypeIdentifier
```

## Discussion

This is a measurement of how fast the user walks down stairs. The system automatically records stair descent samples on Apple Watch Series 5 or later. The user must walk down a 10-foot (3-meter) flight of steps while wearing the watch. The system records 20 samples on a typical day; however, some days may go over 100 samples, for example if the user goes on a long hike. The watch doesn’t record stair descent speed samples if the user’s wheelchair status is on.

These samples use distance/time units (described in [`HKUnit`](/documentation/HealthKit/HKUnit)) and measure discrete values (described in [`HKQuantityAggregationStyle`](/documentation/HealthKit/HKQuantityAggregationStyle)). For example, the following code shows two ways to create a meters/second unit. The first uses explicit constructors, while the second initializes the unit from a string.

```swift
let mps = HKUnit.meter().unitDivided(by: HKUnit.second())
let mpsFromString = HKUnit(from: "m/s")
```

The sample’s [`quantity`](/documentation/HealthKit/HKQuantitySample/quantity) property represents the average descent speed between the sample’s [`startDate`](/documentation/HealthKit/HKSample/startDate) and [`endDate`](/documentation/HealthKit/HKSample/endDate) properties.

## See Also

[`HKDevicePlacementSide`](/documentation/HealthKit/HKDevicePlacementSide)

Values that indicate the placement of the device that measured a sample.



---

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)