How many times have you unboxed a new computer, phone, or external drive, only to be shocked when you realize it doesn't have as much storage space as it said on the box? That 512GB SSD might actually only hold 477GB, or your 1TB external drive might only have room for 931GB of files.

There are a few good reasons why this happens. Let's take a look at why advertised space on a drive isn't usually the same as actual space.

The Operating System and Pre-Installed Apps

The most basic reason that the actual disk space is lower than you expect is that there's already some data present on the drive when you buy it. This isn't the case for removable disks like flash drives or SD cards, but is a major factor with phones and pre-built computers.

When you buy a computer, the operating system (such as Windows or macOS) takes up a large chunk of space. These protected OS files are necessary for the system to run as intended, so there's no getting around them.

As an example, on our system, the C:\Windows folder takes up 25GB. That's roughly one-tenth of the entire available disk space.

Windows Folder Size Background

However, it's not just the OS files that take up space out of the box. Most operating systems include extra apps that you may or may not want. This includes everything from Windows 10 bloatware to useful built-in macOS apps like GarageBand.

While they're not technically part of the OS, they come bundled with it and thus take up room right away. You can usually remove these to regain space; check out our guide to freeing up storage space on Windows 10 for some tips.

How Computers Measure Space

While preinstalled apps are definitely a factor, the biggest reason you don't get the full amount of advertised space is that computers measure numbers differently than humans do.

Binary Numbers Explained

Computing uses standard value prefixes, including "kilo" for thousand, "mega" for million, "giga" for billion, "tera" for trillion, and so on. For a primer on these, we've looked at how many gigabytes are in a terabyte and more.

People, including hard disk manufacturers, use the decimal system, which measures numbers with a base of 10. Thus, when we say "500 gigabytes," we mean 500 billion bytes.

However, computers use the base 2 binary system, where all numbers are either 1 or 0. If you're not familiar, below is a list of the numbers 1-10 written out in binary:

        1
10
11
100
101
110
111
1000
1001
1010

As you can see, in binary, 2^1 represents the decimal value 1, 2^2 is equal to 4, 2^3 equals 8, 2^4 is the same as 16, and so on. Each new digit's place in binary increases the number's value by one power of two. 2^10, then, equals 1,024.

Binary and Decimal Measuring

Now we know why computers use 1,024 instead of 1,000 to define these common prefixes. To a computer, one kilobyte is 1,024 bytes, not 1,000 bytes as it is to people. This compounds as you move up the scale, so one megabyte is 1,024 kilobytes, and one gigabyte is 1,024 megabytes.

To see how this affects you, say you buy a 250GB external SSD. That disk contains 250,000,000,000 bytes, but the computer doesn't display it that way.

Working backward, we can divide by 1,024 three times (once to convert bytes to kilobytes, again to convert kilobytes to megabytes, and a final time to convert megabytes to gigabytes) to see how much space this actually is:

        250,000,000,000 / (1,024 * 1,024 * 1,024) = 232,830,643,653 bytes, or 232.83GB
    

Examining a 250GB drive in Windows shows its maximum space as 232GB, which is exactly what our above calculation found. That's a difference of about 18GB from the advertised amount.

Windows Disk Storage Space

And the larger the disk is, the bigger the difference between measured space and actual space. For example, a 1TB (1,000GB) disk has 931GB of space when plugged into a Windows computer.

Gigabyte vs. Gibibyte

After walking through this, you might wonder why such a disparity exists. Why don't hard drive manufacturers provide an accurate amount of space on their devices? Well, they technically do.

The correct definition of "kilo" is a power of 1,000. There's another name for a power of 1,024: "kibi." The International Electrotechnical Commission has published standards for measuring data in binary in order to resolve this confusion.

While a kilobyte (KB) represents 1,000 bytes, a kibibyte (KiB) represents 1,024 bytes. It's the same for mebibytes (MiB), gibibytes (GiB), tebibytes (TiB), and so on.

For some reason, Windows inaccurately uses the "GB" prefix when it's really measuring in gibibytes. Other operating systems, like macOS, correctly measure 1GB as one billion bytes. Thus, the same 250GB drive connected to a Mac would show that it has 250GB of total space.

Note that this is different than the difference between megabytes and megabits, which we've also explained.

Additional Disk Partitions

Aside from the above, another potential cause for a reduction in the total amount of space a drive has is additional partitions.

In case you weren't aware, you can separate physical hard disks into different logical sections, which is known as partitioning. Partitioning a hard drive allows you to install two different operating systems on one disk, among other uses.

When you buy a computer off the shelf, the manufacturer often includes a recovery partition on the disk. This contains data that allows you to reset your system in case of a serious problem. Like any other data, these files take up space on the drive. But because recovery partitions are often hidden from standard view, you might know not they're around.

To view the partitions on your drive in Windows, right-click on the Start menu or press Win + X and choose Disk Management. Here you can see each disk on your system and the partitions that make it up. If you see a label of Restore, Recovery, or similar, that's your recovery partition.

Windows 10 Disk Management

In most cases, it's possible to erase these partitions and regain that space. However, it's usually best to leave them alone. Having them makes recovering your system a lot easier, and the small space gain isn't worth the hassle of recovering your system manually.

Hidden Features That Also Use Space

Finally, most operating systems contain features that take up space but don't exist as actual files. For example, Windows's Shadow Copy service is used to power both the Previous Versions and System Restore functions.

System Restore lets you return to an earlier point in time if your system isn't working properly, while Previous Versions keeps copies of your personal files so you can undo changes. Both of these need space to work, of course.

To see and change how much space features that rely on Shadow Copy services use, press Win + Pause to quickly open the About menu in the Settings app. From here, click System protection on the right side. In the resulting window, select your drive from the list and choose Configure.

You'll see a new dialog box that allows you to disable system protection entirely (though we don't recommend this). Below, you'll see the Current Usage and can adjust the maximum amount that Windows uses. Somewhere around 10 percent is a good amount.

system protection disk allocation system restore points

Now You Know How Computers Calculate Space

The elements discussed here account for the noticeable difference in advertised and actual storage space on a phone, drive, or other storage device. While there are some other minor factors, such as special blocks in SSDs, these are the major reasons. Knowing them, it's wise to plan ahead and make sure you always get the amount of storage you need with new devices.

If you're low on space, you might consider purchasing some inexpensive cloud storage until you can buy a larger local drive.