---
title: bodyMassIndex
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkquantitytypeidentifier/bodymassindex
---

# bodyMassIndex

A quantity sample type that measures the user’s body mass index.

## Declaration

```swift
static let bodyMassIndex: HKQuantityTypeIdentifier
```

## Discussion

Discussion These samples use count units (described in HKUnit) and measure discrete values (described in HKQuantityAggregationStyle).

## See Also

### Related Documentation

- [HKQuantityTypeIdentifier](healthkit/hkquantitytypeidentifier.md)
- [HKQuantitySample](healthkit/hkquantitysample.md)
- [HKQuantity](healthkit/hkquantity.md)

### Body measurements

- [height](healthkit/hkquantitytypeidentifier/height.md)
- [bodyMass](healthkit/hkquantitytypeidentifier/bodymass.md)
- [leanBodyMass](healthkit/hkquantitytypeidentifier/leanbodymass.md)
- [bodyFatPercentage](healthkit/hkquantitytypeidentifier/bodyfatpercentage.md)
- [waistCircumference](healthkit/hkquantitytypeidentifier/waistcircumference.md)
