How to use the calculator
- Read the unit used by the drive maker or operating system and choose GB, GiB, or TB.
- Enter a representative average file size with its matching unit.
- Allow reserve space, then read the whole-file count and capacity in both GB and GiB.
- 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.