Calculator
Storage Estimation Calculator
Estimate total storage from records per day, record size, index overhead, replication and retention, with optional yearly growth.
Results
Total storage
68.44 TB
With overhead and every replica, at the end of retention.
- Raw data over retention
- 18.25 TB
- Storage added per day (year 1)
- 37.5 GB
- Raw data per day (year 1)
- 10 GB
- Raw data in year 1
- 3.65 TB
How it works
Storage estimates compound several multipliers, and each one is easy to forget. Start with the raw bytes written per day, then add what the database stores on top of your payload: indexes, row and page headers, and free space left by updates and deletes. Then multiply by the number of copies kept for durability and by how long data is retained.
Replication is the multiplier people most often leave out. Three replicas triple the disk you pay for even though the application sees one copy. Backups and snapshots are a separate budget again.
Traffic rarely stays flat for years, so the calculator can grow daily writes by a fixed percentage each year. With 30% yearly growth, five years of retention holds about 9 years of today's write volume rather than 5. Use the result to choose between one large database, sharding, or moving cold data to cheaper object storage.
Formula
- raw per day = records per day × record size
- stored per day = raw per day × (1 + overhead) × replication factor
- year multiplier = 1 + (1 + g) + (1 + g)² + … over the retention years (= years when g = 0)
- raw total = raw per day × 365 × year multiplier
- total storage = raw total × (1 + overhead) × replication factor
Inputs
| Input | Unit | Range | Default |
|---|---|---|---|
| New records per day | records | 0 – 1,000,000,000,000 | 5,000,000 |
| Average record sizeThe payload as stored, after compression if any. | KB | 0 – 1,000,000,000 | 2 |
| Index and storage overheadIndexes, headers and free space; 20 to 50% is typical for a relational table. | % | 0 – 500 | 25 |
| Replication factor | copies | 1 – 10 | 3 |
| Retention | years | 0.1 – 50 | 5 |
| Yearly growth in writes | % | 0 – 1,000 | 0 |
Assumptions
- Decimal units: 1 KB = 1,000 bytes, 1 TB = 10¹² bytes. A drive or volume sold as 1 TB holds that many bytes.
- A year has 365 days. Growth applies once a year, compounding; a fractional final year counts pro rata.
- Records are kept for the whole retention period and then deleted. Updates in place are covered by the overhead figure.
- Backups, snapshots, write-ahead logs and free disk headroom (keep disks below roughly 70 to 80% full) are not included.
Worked example
An event store writes 5 million records a day at about 2 KB each. Indexes and storage overhead add 25%, data is kept on 3 replicas for 5 years, and the write volume is flat.
| New records per day | 5,000,000 records |
|---|---|
| Average record size | 2 KB |
| Index and storage overhead | 25 % |
| Replication factor | 3 copies |
| Retention | 5 years |
| Yearly growth in writes | 0 % |
| Total storage | 68.44 TB |
|---|---|
| Raw data over retention | 18.25 TB |
| Storage added per day (year 1) | 37.5 GB |
| Raw data per day (year 1) | 10 GB |
| Raw data in year 1 | 3.65 TB |
10 GB of raw data a day becomes 37.5 GB of disk a day once overhead and replicas are counted. Over five years that is 18.25 TB of raw data and about 68.4 TB of provisioned storage, too much for one comfortable database node, so plan for sharding or tiering old data to object storage.