vasilenko.info

Disk and backup space calculation

/en/calc/disk-space/ works Runs in the browser

Space runs out not because of files, but because of restore points: the “seven daily, four weekly, three monthly” scheme means fourteen copies. Enter your data, growth rate, storage scheme, and disk parameters — the calculator will show a monthly breakdown, the month when the disk will fill up, and how compression and deduplication will affect it. No data is sent anywhere; the calculation link is built in the address bar.

promoTwenty years of notes on websitesHow we did it in 2008 and what still works today.Open

Storage calculation

Change the numbers on the left—the result, table, and chart update as you type.

How it is calculated
Volume units The toggle also converts values already entered: a 1 TB disk on the plan equals 931 GiB as shown by the system.

Data only, without copies: files, databases, email, logs, and uploads. Stored data is a number from zero.

The difference between two measurements, not a guess. Growth cannot be calculated from a single measurement. Growth is a number from zero.

How growth is specified Monthly volume produces a straight line. Percentages are based on how much data has accumulated by that month, so the line curves upward.

How far ahead to calculate. The monthly table and chart cover exactly this period. The horizon is a whole number from 1 to 600 months.

Backup scheme With “full plus incremental backups,” daily points are incremental, while weekly, monthly, and yearly points are full backups: this is how a typical schedule with one active full backup per week works.

How many of the most recent daily points are stored at the same time. The number of copies is a whole number from 0 to 500.

Usually four—weekly copies for the past month. Number of copies—an integer from 0 to 500.

These restore points are usually what consume the most storage. Number of copies—an integer from 0 to 500.

A multi-year archive. Enter zero if you don't need one. Number of copies—an integer from 0 to 500.

The share of data that changes between copies. This is the size of the incremental copy. Change must be a number from 0 to 100 percent.

2:1 is typical for databases and text. Use 1:1 for video and archives. Compression must be a number from 1 to 100.

Not every storage system supports it. If you're not sure, leave it at 1:1. Deduplication must be a number from 1 to 100.

The nominal capacity of one disk or the storage plan size. Disk capacity must be greater than zero.

That many identical disks. Without an array, use one. The number of disks must be an integer from 1 to 1000.

Array level Without an array, disk capacities are simply added together. A mirror provides the capacity of one disk, RAID 5 loses one disk, RAID 6 loses two, and RAID 10 provides half the total capacity.

The share of the volume that must remain empty for snapshots, temporary database copies, and logs between cleanups. Reserve must be a number from 0 to 90 percent.

Per gigabyte per month under your plan. Enter zero if you own the disk and pay nothing. Cost must be a number of zero or higher.

Currency
There is no “Calculate” button: the result updates automatically.

Minimum drive size

GB

Data at end of term
Restore points
Backups take up
Data with backups
Usable capacity
Threshold with buffer
Free space remaining
Added per month
The drive will fill up

Capacity usage at end of term

The blue bar shows data with backups; the black marker shows the threshold below which less than the buffer remains free.

Will take up threshold

The browser does the math: no data is sent anywhere. “Calculation link” puts the values in the page URL, so you can share the calculation.

Monthly capacity usage

The line shows how much space is occupied by data and backups by that month. The solid line shows usable capacity; the dashed line shows the threshold below which less than the buffer remains free.

at the end of term threshold with buffer

What compression and deduplication do

Backups at the end of term in four scenarios
ScenarioBackupsIncluding data

Monthly table Collapse monthly table
Month by month
MonthDataBackups TotalAvailableUntil threshold

Calculation inputs Collapse input data
What goes in the fields
MetricValue
promoCalculate ROI at the same timeCampaign payback based on spend and revenue.Open

How to use it

  1. In “data currently used,” enter only the data itself, without copies: use the hosting panel, du -sh, or the volume properties. The calculator will calculate the copies from the storage scheme.

  2. Enter growth as the difference between two measurements taken at least a month apart. If the data grows by a percentage, switch the method: percentage growth curves upward, and after three years the difference from linear growth becomes several times larger.

  3. Set the horizon to the period covered by your decision. Use one quarter through the end of the paid period, or three years through the end of the hardware’s service life.

  4. Copy the storage scheme from your backup settings as is: the number of daily, weekly, monthly, and yearly restore points stored at the same time. This is the main multiplier—fourteen points use fourteen times as much space as one full copy.

  5. Enter the compression and deduplication ratios shown in your storage report. If you do not know them, leave them at 1:1 and check the “what compression and deduplication do” table: it shows all four options at once.

  6. If the disks are combined into an array, enter their number and level: the usable capacity of RAID 6 with eight disks is six disks, not eight.

  7. Check the “Disk will fail” row—it shows the month and year. The monthly table below the chart shows how that date was calculated and can be exported to CSV.

promoBrowser task listNo account required—everything is stored on your device.Open

The formula and what it includes

Disk = (Data + Copies ÷ (Compression × Deduplication)) ÷ (1 − Reserve ÷ 100), Copies = Full × Data + Incremental × Data × Change ÷ 100

Gigabytes are decimal by default: 1 GB = 1000 MB, which is how hosting plans and disk packaging calculate capacity. The switch at the top converts both the fields and the result to binary gibibytes, as shown by the operating system. The “Full plus incremental” scheme counts daily points as incremental, and weekly, monthly, and yearly points as full. The “One full, then incrementals” scheme stores one full snapshot followed by a chain of changes; in practice, long-term points in this scheme are usually synthesized into full copies, so it provides a lower estimate, while “full only” provides an upper estimate.

Example breakdown: a 2 TB disk and a fourteen-point scheme

The input data is the same as the default field values: you can calculate it mentally and confirm that the tool is telling the truth.

  1. Data after 12 months: 200 + 5 × 12 = 260 GB.

  2. Restore points: 14. Under the selected scheme, the seven daily points are incremental, while the four weekly and three monthly points are full: 7 full and 7 incremental.

  3. Full copies: 7 × 260 = 1820 GB. Incremental copies: 7 × 260 × 3% = 54.6 GB. Total: 1874.6 GB.

  4. Compression at 2:1 cuts this in half: 937.3 GB. Deduplication at 1:1 changes nothing.

  5. Data and copies combined: 260 + 937.3 = 1197.3 GB. A 20% reserve on the volume means the threshold is 1600 GB.

There is enough space: by the end of the year, 1197.3 GB of 2000 GB is used, leaving 803 GB free—in the panel, this appears as 1.2 TB of 2 TB because it automatically converts large values to terabytes. This calculation requires a disk of at least 1497 GB, or 1.5 TB. Growth consumes about 23 GB per month, so the threshold will be crossed in about 29 months. Without compression, the same copies would occupy 1874.6 GB, and the threshold would already be exceeded today.

Frequently asked questions

promoAll toolsForty-four tools, all running in your browser.Open

Related calculators

1