Converters

Bytes, KB, MB, GB and TB Explained

Learn what bytes, KB, MB, GB, and TB mean, and the key difference between decimal and binary storage units.

Brekzy Team Published September 8, 2026

On this page
  1. What Is a Byte?
  2. Understanding KB, MB, GB and TB
  3. Decimal vs Binary Storage Units
  4. Why Does Storage Capacity Sometimes Look Different?
  5. Common Digital Storage Examples
  6. How to Convert Digital Storage Units
  7. Common Storage Conversion Mistakes
  8. Use the Data Storage Converter

Digital storage is measured in bytes, and the further units built from them (kilobytes, megabytes, gigabytes, and terabytes) are everywhere, from phone storage to broadband speeds. They’re also a common source of confusion, partly because “kilo,” “mega,” and “giga” are defined two different ways depending on the context.

What Is a Byte?

The smallest unit of digital data is a bit, which holds a single 0 or 1. Bytes are the next step up:

8 bits = 1 byte

A byte is the common baseline unit for measuring data. For example, one character of plain text typically takes up one byte.

Understanding KB, MB, GB and TB

  • Kilobyte (KB): roughly a short text document or email.
  • Megabyte (MB): roughly a photo or a song.
  • Gigabyte (GB): roughly a movie or a large app.
  • Terabyte (TB): roughly a large hard drive or an extensive media collection.

Decimal vs Binary Storage Units

This is the part that trips people up: “kilo,” “mega,” and “giga” are defined two different ways.

Decimal prefixes (the formal SI definition, and the one storage manufacturers use):

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

Binary prefixes (used because computers naturally work in powers of two, and formally named KiB/MiB/GiB/TiB to distinguish them):

1 KiB = 1,024 bytes
1 MiB = 1,048,576 bytes
1 GiB = 1,073,741,824 bytes

Software and operating systems don’t all follow the same convention: some correctly use KiB/MiB/GiB, while others display binary-calculated values but label them “KB/MB/GB” anyway, which is exactly where the confusion comes from.

Why Does Storage Capacity Sometimes Look Different?

This explains a common source of confusion: a drive sold as “1 TB” uses the decimal definition, meaning exactly 1,000,000,000,000 bytes. Many operating systems, however, calculate displayed storage using binary math while still labeling it “GB.” That same drive, measured that way, works out to about 931 “GB” (more precisely, GiB) on screen.

No storage has actually gone missing; it’s the same physical bytes, just measured against two different conventions for what “giga” means. (A small amount of a drive’s capacity is also used by the filesystem itself for bookkeeping, but the decimal-versus-binary mismatch is the main reason the numbers don’t match.)

Common Digital Storage Examples

File Type Typical Size (approximate)
Plain text document A few KB
Smartphone photo (JPEG) 2-5 MB
Song (MP3, standard quality) 3-5 MB
HD video (per hour) Roughly 1-4 GB
4K video (per hour) Roughly 4-8+ GB

These are rough, illustrative figures only. Actual file sizes vary significantly depending on format, compression, resolution, and quality settings: a heavily compressed photo and an uncompressed one of the same subject can differ by several times in size. If you’re comparing video files specifically, resolution plays a large role in file size, and the Digital Resolution Converter can help make sense of common resolution names like 1080p and 4K.

How to Convert Digital Storage Units

Converting between storage units means multiplying or dividing by 1,000 (decimal) or 1,024 (binary) per step, depending on which convention applies.

Example (decimal): Convert 2,500 MB to GB: 2,500 ÷ 1,000 = 2.5 GB.

Common Storage Conversion Mistakes

  • Confusing bits and bytes. Internet speeds are usually advertised in megabits per second (Mbps), not megabytes, so a “100 Mbps” connection transfers roughly 12.5 MB per second, not 100 MB.
  • Confusing KB and KiB. They’re close but not identical, and the gap grows at larger scales: by the gigabyte/gibibyte level, the difference is nearly 7%.
  • Assuming all systems use 1,024. Storage manufacturers generally use the decimal (1,000-based) definition, while operating systems often use binary (1,024-based) math internally, even when the on-screen label just says “GB.”
  • Assuming file sizes are fixed. The “same” photo, song, or video can vary enormously in size depending on compression and quality settings.

Use the Data Storage Converter

The Data Storage Converter converts between bits, bytes, KB, MB, GB, TB, and their binary KiB/MiB/GiB/TiB equivalents, so you don’t need to track which convention applies by hand.

Try it yourself

Data Storage Converter

Try our Data Storage Converter →

Frequently Asked Questions

How many bytes are in a KB?

Under the decimal definition used by storage manufacturers, 1 KB = 1,000 bytes. Under the binary definition, 1 KiB = 1,024 bytes.

How many MB are in a GB?

Under the decimal definition, 1 GB = 1,000 MB. Under the binary definition, 1 GiB = 1,024 MiB.

What is the difference between KB and KiB?

KB (kilobyte) formally means 1,000 bytes, the decimal definition. KiB (kibibyte) means 1,024 bytes, the binary definition used internally by computers. Many systems label binary values as “KB” anyway, which is the main source of confusion between the two.

How many GB are in a TB?

Under the decimal definition, 1 TB = 1,000 GB. Under the binary definition, 1 TiB = 1,024 GiB.

Why does my computer show less storage than advertised?

Manufacturers advertise capacity using the decimal definition of a gigabyte or terabyte, while your operating system often displays capacity calculated with binary math but still labeled “GB” or “TB.” The bytes themselves aren’t missing; they’re just being measured against two different conventions, plus a small amount used by the filesystem itself.

What is bigger: MB or GB?

A gigabyte (GB) is bigger. There are 1,000 megabytes in a gigabyte under the decimal definition (1,024 under the binary one).

Explore More

Find the right tool, or keep reading Brekzy's other guides.