<!--
{
  "availability" : [
    "iOS: 27.2.0 -",
    "iPadOS: 27.2.0 -",
    "macCatalyst: 27.2.0 -",
    "macOS: 27.2.0 -",
    "tvOS: 27.2.0 -",
    "visionOS: 27.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BackgroundAssets",
  "identifier" : "/documentation/BackgroundAssets/SizeCalculationMethod/allocated",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Background Assets"
    ],
    "preciseIdentifier" : "c:@E@BASizeCalculationMethod@BASizeCalculationMethodAllocated"
  },
  "title" : "SizeCalculationMethod.allocated"
}
-->

# SizeCalculationMethod.allocated

A calculation method that counts the number of bytes that the file system allocated for a file.

```
case allocated
```

## Discussion

The result of an “allocated” size calculation for a file roughly corresponds to the number of bytes that would newly be made available if the file were removed.

---

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)