Byte Converter
Enter Value
B
1.024 KB (decimal)
1.000 KiB (binary)
Note: 1 KB = 1000 bytes (decimal) • 1 KiB = 1024 bytes (binary)
1 MB = 1000 KB (decimal) • 1 MiB = 1024 KiB (binary)
1 GB = 1000 MB (decimal) • 1 GiB = 1024 MiB (binary)
1 TB = 1000 GB (decimal) • 1 TiB = 1024 GiB (binary)

Understanding Bytes and Data Storage Units

What is a Byte?

A byte is the fundamental unit of digital information storage. It consists of 8 bits, where each bit is a binary digit (0 or 1). One byte can represent a single character, such as 'A', 'b', or '5'. All larger storage units are multiples of bytes.

Common Byte Conversions

  • 1 Kilobyte (KB) = 1,000 bytes (decimal) or 1,024 bytes (binary/KiB)
  • 1 Megabyte (MB) = 1,000,000 bytes (decimal) or 1,048,576 bytes (binary/MiB)
  • 1 Gigabyte (GB) = 1,000,000,000 bytes (decimal) or 1,073,741,824 bytes (binary/GiB)
  • 1 Terabyte (TB) = 1,000,000,000,000 bytes (decimal) or 1,099,511,627,776 bytes (binary/TiB)

Decimal (SI) vs Binary (IEC) Systems

The two systems exist because of historical and marketing reasons:

  • Decimal (SI): Based on powers of 1000. Used by hard drive manufacturers, cloud storage providers, and most technical specifications. 1 KB = 1000 bytes, 1 MB = 1000 KB, etc.
  • Binary (IEC): Based on powers of 1024. Used by operating systems (Windows, macOS, Linux) to report file sizes. 1 KiB = 1024 bytes, 1 MiB = 1024 KiB, 1 GiB = 1024 MiB, etc.

This dual standard explains why a "1 TB" hard drive shows only 931 GB in Windows - manufacturers use decimal (1,000,000,000,000 bytes), while Windows divides by 1,073,741,824 bytes per binary GB.

Real-World Examples

  • A plain text email: 2-5 KB (2,000-5,000 bytes)
  • A high-quality JPEG photo: 3-6 MB (3,000,000-6,000,000 bytes)
  • An MP3 song (4 minutes): 4-10 MB (4,000,000-10,000,000 bytes)
  • An HD movie (2 hours): 2-4 GB (2,000,000,000-4,000,000,000 bytes)
  • Windows 11 installation: 20-25 GB (20,000,000,000-25,000,000,000 bytes)

Quick Reference Table

Unit Bytes (Decimal) Bytes (Binary)
1 KB / KiB1,0001,024
1 MB / MiB1,000,0001,048,576
1 GB / GiB1,000,000,0001,073,741,824
1 TB / TiB1,000,000,000,0001,099,511,627,776
1 PB / PiB1,000,000,000,000,0001,125,899,906,842,624

Frequently Asked Questions

Q: How many bytes in a kilobyte?

A: In decimal: 1 KB = 1,000 bytes. In binary: 1 KiB = 1,024 bytes.

Q: How many bytes in a megabyte?

A: In decimal: 1 MB = 1,000,000 bytes. In binary: 1 MiB = 1,048,576 bytes.

Q: How many bytes in a gigabyte?

A: In decimal: 1 GB = 1,000,000,000 bytes. In binary: 1 GiB = 1,073,741,824 bytes.

Q: Why does my 256 GB phone show only 238 GB?

A: Two factors: decimal-binary gap (256 GB decimal = 238 GiB) plus operating system and pre-installed apps.

Q: How do I convert bytes to MB quickly?

A: For decimal MB, divide bytes by 1,000,000. For binary MiB, divide bytes by 1,048,576.

Common Byte Conversions

Bytes KB (Decimal) KiB (Binary) MB (Decimal) MiB (Binary)
1,0241.024 KB1.0 KiB0.001024 MB0.0009766 MiB
10,00010 KB9.77 KiB0.01 MB0.00954 MiB
100,000100 KB97.66 KiB0.1 MB0.0954 MiB
1,000,0001,000 KB976.56 KiB1.0 MB0.954 MiB
1,048,5761,048.58 KB1,024 KiB1.0486 MB1.0 MiB
10,000,00010,000 KB9,765.6 KiB10 MB9.54 MiB
100,000,000100,000 KB97,656 KiB100 MB95.37 MiB
1,000,000,0001,000,000 KB976,562 KiB1,000 MB953.67 MiB
1,073,741,8241,073,742 KB1,048,576 KiB1,073.74 MB1,024 MiB (1 GiB)
Advertisement
Ad Space
300x250