Skip to content

Data Storage Cost Calculator

data-storage-cost-calculator
$

How this storage cost calculator works

It has three modes. Each uses your storage price per TB per month.

  • Growth: your storage grows by a fixed amount each month. The cost uses the average size over the period.
  • Compression savings: compares the cost of storing raw data with storing it compressed.
  • Retention model: for data that arrives daily and is deleted after a set number of days, such as logs or Kafka topics.

The formulas

Growth: Average storage = (Current + Current + Growth × Months) ÷ 2, then Monthly cost = Average storage × Price

Compression: Stored size = Raw size ÷ Ratio

Retention: Stored size = Data per day × Retention days ÷ Ratio × Replication factor

Worked examples

Growth: you store 10 TB today, add 2 TB a month, and pay $20 per TB per month over 12 months. You end at 34 TB, average 22 TB, so you pay about $440 a month or $5,280 for the year.

Retention: 2 TB arrives each day, you keep it 90 days, it compresses 4:1, and you keep 3 copies. That is 180 TB raw, 45 TB compressed and 135 TB stored, about $2,700 a month at $20 per TB.

Finding your price

Prices vary by provider, region and storage class, and they change over time. Check the current price on your provider's pricing page, for example Amazon S3, Google Cloud Storage or Azure Blob Storage. Note that cloud pages often price per GB; multiply by 1,000 for a price per TB.

Frequently asked questions

What does this leave out?

Request charges, data transfer (egress), minimum storage durations and retrieval fees for cold storage classes. These can be large, so check them separately.

Why does replication matter?

Systems such as Kafka and HDFS often keep 3 copies of each piece of data for safety, so you pay for 3 times the space. Managed object storage such as S3 includes its redundancy in the price.

Please note: results are planning estimates. Check your provider's current prices before you set a budget.

Share

One short email when a new calculator or article goes live. No spam, and you can unsubscribe in one click.