---
title: bodyMass
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkquantitytypeidentifier/bodymass
---

# bodyMass

A quantity sample type that measures the user’s weight.

## Declaration

```swift
static let bodyMass: HKQuantityTypeIdentifier
```

## Mentioned in

Saving data to HealthKit

## Discussion

Discussion These samples use mass 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)
- [bodyMassIndex](healthkit/hkquantitytypeidentifier/bodymassindex.md)
- [leanBodyMass](healthkit/hkquantitytypeidentifier/leanbodymass.md)
- [bodyFatPercentage](healthkit/hkquantitytypeidentifier/bodyfatpercentage.md)
- [waistCircumference](healthkit/hkquantitytypeidentifier/waistcircumference.md)
