---
title: sum
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkcumulativequantityseriessample/sum
---

# sum

The sum of all the quantities in the series.

## Declaration

```swift
@NSCopying var sum: HKQuantity { get }
```
