Data Size Converter
Convert between bytes, kilobytes, megabytes, gigabytes, terabytes, and more in real time. Supports both binary (1024) and decimal (1000) standards.
Binary: 1024-based (KiB, MiB, GiB...)
Conversion Results
| Unit | Value |
|---|---|
| B | 1073740000 |
| KiB | 1048580 |
| MiB | 1024 |
| GiB | 1 |
| TiB | 0.000976563 |
| PiB | 9.53674e-7 |
| EiB | 9.31323e-10 |
How to Calculate
## What Are Data Size Units?
Data size units measure the amount of digital information. There are two standard systems:
### Binary (1024-based)
Used internally by computers. IEC standard units use KiB, MiB, GiB, etc.
- 1 KiB = 1,024 B
- 1 MiB = 1,024 KiB = 1,048,576 B
- 1 GiB = 1,024 MiB = 1,073,741,824 B
### Decimal (1000-based)
Used by storage manufacturers. Uses SI prefix units.
- 1 KB = 1,000 B
- 1 MB = 1,000 KB = 1,000,000 B
- 1 GB = 1,000 MB = 1,000,000,000 B
This difference is why a 1TB HDD shows approximately 931 GiB when formatted.
Example
FAQ
What is the difference between KB and KiB?
KB (kilobyte) is a decimal unit equal to 1,000 bytes, while KiB (kibibyte) is a binary unit equal to 1,024 bytes. Operating systems typically use binary units, while storage manufacturers use decimal units, which causes the apparent capacity difference.
Why does my hard drive show less capacity than advertised?
Hard drive manufacturers calculate 1 GB as 1,000,000,000 bytes (decimal), but operating systems display 1 GiB as 1,073,741,824 bytes (binary). For example, a 1 TB HDD shows approximately 931 GiB in your OS.
Which standard should I use?
Use binary (1024) for file sizes, RAM, cache, and internal computer measurements. Use decimal (1000) for network speeds, storage device specifications, and manufacturer-listed capacities.