Storage estimate calculator
Plan storage from row count, row size, retention, replication and compression. Enter your values and see the formula, your numbers plugged in and every step of the working. Free, no sign-up, SI and imperial units.
Formula
S_raw = rows/day × bytes/row × days S = S_raw × replication / compression
Inputs
- New rows (records) per day (r)
- Average size per row (b), in B or other units
- Retention period (d)
- Replication factor (k)
- Compression ratio (e.g. 4 means 4:1) (c)
Worked example: 1 million 500-byte rows a day, kept a year, 3 copies, 4:1 compression
- New rows (records) per day r = 1000000
- Average size per row b = 500 B
- Retention period d = 365
- Replication factor k = 3
- Compression ratio (e.g. 4 means 4:1) c = 4
- S_raw = 1,000,000 × 500 B × 365 days = 1.825 × 1011 B
- S = 1.825 × 1011 × 3 ÷ 4 = 1.369 × 1011 B
- Add headroom (often 20–30 %) for indexes, temporary files and growth.
Answer: Storage needed S = 136.875 GB; Raw data (one copy, uncompressed) S_raw = 182.5 GB; Growth per day (stored) ΔS = 0.375 GB
More data engineering calculators
- Data transfer time: How long it takes to move data over a network link.
- Event throughput: Bandwidth and daily volume of a streaming data pipeline.
- Sample size (survey / A-B test): How many samples you need for a given margin of error.
- Unix timestamp converter: Convert a Unix timestamp to a UTC date and time.
Data Engineering formula sheet · All calculators · Practice problems