---
title: HKMetadataKeyAverageMETs
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkmetadatakeyaveragemets
---

# HKMetadataKeyAverageMETs

A key that indicates the average Metabolic Equivalent of Task (METs) during a workout.

## Declaration

```swift
let HKMetadataKeyAverageMETs: String
```

## Discussion

Discussion Set this key on a workout. Set its value to an HKQuantity object with a METs unit (for example, kcal/(kg*hr)). For more information on creating complex units, see HKUnit. The value represents the average intensity over the entire workout’s duration.

## See Also

### Intensity

- [HKMetadataKeyPhysicalEffortEstimationType](healthkit/hkmetadatakeyphysicaleffortestimationtype.md)
