Last updated March 2026

Data Size Converter — Bytes, KB, MB, GB, TB

Convert between data storage units instantly using binary (1024-based) conversion.

What Are Data Size Units?

Data size units measure the amount of digital information stored or transmitted by computers and electronic devices. At the most fundamental level, all digital data is represented as a sequence of binary digits (bits), which are either 0 or 1. Eight bits make one byte, and bytes are the basic building block from which all larger units are derived. Understanding these units is essential for anyone who works with computers, manages storage, or deals with internet bandwidth.

As technology advanced and storage capacities grew, larger units were introduced to make numbers manageable. Just as it is easier to say "5 kilometers" rather than "5,000 meters," it is easier to say "500 GB" rather than "536,870,912,000 bytes." The hierarchy follows a consistent pattern: each step up represents 1,024 times the previous unit (in binary) or 1,000 times (in decimal).

Binary vs Decimal: The 1024 vs 1000 Debate

One of the most confusing aspects of data sizes is the existence of two competing standards for unit definitions:

Binary (IEC, 1024-based)Decimal (SI, 1000-based)
1 KiB = 1,024 bytes1 KB = 1,000 bytes
1 MiB = 1,048,576 bytes1 MB = 1,000,000 bytes
1 GiB = 1,073,741,824 bytes1 GB = 1,000,000,000 bytes
1 TiB = 1,099,511,627,776 bytes1 TB = 1,000,000,000,000 bytes

The binary system (powers of 1,024) is how computers actually address memory. RAM, operating systems, and file managers use this system. This is why a 256 GB SSD shows as roughly 238 GB in your operating system. The decimal system (powers of 1,000) is used by storage manufacturers on product labels, network speeds, and the International System of Units (SI).

In 1998, the International Electrotechnical Commission (IEC) introduced the "binary prefix" names (kibibyte, mebibyte, gibibyte) with symbols KiB, MiB, GiB to eliminate ambiguity. However, most software and everyday language still uses KB, MB, and GB to mean binary values. This converter uses the binary (1024-based) system, which is what your operating system and most software tools report.

Data Size Reference Table

Here is a quick reference showing the binary conversion factors between common data units:

UnitBytesEquivalent
1 Byte18 bits
1 KB1,0241,024 Bytes
1 MB1,048,5761,024 KB
1 GB1,073,741,8241,024 MB
1 TB1,099,511,627,7761,024 GB
1 PB1,125,899,906,842,6241,024 TB

Common File Sizes

To put data sizes into everyday context, here are typical file sizes you encounter regularly:

Storage vs Transfer Speeds

A common source of confusion is the difference between storage units and transfer speed units. Storage is measured in bytes (B), while network and internet speeds are measured in bits (b). Since 1 byte = 8 bits, you must divide network speeds by 8 to determine actual download speeds in bytes per second.

For example, a 100 Mbps (megabits per second) internet connection can theoretically download at 12.5 MB/s (megabytes per second). A 1 Gbps connection maxes out at 125 MB/s. In practice, overhead from network protocols reduces real-world speeds to about 85-95% of the theoretical maximum.

This distinction matters when estimating download times. A 4 GB movie on a 100 Mbps connection would take approximately 4,096 MB / 12.5 MB/s = about 328 seconds, or roughly 5.5 minutes under ideal conditions.

How Storage Capacities Have Evolved

The growth of digital storage over the past few decades is staggering:

This exponential growth roughly follows a trend where storage capacity doubles approximately every two years while costs steadily decline, making digital storage increasingly accessible to everyone.

Choosing the Right Storage Size

Here are general recommendations for choosing storage based on common use cases:

When planning storage needs, always add a buffer of at least 20% above your current requirements. Operating systems and applications grow with updates, and running a drive at near-full capacity can degrade performance, especially with SSDs.

Frequently Asked Questions

Is 1 GB equal to 1000 MB or 1024 MB?

It depends on the standard being used. In the binary system (used by operating systems and this converter), 1 GB = 1,024 MB. In the decimal system (used by storage manufacturers and networking), 1 GB = 1,000 MB. The difference is about 7.4% and grows larger with bigger units. This is why a "1 TB" hard drive shows as approximately 931 GB in your operating system.

Why does my hard drive show less space than advertised?

Hard drive manufacturers label their products using decimal (SI) units where 1 GB = 1,000,000,000 bytes. Your operating system reports capacity using binary units where 1 GB = 1,073,741,824 bytes. A "500 GB" drive contains 500,000,000,000 bytes, which your OS displays as approximately 465.66 GB. The storage is all there; the two systems simply count differently.

What is the difference between a bit and a byte?

A bit is the smallest unit of digital data, representing a single 0 or 1. A byte is a group of 8 bits. Internet speeds are typically measured in megabits per second (Mbps), while file sizes are measured in megabytes (MB). To convert from Mbps to MBps (megabytes per second), divide by 8. A 200 Mbps internet connection downloads at about 25 MB per second.

Related Calculators