Bits and bytes
A bit is the smallest basic unit of digital information. A byte consists of 8 bits and is commonly used to measure file sizes.
1 byte (B) = 8 bits (b)Convert bits, bytes, kilobytes, megabytes, gigabytes, terabytes and binary storage units with clear, accurate results.
Enter a value, select your units and get the converted result instantly.
Decimal standard (base 1000)
Binary standard (base 1024)
1,000
Select a common storage size to use it as your starting amount.
See the current amount in all supported units.
Common decimal and binary storage units and their byte equivalents.
| Unit | Bytes | Standard |
|---|---|---|
| Bit (b) | 1/8 byte | Basic data unit |
| Byte (B) | 1 | Basic storage unit |
| Kilobyte (KB) | 1,000 | Decimal |
| Megabyte (MB) | 1,000,000 | Decimal |
| Gigabyte (GB) | 1,000,000,000 | Decimal |
| Terabyte (TB) | 1,000,000,000,000 | Decimal |
| Petabyte (PB) | 1,000,000,000,000,000 | Decimal |
| Kibibyte (KiB) | 1,024 | Binary |
| Mebibyte (MiB) | 1,048,576 | Binary |
| Gibibyte (GiB) | 1,073,741,824 | Binary |
| Tebibyte (TiB) | 1,099,511,627,776 | Binary |
| Pebibyte (PiB) | 1,125,899,906,842,624 | Binary |
Learn the difference between common data units and how conversions work.
A bit is the smallest basic unit of digital information. A byte consists of 8 bits and is commonly used to measure file sizes.
1 byte (B) = 8 bits (b)Decimal units use powers of 1,000. They are commonly used for drive capacity and data transfer specifications.
1 GB = 1,000 MBBinary units use powers of 1,024. They are useful when working with binary-based memory and computing measurements.
1 GiB = 1,024 MiBNetwork speeds are commonly measured in bits per second, while file sizes are usually measured in bytes. These measure different things: transfer rate versus stored data.
8 megabits = 1 megabyteYour latest conversions remain available while this page is open.
A kilobyte (KB) uses the decimal standard and equals 1,000 bytes. A kibibyte (KiB) uses the binary standard and equals 1,024 bytes.
One decimal gigabyte equals 1,000 megabytes. One gibibyte equals 1,024 mebibytes. Always check which unit standard is being used.
A byte consists of 8 bits.
Drive manufacturers commonly use decimal units, where 1 GB is 1,000,000,000 bytes. Some operating systems display capacity using binary-sized values while labelling them with decimal-style names. Formatting and system partitions can also affect available space.
This converter supports decimal exabytes (EB) and binary exbibytes (EiB), alongside smaller units.
Yes. The converter runs in your browser and does not require an account. Your recent conversion history is kept only for the current page session.
The Data Storage Converter translates between units of digital storage: bytes, kilobytes, megabytes, gigabytes, terabytes and the binary equivalents, along with bits and kilobits where relevant.
The confusion here is decimal against binary. A kilobyte is 1,000 bytes in the SI sense, but 1,024 bytes in the binary sense, which is what operating systems have historically used. That is why a drive sold as 1 TB shows about 931 GB in Windows: the manufacturer counts decimal, the system counts binary.
The IEC names remove the ambiguity: KiB is a kibibyte, 1,024 bytes, while kB is a kilobyte, 1,000 bytes. Storage vendors and network speeds use decimal; memory and many file systems use binary. Knowing which one a figure refers to explains most discrepancies.
Manufacturers count 1 TB as 1,000,000,000,000 bytes, while the operating system divides by 1,024, showing about 931 GB.
A kilobyte is 1,000 bytes; a kibibyte is 1,024. The IEC introduced the -bi names to end the ambiguity.
Eight. Network speeds are quoted in bits per second, storage in bytes, which is why a 100 Mbps connection downloads at about 12.5 MB per second.
Binary. A module sold as 8 GB holds 8 gibibytes, 8,589,934,592 bytes.
Yes, and the factor of eight is the usual reason a quoted speed looks wrong.
The factors are exact; display precision is rounded.