---
title: totalDiskSpaceCapacity
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/mxdiskspaceusagemetric/totaldiskspacecapacity
---

# totalDiskSpaceCapacity

The total disk space capacity of the current device.

## Declaration

```swift
var totalDiskSpaceCapacity: Measurement<UnitInformationStorage> { get }
```

## Discussion

Discussion Calculate the amount of free space on this device by subtracting totalDiskSpaceUsedSize from this value.

## See Also

### Reading disk capacity and space

- [totalDiskSpaceUsedSize](metrickit/mxdiskspaceusagemetric/totaldiskspaceusedsize.md)
