<!--
{
  "documentType" : "article",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/units-and-quantities",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Units and quantities"
}
-->

# Units and quantities

Objects used to specify a quantity for a given unit, and to convert between units.

## Topics

### Units and quantities

  <doc://com.apple.healthkit/documentation/HealthKit/defining-and-converting-units-and-quantities>

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

An object that stores a value for a given unit.

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

A class for managing the units of measure within HealthKit.

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

Prefixes that can be added to SI units to change the order of magnitude.



---

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)