Skip to content

How the file score is calculated

The file score measures how many of your store’s largest files are actually in use. Large files that are not referenced anywhere add unnecessary weight to your storefront without benefiting customers.

Scoring formula

Store Health looks at your top 50 largest files (by file size) in the Shopify Files library:

File Score = (files in use / total files checked) × 100

A file is counted as in use if it is referenced in at least one of:

  • A theme template or snippet
  • A metafield value (e.g. as a product image or custom file field)
  • A product, collection, page, or blog post

If there are fewer than 50 large files, all of them are checked. If no large files exist, the score is 100.

Weight in the overall health score

The file score contributes 10% of the total store health score.

Why this matters

Shopify loads files from its CDN, so unused files don’t directly slow down your live storefront today — but they do:

  • Inflate your Shopify file storage usage
  • Make it harder to maintain your media library
  • Create confusion when migrating themes or stores (are those files needed?)

How to improve your score

  1. Open the Files section of your scan results to see which large files are flagged as unused.
  2. Check whether the file was uploaded by an app that has since been uninstalled.
  3. Search your theme code and product/collection content to confirm the file is truly unused.
  4. Delete confirmed orphans from Settings → Files in the Shopify admin.