What is kb and mb
Last updated: April 1, 2026
Key Facts
- KB (kilobyte) = 1,024 bytes; MB (megabyte) = 1,024 KB or 1,048,576 bytes in the binary system
- In decimal notation, KB = 1,000 bytes and MB = 1,000,000 bytes, though binary measurements are standard in computing
- Modern files are typically measured in MB or GB; KB is rarely used today except in technical contexts or legacy systems
- A typical document might be 50-500 KB, while a high-quality photograph is usually 2-10 MB
- Storage devices display capacity in MB, GB, or TB because kilobytes would require impractically large numbers
Understanding the Binary Storage Hierarchy
KB and MB are fundamental units in the digital storage hierarchy. KB stands for kilobyte and represents 1,024 bytes, while MB stands for megabyte and represents 1,024 kilobytes or 1,048,576 bytes total. This hierarchical system is based on binary mathematics, where each level represents 2^10 (1,024) times the previous unit. Understanding the relationship between KB and MB is essential for managing files, understanding storage capacity, and interpreting technical specifications in computing.
Binary vs. Decimal Measurements
A point of confusion exists between binary and decimal measurements. In computing's binary system, 1 KB = 1,024 bytes and 1 MB = 1,024 KB. However, in decimal notation used by some manufacturers, 1 KB = 1,000 bytes and 1 MB = 1,000,000 bytes. The International Electrotechnical Commission (IEC) addressed this confusion by introducing binary prefixes: kibibyte (KiB) and mebibyte (MiB) for binary measurements, while KB and MB technically refer to decimal measurements. In practice, most computing contexts still use KB and MB for binary values.
Practical File Size Examples
To visualize the difference between KB and MB, consider common file sizes. A simple text document typically measures 20-100 KB, while a word processing document with formatting might reach 200-500 KB. A digital photograph from a modern smartphone is usually 2-8 MB. A short video clip might be 50-500 MB, while a full-length movie typically requires 700 MB to 2 GB or more. These examples demonstrate why MB is the practical measurement unit for modern files, as expressing them in kilobytes would result in unwieldy five or six-digit numbers.
Storage Devices and Capacity Planning
Storage devices use MB, GB, and TB for their capacity because expressing them in kilobytes would be impractical. A 256 GB solid-state drive would require expressing capacity as 268,435,456 MB, making kilobytes unsuitable for device specifications. For users, understanding that 1 MB = 1,024 KB helps when downloading files, assessing available storage, and planning backup solutions. Modern devices measure capacity in gigabytes and terabytes, making KB and MB relevant primarily for individual file management and historical understanding of computing.
| Unit | Binary Size | Decimal Size | Bytes | Common Use |
|---|---|---|---|---|
| Kilobyte (KB) | 1,024 bytes | 1,000 bytes | 1,024 | Small documents, emails |
| Megabyte (MB) | 1,024 KB | 1,000,000 bytes | 1,048,576 | Photos, short videos, applications |
| Gigabyte (GB) | 1,024 MB | 1 billion bytes | 1,073,741,824 | Storage drives, large files |
| Terabyte (TB) | 1,024 GB | 1 trillion bytes | 1,099,511,627,776 | Large storage systems, backups |
Related Questions
How do I convert KB to MB?
To convert kilobytes to megabytes, divide the KB value by 1,024. For example, 5,120 KB ÷ 1,024 = 5 MB. Conversely, multiply MB by 1,024 to get KB.
Why is 1 MB equal to 1024 KB and not 1000 KB?
Computing uses binary mathematics where 2^10 equals 1,024. This makes 1,024 the natural boundary in computer storage, though decimal notation (1,000) is sometimes used for marketing purposes.
What's larger: 1000 MB or 1 GB?
1 GB is larger. One gigabyte equals 1,024 MB in binary notation, so 1 GB is 24 MB larger than 1,000 MB. In decimal notation, 1 GB (1 billion bytes) is even larger than 1,000 MB (1 billion bytes).
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Wikipedia - MegabyteCC-BY-SA-4.0
- Wikipedia - KilobyteCC-BY-SA-4.0
- Wikipedia - Binary PrefixCC-BY-SA-4.0