Storage Unit Converter
Convert between bits, bytes, kB, MB, GB, TB, PB and their binary counterparts - with both conventions labelled.
How much storage a set of files needs, from how many there are and how big they average.
4 inputs · Free, no sign-up ·
Estimates only. Rates, fees and specifications change. Confirm against the official source before you rely on a figure — see our disclaimer.
A count and an average give a total. Twenty thousand photographs at four megabytes each is eighty gigabytes, and knowing that before buying a drive is the whole point.
The result is shown in both conventions — decimal GB as drives are sold, and binary GiB as your operating system will report — because the two differ by about 7% at that scale.
Total = Number of files x Average size
With margin = Total x (1 + margin / 100)
| Symbol | Meaning | Unit |
|---|---|---|
| Files | How many you have | |
| Average | Average size of one | MB |
| Margin | Spare room you want | % |
5,000 files averaging 4.2 MB, with a 20% margin:
5,000 x 4.2 = 21,000 MB = 21 GB
21 x 1.20 = 25.2 GB (which is 23.47 GiB)
Multiply by the average size. At 4.2 MB each that is 21 GB, or about 25 GB with a fifth left spare. Phone photos and raw camera files differ by a factor of ten, so use your own average.
Because storage is sold in decimal gigabytes of 1,000,000,000 bytes and reported by most operating systems in binary ones of 1,073,741,824. Both describe the same data; the labels differ.
Select a folder and look at the properties: it gives the total size and the number of files. Divide one by the other.
Convert between bits, bytes, kB, MB, GB, TB, PB and their binary counterparts - with both conventions labelled.
Why a 1 TB drive shows as 931 GB, and roughly what is left after formatting and a recovery partition.
How much storage a backup plan needs, allowing for copies, retained versions and growth.
How large a backup drive one computer needs, allowing for versions and for the data growing.
Cost per gigabyte and per terabyte for a drive, so two of them can be compared honestly.
What an upgrade leaves you with, and how far it gets you towards a target.