Data Storage Units: KB, MB, GB, TB

Why does a brand new 500 GB hard drive show up as only about 465 GB in your file manager? Nothing is missing and nothing is broken. It comes down to how data storage units KB, MB, GB, and TB get counted, because there are two different ways to define the same unit name. Once you see the byte, kilobyte, megabyte, gigabyte, and terabyte ladder and the decimal versus binary split behind it, the “missing” space stops being a mystery.

Quick Answer
KB, MB, GB, and TB are a size ladder for digital storage, each unit built from the one below it. In decimal counting, 1 KB = 1,000 bytes, 1 MB = 1,000 KB, 1 GB = 1,000 MB, and 1 TB = 1,000 GB. In binary counting, the same names are often used for 1,024-based steps instead, which is why a drive labeled in decimal GB looks smaller once your operating system counts it in binary.

What Are Data Storage Units?

Data storage units are the labels computers use to describe how much information a file, drive, or memory chip can hold. Every unit in the ladder is a multiple of the one below it, so the units scale up together in a predictable pattern.

The starting point is the byte. A single byte is made of 8 bits, and a bit is the smallest unit a computer stores. This article picks up from the byte and climbs upward. If you want the bit-level detail first, see our sibling guide, Bits vs Bytes Explained.

From the byte, the common storage ladder runs like this:

  • Kilobyte (KB): about a thousand bytes
  • Megabyte (MB): about a thousand kilobytes
  • Gigabyte (GB): about a thousand megabytes
  • Terabyte (TB): about a thousand gigabytes

Each step up is roughly 1,000 times bigger than the step before it, though the exact multiplier depends on whether you are counting in decimal or binary. That split is the key idea this article covers.

The Storage Unit Ladder From Byte to Terabyte

Picture the ladder as a staircase, where each step is a unit and every step up multiplies the size of the step before it. The chart below shows that climb from kilobyte up to terabyte.

Staircase chart of KB, MB, GB, and TB rising in size Four steps climb from kilobyte to terabyte. Each step up multiplies the previous unit by about 1,000 in decimal counting or 1,024 in binary counting. The Data Storage Ladder KB MB GB TB x1,000 bytes x1,000 KB x1,000 MB x1,000 GB Binary counting uses x1,024 for each step instead of x1,000
Each unit in the ladder is about 1,000 times the one before it (or 1,024 times in binary counting).

In plain numbers, here is how the ladder works using decimal (1,000-based) counting, which is the system most storage manufacturers and marketing use:

  • 1 KB = 1,000 bytes
  • 1 MB = 1,000 KB = 1,000,000 bytes
  • 1 GB = 1,000 MB = 1,000,000,000 bytes
  • 1 TB = 1,000 GB = 1,000,000,000,000 bytes

That decimal pattern lines up with the metric system, where “kilo” means 1,000, “mega” means 1,000,000, and so on. The next section explains why some software counts these same unit names differently.

Decimal vs Binary: Two Ways to Count the Same Unit

Here is the part that trips people up. The names KB, MB, GB, and TB get used for two different counting systems, and both are common.

The decimal convention treats 1 KB as exactly 1,000 bytes, following the SI metric prefixes. This is the system storage manufacturers usually print on the box for hard drives, SSDs, and USB sticks, and it matches how the metric system counts everything else.

The binary convention instead treats “1 KB” as 1,024 bytes, because computers work in powers of two internally. Some operating systems display file and drive sizes this binary way, even while still labeling the unit “KB”, “MB”, or “GB” on screen.

To avoid the mix-up, there are separate binary unit names too: KiB, MiB, GiB, and TiB (kibibyte, mebibyte, gibibyte, tebibyte). These names are IEC standard terms built specifically for 1,024-based counting, so a KiB is always 1,024 bytes with no ambiguity.

Decimal definition versus binary definition of the same unit name Side by side comparison. Decimal counting defines 1 kilobyte as 1,000 bytes. Binary counting defines 1 kilobyte, formally 1 kibibyte, as 1,024 bytes. Decimal vs Binary: Same Name, Different Count Decimal (SI) 1,000-based counting 1 KB = 1,000 bytes 1 MB = 1,000,000 bytes 1 GB = 1,000,000,000 bytes Used on most drive labels Binary (IEC) 1,024-based counting 1 KiB = 1,024 bytes 1 MiB = 1,048,576 bytes 1 GiB = 1,073,741,824 bytes Used by some operating systems
Decimal counting (SI) and binary counting (IEC) define the same unit name with different byte totals.

Why Your Drive Shows Less Space Than Advertised

This is the real-world effect of the decimal versus binary split, and it is a well-known source of confusion. A manufacturer sells a “500 GB” hard drive using decimal counting, so the drive truly holds 500,000,000,000 bytes.

Your operating system, though, often reports drive size using binary counting while still calling the unit “GB”. To get that number, it divides the byte count by 1,073,741,824 (the number of bytes in 1 GiB), not by 1,000,000,000.

Do the math by hand: 500,000,000,000 divided by 1,073,741,824 equals about 465.7. That is why a “500 GB” drive shows up as roughly 465 GB (really 465 GiB) in the file manager. No storage vanished. The drive is being measured with a different ruler.

This gap grows as drives get bigger. A 1 TB drive (1,000,000,000,000 bytes) shows as about 931 GiB under binary counting, and a 4 TB drive shows as roughly 3.64 TiB. The larger the drive, the larger the visible gap looks, even though the percentage difference stays about the same, close to 7 percent.

