The cost of Salesforce file storage comes down to your allocation: most paid editions include 10 GB of file storage per org. Space beyond your edition's allocation is extra file storage you buy from Salesforce, priced on request.
So the cheapest space is the space you already have. The sections below cover what counts toward it, how much each edition includes, and how to bring usage down before you buy more.
What counts toward Salesforce file storage?
Salesforce Help splits storage into data storage for records and file storage for files. File storage covers attachments, Files home, Salesforce CRM Content, Chatter files (including user photos), the Documents tab, the custom File field on Knowledge articles and Site.com assets.
Salesforce's own file storage article names Documents, Photos, Attachments and Content Bodies as the most common contributors. It adds that Content Bodies "typically contribute the largest portion of Salesforce file storage usage."
How do the file types differ?
Each place a user can store a file has its own purpose and upload limit. The table below summarizes the differences between Files, CRM Content, Knowledge, Documents and Attachments from Salesforce Help.
| Where the file lives | What it's for | Maximum file size |
|---|---|---|
| Files home (Salesforce Files) | Uploading, sharing and collaborating on files | 2 GB |
| Salesforce CRM Content | Publishing official corporate files to coworkers and customers | 2 GB, lower through some APIs |
| Salesforce Knowledge | Knowledge base articles | 5 MB in Classic, 2 MB in Lightning |
| Documents tab | Web resources such as logos, not tied to a record | 5 MB |
| Attachments | Files attached to a specific record | 25 MB for file attachments, 2 GB for feed attachments |
Records count against data storage, which has its own limit, so freeing file space doesn't free record space. Our guide to Salesforce storage limits covers data storage and what happens when either pool runs out.
How much file storage does each Salesforce edition include?
Salesforce's Data and File Storage Allocations page gives 10 GB of file storage per org on Contact Manager, Group, Professional, Enterprise, Performance and Unlimited. Essentials and Starter get 1 GB per org, while Developer and Personal get 20 MB.
The table below lists the file storage per org for each edition, from that page. Your org's actual figure, including any storage you've added, shows on the Storage Usage page in Setup.
| Salesforce edition | File storage per org |
|---|---|
| Contact Manager, Group, Professional, Enterprise, Performance, Unlimited | 10 GB |
| Essentials, Starter | 1 GB |
| Developer, Personal | 20 MB |
What drives the cost of Salesforce file storage?
The bill only grows once usage passes your allocation. From then on, the Your Account app is where admins buy products such as extra file storage, a paid add-on with prices on request.
Old versions add up too. Salesforce Help recommends that admins clean up unnecessary files or old versions on a regular basis, and run periodic cleanup if the org expects high file uploads.
Archiving tools have a price of their own. Salesforce's Archive app, with its Storage Analyzer, is available at an additional charge, and our post on Salesforce storage costs compares the wider cost levers.
How do you check Salesforce file storage usage?
In Setup, enter Storage Usage in the Quick Find box and select Storage Usage. The Storage Usage page shows available data and file storage, storage per record type, the top users by storage and the largest files in order of size.
To see one person's files, open their user record and click View next to Used File Space. The page shows only current figures, and Salesforce says there's no standard way to track your org's historical storage usage, so record the numbers yourself each month.
How do you measure file storage with SOQL?
The same Help article gives sample queries that sum file sizes in bytes by object. They cover the Document, Attachment, ContentVersion and ContentDocument objects:
SELECT SUM(BodyLength) FROM DocumentSELECT SUM(BodyLength) FROM AttachmentSELECT SUM(ContentSize) FROM ContentVersionSELECT SUM(ContentSize) FROM ContentDocument
Query results can come in lower than the Setup totals, because not every file is visible to the person running the query. The fix is the Query All Files permission, which requires View All Data and View All Records.
How do you reduce Salesforce file storage?
Salesforce's own guidance starts with finding and deleting files nobody needs. The steps below follow it, then add the external storage and archive options.
Find and delete large or unneeded files
Salesforce Help sets out a recommended approach in five steps:
- Open Storage Usage in Setup to find the biggest contributors
- Give the admin the Query All Files permission
- Run SOQL queries to see consumption by object
- Review large or unneeded files on ContentDocument, ContentVersion, Attachment and Document
- Delete them with Developer Console, Workbench, Data Loader or another API tool
Content Body records can't be queried or deleted directly. Salesforce says to delete ContentDocument and ContentVersion records instead, which removes the file content and frees the space.
Back up before any mass delete, and check your retention rules first. Our guide to Salesforce data retention policies covers what you may need to keep and for how long.
Know whether you have Files or attachments
In Lightning Experience, a document uploaded to the Notes and Attachments related list is added as a Salesforce File, whatever the setting. In Classic, an admin setting does the same for new uploads.
That setting doesn't convert existing Attachment records, and Classic email attachments stay attachments. Older orgs can hold both kinds, so run the cleanup queries against Attachment as well as ContentVersion.
Link external files with Files Connect
Files Connect lets users reach files in external sources such as Google Drive and SharePoint from Salesforce. Files Connect for cloud-based sources is available in Professional, Enterprise, Performance, Unlimited and Developer Editions.
A shared external file is either a copy stored in Salesforce or a reference to a file stored outside Salesforce, and your admin decides which. References keep large documents in the system they came from, so choose them for content that already lives in SharePoint or Google Drive.
Archive older records outside the org
Archiving moves older records to low-cost storage you control that stays available for audits, compliance and reporting. Our guides to Salesforce data archiving solutions and historical data storage compare the approaches.
Should you buy more file storage or clean up first?
Each route changes your file storage bill in a different way. The table below sums up the options above, using the Salesforce Help and Flosum pages cited in this post.
| Option | What it changes | Cost to expect |
|---|---|---|
| Buy extra file storage | Raises your limit | Paid add-on through the Your Account app; price on request |
| Delete large files and old versions | Lowers usage inside your current limit | Admin time, with a backup first |
| Files Connect references | Keeps files in Google Drive, SharePoint or other sources | The external system you already use |
| Salesforce Archive | Archives old or inactive data and shows the top objects by storage | Available at an additional charge |
| Flosum Backup & Archive | Backs up files and attachments outside Salesforce and archives older records | Flosum product; ask Flosum for pricing |
For data storage alongside files, our post on how to reduce data storage costs covers tiering, compression and lifecycle rules.
Where Flosum fits
Flosum Backup & Archive runs in Flosum’s cloud or in your own cloud.
Flosum Backup & Archive protects Salesforce data, metadata, files, attachments and object relationships. It archives older records to low-cost storage you control, with policy-driven retention and in-place query access.
Backups and archives are encrypted at rest and in transit, and our Salesforce backup and recovery strategy guide shows where they fit.
FAQs
How much file storage does Salesforce include?
Contact Manager, Group, Professional, Enterprise, Performance and Unlimited orgs get 10 GB per org, and Essentials and Starter get 1 GB. Developer and Personal Editions get 20 MB.
Can you buy more Salesforce file storage?
Yes. Extra file storage is one of the products admins can add in the Your Account app, as a paid add-on with prices on request.
Do Files Connect files use Salesforce file storage?
It depends on how your admin shares them. A copy is stored in Salesforce, while a reference points to the file in the external system.
Why does my SOQL total differ from the Storage Usage page?
The person running the query may not see every file, for example files in libraries or groups they don't belong to. Salesforce suggests the Query All Files permission for a complete count.
Can Salesforce show file storage growth over time?
Not by default. Salesforce says the Storage Usage page shows current usage only, so keep your own monthly record to spot growth.
Book a demo to see how Flosum Backup & Archive protects your Salesforce files and keeps older records out of your org.
Thank you for subscribing




