Toolvito

Works on this device

Data Retention Cost Calculator

Work out how much data you keep and what it costs when data stays for a set time and then is deleted. Type how much new data arrives each month and the storage tiers it moves through, with your own price per GB-month. See the cost once the store has filled up, or month by month with growth.

Enter your values

For the same amount of new data every month: how much data each tier holds and what it costs each month, once the oldest data is being deleted.

Your values

Use the same GB as your price list: some providers count 1 GB as 1,000,000,000 bytes, others as 1,073,741,824 bytes.

Only a label for the results, such as USD or EUR.

Storage tiers, in the order data moves through them

One row for each tier. The prices are examples: type the prices of your own provider or plan. After the last tier the data is deleted.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use the data retention cost calculator

  1. Type how much new data arrives each month, in GB, such as logs, backups or records.
  2. Add the storage tiers in the order data moves through them, with the months data stays in each and your price per GB-month.
  3. Choose Cost once the store has filled up for the steady monthly cost, or Month by month, with growth to see each month from the start.
  4. Choose Calculate. Download the table as a CSV file if you need it.

The formulas

  • Retention = the months of all tiers together. After the last tier the data is deleted.
  • Steady state: data in a tier = new data per month × months in the tier. Cost per month = Σ data in each tier × its price per GB-month. Cost per year = 12 × cost per month.
  • Cost to keep 1 GB for its whole retention = Σ months in each tier × its price.
  • Month by month: new data in month m = new data of month 1 × (1 + growth)^(m − 1). Data written in month m is in a tier from month m + (months of the tiers before it), for that tier's months.
  • Money is worked out exactly and rounded to whole cents for each month or tier; totals are the sums of the rounded lines.

Worked example

500 GB of new data each month, kept 1 month in hot storage at 0.02 per GB-month, 2 months in cool storage at 0.01 and 9 months in an archive at 0.002: the retention is 12 months and the store holds 6,000 GB. The cost per month is 500 × 1 × 0.02 + 500 × 2 × 0.01 + 500 × 9 × 0.002 = 10 + 10 + 9 = 29.00, or 348.00 per year.

Month by month with 2% growth, month 1 costs 500 × 0.02 = 10.00, and month 2 costs 510 × 0.02 + 500 × 0.01 = 15.20.

The law and your policy decide

How long you must or may keep data depends on the law that applies to you and on your organisation's own policy. This tool does not say how long to keep anything: it works out the storage and the cost for the periods you type.

Limits you should know

  • The starting prices are examples for trying the tool, not the prices of any provider. Type the prices of your own plan.
  • Storage plans may also charge for reading, writing, moving data between tiers, deleting early and minimum sizes. Those costs are not in this sum.
  • Data is counted as written at the start of each month, which gives a little more data than writing it evenly through the month.
  • Compression, copies in other regions and backups of the data are not counted unless you include them in the new data per month.

Related tools