Real-World Reference Sizes for Each Unit

Numbers like “1,048,576 bytes” are hard to picture. Real examples make the ladder easier to feel, even though actual file sizes vary a lot depending on format and quality.

Real world examples for KB, MB, GB, and TB A short text document is roughly kilobytes in size. A song is roughly megabytes. A movie file is roughly gigabytes. A large hard drive holds terabytes. What Each Unit Feels Like KB Text document or a short email MB A song file a few minutes long GB A full movie in HD quality TB A large hard drive Sizes vary with format and quality; these are typical, rounded examples.
Rough, everyday reference points for kilobytes, megabytes, gigabytes, and terabytes.

Some typical, rounded examples to anchor the scale:

  • Kilobytes (KB): a plain text document or a short email, often 10 to 100 KB
  • Megabytes (MB): a single song file, commonly 3 to 8 MB
  • Gigabytes (GB): a full length HD movie file, often 4 to 8 GB
  • Terabytes (TB): a large external or internal hard drive, commonly 1 to 8 TB

These are typical ranges, not fixed rules. A photo, a phone app, or a video game can land at very different sizes depending on quality, compression, and length.

Quick Reference Table: Storage Units at a Glance

Use this table to check both counting systems side by side for the same unit name.

Decimal vs Binary Byte Counts by Unit
Unit Decimal (SI) Bytes Binary (IEC) Bytes Binary Name
Kilobyte (KB) 1,000 1,024 Kibibyte (KiB)
Megabyte (MB) 1,000,000 1,048,576 Mebibyte (MiB)
Gigabyte (GB) 1,000,000,000 1,073,741,824 Gibibyte (GiB)
Terabyte (TB) 1,000,000,000,000 1,099,511,627,776 Tebibyte (TiB)

How to Convert Between Data Storage Units

Moving up the decimal ladder, you divide by 1,000 to go down a step, and multiply by 1,000 to go up a step. For example, 2,500 MB divided by 1,000 equals 2.5 GB. Going the other way, 2.5 GB times 1,000 equals 2,500 MB.

The binary ladder works the same way, just with 1,024 instead of 1,000. So 2,048 MiB divided by 1,024 equals 2 GiB.

Doing this by hand across several units at once gets tedious and easy to mess up, especially when you need to switch between decimal and binary counting. Our Data Storage Converter handles both systems for you, so you can move between KB, MB, GB, TB, and their binary counterparts in one step.

Two related topics sit next to this one but are not covered here. If you want the bit-level basics behind the byte, see Bits vs Bytes Explained. If you want to know how long a file of a given size takes to download, see How to Estimate File Download Time, which also covers bandwidth in Mbps.

Ready to convert file and drive sizes without doing the math by hand? Try the Data Storage Converter to switch between KB, MB, GB, TB, and their binary equivalents instantly.

Frequently Asked Questions About Data Storage Units

What Is a Kilobyte, Megabyte, Gigabyte, and Terabyte?

They are storage units that scale up from the byte. A kilobyte is about 1,000 bytes, a megabyte is about 1,000 kilobytes, a gigabyte is about 1,000 megabytes, and a terabyte is about 1,000 gigabytes. Each unit is built from the one below it.

What Is the Difference Between KB and KiB?

KB usually means 1,000 bytes under decimal (SI) counting. KiB means exactly 1,024 bytes under binary (IEC) counting. The names look similar, but the byte counts differ. Some software labels binary sizes as “KB” anyway, which is where confusion starts.

Why Does My Hard Drive Show Less Space Than the Label Says?

Manufacturers label drives using decimal counting, so a 500 GB drive holds 500,000,000,000 bytes. Many operating systems display that same drive using binary counting, dividing by 1,073,741,824 instead of 1,000,000,000. The result is about 465.7, which shows as roughly 465 GB even though no storage is missing.

How Many Megabytes Are in a Gigabyte?

Under decimal counting, 1 GB equals 1,000 MB. Under binary counting, 1 GiB equals 1,024 MiB. The number depends on which counting system is being used, so it helps to check which one a device or program follows.

How Many Gigabytes Are in a Terabyte?

Under decimal counting, 1 TB equals 1,000 GB, or 1,000,000,000,000 bytes. Under binary counting, 1 TiB equals 1,024 GiB, or 1,099,511,627,776 bytes. Both describe a terabyte scale unit, just with different exact byte counts.

Is 1 KB Equal to 1,000 Bytes or 1,024 Bytes?

It can be either, depending on the counting system. Decimal (SI) counting defines 1 KB as 1,000 bytes, which is common on storage product labels. Binary (IEC) counting uses 1,024 bytes for the same idea, formally called 1 KiB, and is common in some operating system displays.

What Comes After a Terabyte?

After the terabyte, the next step up is the petabyte (PB), equal to 1,000 TB in decimal counting or 1,024 TiB (as a pebibyte, PiB) in binary counting. Petabyte-scale storage is mostly seen in data centers rather than personal devices.

Sources

Authoritative Sources Used in This Article

This article is for general education only. Real-world file sizes, speeds, and network conditions vary, so actual results can differ from the examples shown. Reviewed for accuracy by Prof. Dr. Khalil Mudassar, PhD. Last updated September 13, 2026.


Author

shakeel-Muzaffar
Founder & Editor-in-Chief at  ~ Web ~  More Posts

Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.

1 thought on “Data Storage Units: KB, MB, GB, TB”

Leave a Comment