Convert any data value between bits, nibbles, bytes, KB, MB, GB, TB, PB and EB — in both SI decimal (powers of 10) and binary IEC (powers of 2) standards. Includes real-world networking, storage, and memory context for every conversion.
✓Verified: IEC 80000-13 data unit standard & NIST SP 330 — April 2026
💾 Data Unit Converter
Enter any positive number to convertEnter a valid positive number greater than 0.
Bytes
—
⚠️ Disclaimer: SI decimal units (KB=1,000, MB=1,000,000, GB=1,000,000,000 bytes) used for networking and storage. Binary IEC units (KiB=1,024, MiB=1,048,576 bytes) used for memory and OS file sizes. Both standards are shown.
Sources & Methodology
✓Unit definitions verified against IEC 80000-13:2008 (quantities and units for information science and technology) and NIST SP 330. 1 byte = 8 bits is a fundamental definition. SI decimal uses powers of 10 (1 KB = 1,000 bytes). Binary IEC uses powers of 2 (1 KiB = 1,024 bytes).
International standard defining all data measurement units including bit, byte, and the binary IEC prefixes (kibi-, mebi-, gibi-, tebi-) as distinct from SI decimal prefixes (kilo-, mega-, giga-). The authoritative source for both standard sets used in this calculator.
US National Institute of Standards and Technology publication defining SI decimal units and their prefixes (kilo = 10^3, mega = 10^6, giga = 10^9) as applied to data measurement in networking and storage contexts.
IEEE standard recommending use of binary prefixes (kibi, mebi, gibi) to unambiguously refer to powers of 2, distinct from SI decimal prefixes. Basis for the KiB, MiB, GiB units in this converter.
Methodology: 1 byte = 8 bits exactly (IEC 80000-13, NIST)SI decimal: 1 KB = 1,000 B | 1 MB = 1,000,000 B | 1 GB = 10^9 B | 1 TB = 10^12 BBinary IEC: 1 KiB = 1,024 B | 1 MiB = 2^20 B | 1 GiB = 2^30 B | 1 TiB = 2^40 B
All conversions first normalize to total bytes, then convert to each target unit. Nibble = 4 bits = 0.5 bytes. All results displayed in full precision with scientific notation for very large or very small values.
Last reviewed: April 2026
Bits, Bytes & Data Units: The Complete Guide 2026
Understanding data units is fundamental to every area of computing, networking, and storage. The confusion between bits and bytes, between SI decimal kilobytes and binary kibibytes, and between storage capacity and transfer speed is one of the most common sources of misunderstanding in technology. This guide covers every data unit from bits to exabytes, both standards, and which context each applies to.
The Bit-Byte Hierarchy: From Bits to Exabytes
Every digital piece of information ultimately consists of bits — binary digits with a value of 0 or 1. All higher units are multiples of the bit, organized into two competing systems: SI decimal (powers of 10) used by networking and storage, and binary IEC (powers of 2) used by memory and operating systems.
Unit
Symbol
Bits
SI Decimal Bytes
Common Use
Bit
b
1
0.125 B
Network speeds, single binary value
Nibble
—
4
0.5 B
Hex digit, MAC address fields
Byte
B
8
1 B
Universal base unit for file sizes
Kilobyte (SI)
KB
8,000
1,000 B
Small files, text documents
Megabyte (SI)
MB
8,000,000
1,000,000 B
Photos, music, downloads
Gigabyte (SI)
GB
8,000,000,000
1,000,000,000 B
Storage drives, RAM, movies
Terabyte (SI)
TB
8,000,000,000,000
1,000,000,000,000 B
NAS drives, cloud storage
Petabyte (SI)
PB
8 x 10^15
10^15 B
Data centers, big data
Exabyte (SI)
EB
8 x 10^18
10^18 B
Internet traffic, hyperscale
SI Decimal vs Binary IEC: The Standard That Causes Confusion
The same symbol KB can mean two very different things depending on who is using it. The SI decimal standard (used by ISPs, hard drive manufacturers, and network equipment) defines 1 KB as exactly 1,000 bytes. The binary IEC standard (used by operating systems, RAM specifications, and most software) defines what is technically called a kibibyte (KiB) as 1,024 bytes. Unfortunately, operating systems like Windows display KiB sizes as KB, causing widespread confusion.
💡 Why your hard drive shows less than advertised:
A 1 TB drive contains 1,000,000,000,000 bytes (SI decimal). Windows converts to binary GiB: 1,000,000,000,000 ÷ 1,073,741,824 = 931.3 GiB, which Windows displays as 931 GB. No bytes are missing. macOS uses SI decimal so it shows the full 1 TB. Neither is wrong — they use different standards.
Unit
Symbol
Exact Bytes
vs SI
Used By
Kibibyte
KiB
1,024 B
+2.4%
RAM, OS, software
Mebibyte
MiB
1,048,576 B
+4.9%
RAM, OS, software
Gibibyte
GiB
1,073,741,824 B
+7.4%
RAM, OS, software
Tebibyte
TiB
1,099,511,627,776 B
+10.0%
OS, file systems
Pebibyte
PiB
2^50 bytes
+12.6%
Large file systems
What Is a Nibble and When Is It Used?
A nibble is 4 bits, exactly half a byte. Two nibbles form one byte. The primary use of nibbles is in hexadecimal representation: each hex digit (0-9, A-F) requires exactly 4 bits to represent, so one byte can be written as two hex digits. For example, the byte 11010011 in binary equals 0xD3 in hex (0xD = 1101 and 0x3 = 0011). Nibbles appear in MAC address display (six pairs of hex digits = 12 nibbles = 6 bytes = 48 bits), IPv4 address binary analysis, and low-level hardware programming.
Networking vs Storage: When Each Standard Applies
Use SI decimal (KB, MB, GB, TB): Internet speeds (Mbps, GB/month), hard drive capacity, SSD capacity, cloud storage billing (AWS S3, Azure Blob), file download sizes shown by web servers, and Linux/macOS file sizes.
Use binary IEC (KiB, MiB, GiB, TiB): RAM capacity (8 GiB = 8,589,934,592 bytes), Windows file sizes, Linux kernel memory reporting, programming language buffer sizes, and file system allocation units.
Always bits per second: Network interface speeds (100 Mbps, 1 Gbps), ISP plan speeds, Wi-Fi standards (Wi-Fi 6 = 2,400 Mbps), and 5G speed ratings are always in bits per second, never bytes per second.
Real-World Data Size Context
Understanding how data sizes relate to familiar items helps build intuition for working with digital storage.
File Type
Typical Size
Equivalent in Bits
SMS text message
160 bytes
1,280 bits
Email (no attachment)
10–50 KB
80,000–400,000 bits
MP3 song (3 min)
3–5 MB
24–40 million bits
4K photo (RAW)
25–45 MB
200–360 million bits
HD movie (1080p)
1–4 GB
8–32 billion bits
4K movie (60fps)
50–100 GB
400–800 billion bits
Operating system install
20–30 GB
160–240 billion bits
AAA game
50–150 GB
400 billion–1.2 trillion bits
Frequently Asked Questions
There are exactly 8 bits in 1 byte. This is a fundamental definition standardized by IEC 80000-13. A byte can hold 256 different values (2 to the power of 8, or 0 through 255). To convert bits to bytes, divide by 8. To convert bytes to bits, multiply by 8. Example: 1,000 bits divided by 8 equals 125 bytes. Example: 500 bytes times 8 equals 4,000 bits.
A bit (lowercase b) is the smallest unit, a single 0 or 1. A byte (uppercase B) is 8 bits and is the standard unit for file sizes and storage. Network speeds are always in bits per second (Mbps, Gbps). File sizes are in bytes (KB, MB, GB). This is why a 100 Mbps connection delivers 12.5 MB/s, not 100 MB/s: 100 megabits divided by 8 equals 12.5 megabytes.
KB (kilobyte) in SI decimal equals 1,000 bytes. KiB (kibibyte) in binary IEC equals 1,024 bytes. The difference is 24 bytes or 2.4 percent. Storage drives, ISPs, and network equipment use SI decimal KB. RAM, OS memory reporting, and Windows file sizes use binary KiB (but confusingly call them KB). This is the root cause of many storage capacity confusions.
Hard drive manufacturers use SI decimal (1 TB = 1,000,000,000,000 bytes). Windows displays storage using binary GiB (1 TiB = 1,099,511,627,776 bytes). A 1 TB drive with 1,000,000,000,000 bytes equals approximately 931 GiB, which Windows shows as 931 GB. No bytes are missing. macOS shows the correct 1 TB because it uses SI decimal. The discrepancy grows with drive size: 7.4% for GB, 10% for TB.
A nibble is 4 bits, exactly half a byte. Two nibbles form one byte. The primary use is hexadecimal representation: each hex digit (0 to F) requires exactly 4 bits. For example, the byte 11001010 in binary equals 0xCA in hex, where C (1100) and A (1010) are each one nibble. Nibbles appear in MAC address fields, IPv4 header analysis, and assembly-level programming.
In SI decimal (storage/networking): 1 GB equals 1,000,000,000 bytes (one billion bytes). In binary IEC (memory/OS): 1 GiB equals 1,073,741,824 bytes (2 to the power of 30). The difference is about 73.7 million bytes or 7.37 percent. Use SI decimal for hard drive and SSD capacity, ISP data caps, and cloud storage. Use binary IEC for RAM and when a tool or OS displays GiB values.
In SI decimal: 1 MB equals 1,000,000 bytes times 8 equals 8,000,000 bits (8 megabits). In binary IEC: 1 MiB equals 1,048,576 bytes times 8 equals 8,388,608 bits. The networking implication: an 8 Mbps internet connection transfers exactly 1 MB/s (SI decimal). To confirm your download speed, multiply MB/s by 8 to get Mbps, which should match your ISP's advertised speed.
Lowercase b means bits. Uppercase B means bytes. Mbps (lowercase b) = megabits per second. MB/s (uppercase B) = megabytes per second. Gb (lowercase b) = gigabits. GB (uppercase B) = gigabytes. Getting this wrong leads to confusion: 100 Mbps is not 100 MB/s. It is 12.5 MB/s (100 divided by 8). Always check case when reading data specifications.
In SI decimal: 1 TB equals 1,000 GB. In binary IEC: 1 TiB equals 1,024 GiB. Cloud storage billing (AWS, Azure, GCP) uses SI decimal TB. Hard drive capacity uses SI decimal TB. Windows shows storage in binary GiB, calling them GB. A 4 TB drive contains 4,000 GB (SI) but Windows shows approximately 3,637 GB (actually GiB). Enter your value in the converter above to see all equivalents instantly.
In current practical use, zettabyte (ZB, 10^21 bytes SI) is the largest commonly discussed unit. The entire internet was estimated at approximately 100 ZB of data in 2026. For individual systems, petabytes (PB) are used for large enterprise storage arrays and hyperscale data centers. Exabytes (EB) are used for describing total cloud storage capacity. Beyond zettabyte: yottabyte (YB), ronnabyte (RB), and quettabyte (QB) exist but are not yet in practical use.
In SI decimal: 1 MB equals 1,000 KB. Multiply by 1,000 to convert MB to KB. In binary IEC: 1 MiB equals 1,024 KiB. Multiply by 1,024 to convert MiB to KiB. Example (SI): 2.5 MB equals 2,500 KB. Example (binary): 2.5 MiB equals 2,560 KiB. Use the converter above to get instant results in all units for any input value.
In SI decimal: 1 GB equals 1,000 MB. Multiply by 1,000. Example: 2.5 GB equals 2,500 MB. In binary IEC: 1 GiB equals 1,024 MiB. Example: 2.5 GiB equals 2,560 MiB. ISP data caps are in SI GB (1 GB = 1,000 MB). Mobile phone storage specs are also SI. App download sizes shown in app stores are typically SI decimal MB. Enter any value in the calculator above for instant conversion.