Everyday & Measurement

Storage Capacity Calculator

Estimate how many files fit on a drive, with decimal GB versus binary GiB units and a reserve-space allowance.

Your inputs

Example values are filled in. Replace them with yours.

Calculator values

Your result

Example result

Complete files that fit

11,520

Usable capacity
115.2 GB
Usable capacity in binary units
107.2884 GiB
Reserved space
12.8 GB
Space after these files
0 MB
Save or compare

Saved calculations

Save up to five results in this browser. Select up to three to compare.

    How to use the calculator

    1. Read the unit used by the drive maker or operating system and choose GB, GiB, or TB.
    2. Enter a representative average file size with its matching unit.
    3. Allow reserve space, then read the whole-file count and capacity in both GB and GiB.
    4. Select Calculate to update the answer and breakdown. Select Reset to bring back the example.

    Formula

    Usable bytes = capacity in bytes × (1 − reserve percentage ÷ 100). Files that fit = floor(usable bytes ÷ bytes per file). Decimal units use powers of 1000; binary units use powers of 1024.

    Worked example

    128 GB with 10% reserved provides 115.2 GB for files. At 10 MB per file, 11,520 complete files fit.

    Understanding your result

    GB and GiB represent different byte counts. A capacity reported in GiB is numerically smaller than the same capacity reported in GB.

    Assumptions and limits

    An estimate using average file size. Formatting, metadata, operating-system files, compression, and variable file sizes affect real capacity. Reserved space is a user choice, not a measured filesystem overhead.

    Common questions

    Why does a 128 GB drive show fewer GiB?

    GB uses 1,000,000,000 bytes and GiB uses 1,073,741,824 bytes. The labels represent different unit sizes.

    Does the answer include folders and metadata?

    Not individually. Use the reserve allowance for overhead and remember that real file sizes vary.

    Method and references

    Formula and examples checked 2026-12-04. How we check calculations.