Why does a 4 TB drive show 3.64 TB?
You buy a 4 TB drive, plug it in and the operating system says 3.64 TB. Nothing is broken and nothing was sold to you short. Two different things are at work, and this calculator separates them so you can see where each gigabyte went.
The first is the unit. Drive makers count in powers of 1000: 1 TB is 1,000,000,000,000 bytes. Windows, Linux and most tools count in powers of 1024: 1 TiB is 1,099,511,627,776 bytes. The same 4,000,000,000,000 bytes is 3.638 TiB, and many systems still print that number with the label "TB". The second is the file system. Formatting a drive reserves space for metadata, journals and inode tables, and ext4 also holds back a share of blocks for root. That space exists, but you cannot store files in it.
The tool starts from the number on the label and shows four things: the usable space, what the operating system reports for the raw drive, what the file system takes, and, for ext4, what is reserved for root. You can add several drives, pick the file system, or type your own overhead. The overheads are estimates for a large, empty volume, not promises: real numbers depend on the options used at format time. Everything is calculated in your browser and nothing is uploaded.
How to calculate usable disk space
- Type the capacity written on the drive in Capacity on the label and choose the unit: GB, TB or PB. The tool opens with 4 TB.
- Set Number of drives if you want the total of several identical drives. The drives are added together, with no RAID loss. For that, see the RAID calculator.
- Choose the File system: none (raw drive), NTFS, exFAT, FAT32, ext4, XFS, Btrfs, APFS, HFS+ or ZFS. The estimate of each one is applied automatically.
- With ext4 a new field appears, Reserved for root (%). The default is 5, the value
mkfs.ext4uses. Lower it to 1 withtune2fs -m 1, or to 0 on a data-only disk, and set the same number here. - If you know the real overhead, fill Own file system overhead (%). It replaces the estimate of the chosen file system.
- Read the Result card. The main line is Usable space in TiB and GiB, with the share of the label it represents. Below it you see the label capacity, the raw drive as the operating system shows it, and the space taken by the file system.
Need to move the data once the disk is ready? The data transfer time calculator tells you how long the copy takes. To convert between TB and TiB for any other size, use the data size converter.
Examples
A raw 4 TB drive
With 4 TB, one drive and file system None (raw drive), the label promises 4 TB. The operating system shows 3.64 TiB, which is 3725.3 GiB. The loss of about 9 percent is only the unit: 4 x 10^12 / 1024^4.
The same drive formatted
These figures come from the formulas of the tool, for one 4 TB drive:
| File system | Taken by the file system | Usable space |
|---|---|---|
| None | 0 % | 3.64 TiB |
| NTFS | 0.5 % | 3.62 TiB |
| ZFS | 3.125 % (1/32) | 3.52 TiB |
| ext4, 5 % reserved | 1.56 % plus 5 % of the rest | 3.40 TiB |
With ext4 and the default reserve, the usable share is 93.5 percent of the label, and the reserved part alone is about 197 GB. Setting the reserve to 0 on a backup disk gives back 3.58 TiB.
Small drives and several drives
A 1 TB drive is 931.32 GiB and a 500 GB drive is 465.66 GiB, before any file system. Three 4 TB drives total 12 TB on the label, which is 10.91 TiB. An 8 TB drive is 7.28 TiB.
Your own overhead
If you formatted an NTFS volume and measured 10 percent lost, enter 10 in the own overhead field. A 4 TB drive then leaves 3.6 TB, or 3.27 TiB. The custom value replaces the file system estimate. Note that the ext4 root reserve still applies when ext4 is selected.
Common errors and how to fix them
- Enter the capacity written on the drive. The capacity field is empty or zero. Type the number from the label, such as 4 with unit TB.
- The number of drives must be 1 or more. The count is zero, negative or has decimals. Use a whole number from 1.
- The reserved share must be from 0 to 99. The root reserve is outside that range. A real ext4 reserve is usually between 0 and 5.
- The result is lower than expected for a mix of units. The unit is GB when the drive is TB, or the reverse. Check the unit selector, because TB and TiB differ by about 10 percent.
- The reserved-for-root line does not appear. It only shows for ext4. Other file systems have no such reserve.
- A real disk differs from the estimate. The estimates are for large, empty volumes. Compare with
df -hand use the own overhead field to match your case.
Frequently asked questions
Why does my 1 TB drive show 931 GB?
Because 1 TB on the label is 10^12 bytes and the system divides by 1024^3 to show GiB: 931.32. No space is missing. Only the unit changed.
Is the loss different for SSDs?
No. SSDs use the same decimal labels and the same file systems, so the numbers are the same. Hidden over-provisioning inside the drive is not counted in the label.
Can I recover the 5 percent that ext4 reserves?
Yes, on a data disk. Run tune2fs -m 1 /dev/sdX1, or -m 0, and set the same value in the tool. Keep the default on the disk that holds the system, since it protects you from a full disk.
Is anything uploaded?
No. The calculation runs in your browser and the numbers stay on your device.