What Is EXE All articles
Beginner's Guide

The File Size Your Computer Shows You Is Kind of a Lie

What Is EXE

Picture this: your Downloads folder is getting out of hand, so you roll up your sleeves and start deleting stuff. You trash a video file that your computer said was 200MB. You empty the Recycle Bin. You check your available storage. It went up by... 47MB? Maybe less?

You didn't imagine it. The number your file manager shows you and the amount of space that actually gets freed up are often two very different things — and the gap can be surprisingly large. Understanding why requires a quick trip behind the scenes of how your operating system actually handles storage.

Your Disk Doesn't Store Files Like a Perfect Puzzle

Here's the first thing to wrap your head around: your hard drive or SSD doesn't store data in one continuous, perfectly sized chunk per file. Instead, it works in fixed-size blocks called allocation units (sometimes called clusters). Think of it like a parking lot where every space is the same size. A compact car still takes up a full space, even if it only uses half of it.

On a typical Windows system, these allocation units are often 4KB in size. That means even a tiny text file — say, a 1KB note you jotted down — actually occupies 4KB of real disk space. That 3KB of leftover space in the cluster? It's wasted. Your system reserved it, but nothing else can use it. This wasted space is called slack space, and it quietly inflates your actual storage usage across thousands of files.

For small files, this effect is dramatic. For large files, not so much — a 500MB video will span thousands of clusters, and the slack space at the very end is negligible. But if your drive is packed with hundreds of tiny config files, logs, and shortcuts, you might be losing gigabytes to slack space alone without ever realizing it.

Compression: When "Smaller" Doesn't Mean What You Think

Another major reason file sizes get confusing is compression. ZIP files, for example, can store multiple files in a compressed format that takes up way less space than the originals. Your file manager might show a ZIP archive as 50MB. But when you extract it, the contents balloon out to 400MB.

The flip side is also true. Some applications — particularly older ones — store data in compressed formats internally. You might have a project file that shows as 12MB on disk, but when the app opens it and decompresses everything into memory, it's working with 80MB worth of data. Neither number is wrong, exactly. They're just measuring different things.

MacOS takes this a step further with a feature called APFS compression, which is baked into Apple's file system. It can transparently compress certain files in the background, meaning a file might report one size when you look at it in Finder, but it's actually stored in a smaller compressed form on disk. Windows has a similar optional feature called NTFS compression. Both are legitimate, useful technologies — but they're also a big reason why the same file can appear to be different sizes on different machines.

The Hidden Weight of Metadata

Every file carries more than just its content. Wrapped around the actual data is a layer of metadata — information about the file itself. This includes the file name, creation date, modification date, permissions, author info, and sometimes a lot more.

A JPEG photo from your iPhone, for instance, doesn't just contain the image data. It also stores GPS coordinates, camera model, lens aperture, shutter speed, color profile information, and sometimes even a thumbnail preview embedded right in the file. This metadata can add anywhere from a few kilobytes to a surprisingly chunky amount of overhead, depending on the file type.

Document formats are even more extreme. A Word document that's technically a paragraph of text might be several megabytes because it's storing revision history, author names, embedded fonts, formatting metadata, and previous versions of the document that you thought you'd deleted.

Why Windows and Mac Give You Different Numbers

Open the same file on a Windows PC and a Mac and you'll often see different reported sizes. Part of this is the cluster size difference mentioned earlier — Mac's APFS file system and Windows' NTFS handle allocation differently. But there's another culprit: how each OS defines a megabyte.

For decades, the computing world used binary measurements: 1 megabyte = 1,048,576 bytes (that's 2 to the power of 20). But consumer electronics and storage manufacturers prefer the simpler decimal version: 1 megabyte = 1,000,000 bytes. Windows traditionally reports file sizes using the binary definition (though it labels them "MB"), while macOS switched to decimal-style reporting back in 2009.

The result? A file that macOS calls 1 GB, Windows might call 931 MB. Same file. Same bytes. Different math. This drives people absolutely crazy when they're trying to compare storage across devices, and it's a gap that the industry has never cleanly resolved.

Forks, Streams, and Other Invisible Baggage

On macOS, files can have something called a resource fork — a secondary hidden data stream attached to the file. Historically, this stored things like application-specific metadata and icons. It's less common now, but it still exists. If you've ever copied a file from a Mac to a Windows drive and noticed a weird extra file starting with ._ appear, that's the resource fork getting separated from its host file because Windows doesn't know what to do with it.

Windows has its own version of this concept: alternate data streams (ADS), a feature of NTFS that lets additional data be attached to a file invisibly. Windows actually uses this to store the "Zone Identifier" — the flag that tells your computer a file came from the internet, which is why it asks if you trust a downloaded program. That data doesn't show up in the file size your Explorer window reports, but it's there.

So What's the "Real" File Size?

Honestly? It depends on what you're trying to measure. The number your file manager shows you is usually the logical size — how many bytes of actual content are in the file. The amount of disk space it consumes is the physical size, which includes cluster allocation rounding and any attached metadata streams. Compressed files add yet another layer, where the stored size differs from the working size.

If you right-click a file on Windows and hit Properties, you'll actually see both numbers listed: "Size" and "Size on disk." That gap between them is everything we just talked about, neatly summarized in two lines.

None of this is a bug or a conspiracy. It's just the accumulated result of decades of engineering decisions, competing standards, and the reality that storing data efficiently on physical hardware is a lot messier than it looks. Your computer isn't lying to you — it's just showing you one slice of a more complicated picture.

All Articles

Related Articles

One File, Twenty Copies: The Sneaky Reason Your Storage Is Always Full

Why Your Computer Treats Every .EXE File Like a Suspicious Stranger

The Humble File Name Is Quietly Running (and Ruining) Your Digital Life

The Humble File Name Is Quietly Running (and Ruining) Your Digital Life