ORGZIP / GUIDES

Salesforce Data Storage: how it is counted and how to reduce it

Salesforce keeps Data Storage (records) and File Storage (files) in two separate pools, each with its own limit. To reduce Data Storage, find the few objects that hold most of it, delete or archive what you do not need, and measure the result in Setup → Storage Usage.

  • By OrgZip
  • Updated November 27, 2026

Two separate pools

Data Storage holds records: Accounts, Contacts, Cases, EmailMessages, Tasks, Events and your custom objects. File Storage holds Files, Attachments and similar content. Filling one pool does not use up the other, so spare File Storage does not help when Data Storage is full.

How much you get depends on your edition, your number of licenses and what you bought. Sources disagree on the exact per-license allocations, so read them from Setup → Storage Usage and your order form, not from a blog post, including this one.

Usage is calculated asynchronously. After a large delete or import, the page can take a while to catch up, so wait before concluding that a cleanup did nothing.

Why this matters for archiving

A 100% Native archive moves records out of Data Storage and stores them as compressed ZIP snapshots in File Storage. That only helps if File Storage has the headroom. The install guide covers how to check.

How storage is counted

Many guides say each record takes about 2 KB. That is a fair rule of thumb for simple records, and it is why record counts predict storage for most objects. It is not true for everything. In our test org, email bodies were counted by size: 300 emails of about 96 KB each added about 28 MB. See how much storage a Salesforce email uses for the measurements and their limits.

Two practical consequences follow. First, record count alone can mislead: a million small records can use less than a hundred thousand large emails. Second, the object at the top of Storage Usage is not always the one with the most records.

Where to read storage numbers
What you wantWhere to lookCaveat
Total Data and File StorageSetup → Storage Usage, top of the pageUpdates with a delay. The org-level counter we saw reported whole MB only.
Largest objects by storageSetup → Storage Usage, Data Storage tableSort by storage, not by record count.
Largest filesReports on ContentDocument and ContentVersionCounts against File Storage, not Data Storage.
Your allocation and priceYour Salesforce order form and account teamSupport generally cannot raise limits on request; extra storage is a commercial change.

Seven ways to reduce Data Storage

Ordered from least to most effort. Combine them.

Seven ways to reduce Salesforce Data Storage
LeverEffortReversible?History still readable?
Delete test data, stale imports and duplicatesLowOnly until the Recycle Bin retention endsNo
Set a retention window for old Tasks and EventsMediumSame as aboveNo, unless archived first
Export, then deleteMediumRestore is manual and IDs changeOutside Salesforce only
Trim or stop storing large email contentMediumDepends on the settingReduced
Archive to Big Objects you build yourselfHigh (development)Depends on your buildOnly through custom UI
Archive with an app or Salesforce ArchiveMediumUsually restorableYes, through the tool
Buy more storageLowRecurring costYes

The trade-offs between the archive options are in Salesforce archiving options compared. If Data Storage is already full, start with what to do first.

What storage costs, and how to work it out

Salesforce prices extra storage by contract, and published figures disagree, so we do not quote one. Use yours. The arithmetic is short:

Annual net benefit = Data Storage you could avoid buying (GB) × your cost per GB per year − the annual archive plan − your other annual costs.

Count only storage you would actually avoid buying or remove at renewal. Reclaimed capacity that you were never going to pay for is not a saving. The storage cost calculator runs this with your inputs, in your browser, and shows a negative result as a cost.

Questions

What is the difference between Data Storage and File Storage in Salesforce?

They are two separate pools. Data Storage holds records such as Accounts, Cases, EmailMessages, Tasks and custom objects. File Storage holds Files, Attachments and similar content. Filling one pool does not use up the other. Check Setup → Storage Usage and your contract for your own allocations.

Does every Salesforce record use the same amount of storage?

Many guides quote a flat 2 KB per record, and that is a reasonable rule of thumb for simple records. It is not true for everything. In our test org, email bodies were counted by their size, so large HTML emails used far more than 2 KB each. Measure your own largest objects instead of assuming.

What is the cheapest way to reduce Data Storage?

Deleting data you do not need, after exporting anything you must keep. It costs nothing but time and cannot be undone once the Recycle Bin retention ends. Archiving costs money but keeps history readable.

Is it cheaper to store archived data in File Storage?

A 100% Native archive moves records from Data Storage into compressed ZIP snapshots in File Storage. Whether that is cheaper depends on your contract price for each pool and how much headroom you already have in File Storage. We do not quote Salesforce prices because they vary by contract.

How do I know whether archiving will save money?

It saves cash only if it lets you avoid buying storage or reduce a renewal. Compare the Data Storage you could avoid buying, at your contract price per GB per year, with the annual archive plan and your other costs. The calculator on this site does that arithmetic with your own inputs.

Keep reading

Salesforce Data Storage is full: what to do

What happens at the limit, what frees space, and a checklist for the first 24 hours.

Read the guide

How much storage does a Salesforce email use?

EmailMessage storage measured in a test org: body size, the Recycle Bin, and what archiving freed.

Read the guide

Archive Salesforce Tasks and Events

Why activity history piles up, what to keep, and the Task that every outgoing email creates.

Read the guide

See your own numbers before you decide.

The read-only assessment estimates Data Storage you could free and File Storage the archive would use. It changes nothing in your org.

Get a read-only assessment