Data converter
Convert digital storage and data-transfer sizes. This converter distinguishes decimal units (kB, MB, GB) from binary units (KiB, MiB, GiB), which is the source of most “missing storage” confusion.
Data converter
LivePopular data conversions
The data conversion formula
Every unit in this category is defined by a fixed factor relative to the byte (B).
A bit is one binary digit; a byte is eight bits. Decimal SI prefixes use powers of 1,000 (1 kB = 1,000 B; 1 MB = 1,000,000 B). Binary IEC prefixes use powers of 1,024 (1 KiB = 1,024 B; 1 MiB = 1,048,576 B).
Convert step by step
Choose the unit you have, enter a value, and the converter multiplies by the correct factor. For units with offsets (temperature) or inverse relationships (fuel economy), it applies the full formula rather than a single factor. The equation under the result shows exactly what happened.
Drive manufacturers usually advertise decimal sizes, while operating systems may report binary units. A “500 GB” drive is about 465 GiB, not because space is missing but because 500,000,000,000 bytes is about 465.66 GiB. Also, internet speeds are usually in bits per second, not bytes.
All data conversions
Open any pair for a dedicated page with the reverse formula, a conversion table and worked examples.
From kibibytes (KiB)
From mebibytes (MiB)
From gibibytes (GiB)
Unit reference
| Unit | Symbol | Factor to B | Definition |
|---|---|---|---|
| bit | bit | 0.125 | One binary digit, the smallest unit of digital information. |
| byte | B | 1 | Eight bits, the basic addressable unit of computer memory. |
| kilobyte | kB | 1,000 | 1,000 bytes in decimal SI notation. |
| kibibyte | KiB | 1,024 | 1,024 bytes, the binary unit often shown by operating systems. |
| megabyte | MB | 1,000,000 | 1,000,000 bytes in decimal notation. |
| mebibyte | MiB | 1,048,576 | 1,048,576 bytes, equal to 1,024 KiB. |
| gigabyte | GB | 1,000,000,000 | 1,000,000,000 bytes in decimal notation. |
| gibibyte | GiB | 1,073,741,824 | 1,073,741,824 bytes, equal to 1,024 MiB. |
| terabyte | TB | 1,000,000,000,000 | 1,000,000,000,000 bytes in decimal notation. |
| tebibyte | TiB | 1,099,511,627,776 | 1,099,511,627,776 bytes, equal to 1,024 GiB. |
“Special” means the unit needs a formula with an offset or an inverse relationship rather than a single multiplier.
Frequently asked questions
How many bytes are in a kilobyte?
How many megabytes are in a gigabyte?
Why does my 1 TB drive show less space?
How many units are in the data converter?
How precise are the results?
Can I convert the other direction?
Factors on this page follow the definitions and guidance of the bodies below. Where a unit is a convention rather than a fixed definition, the page states the value used.
- BIPM — The International System of Units (SI Brochure, 9th edition)Primary definition of the seven SI base units and derived units.
- NIST Special Publication 811 — Guide for the Use of the International System of UnitsRules for writing and converting SI values, including rounding and significant figures.
- NIST CODATA — Recommended values of the fundamental physical constantsConstants used in physics and chemistry calculations, updated as CODATA values change.
- International Electrotechnical Commission (IEC)International standards for electrical quantities and binary prefixes used on the data converter.
How these are used: sources and standards.
Go beyond data conversion
Use the formula library and science calculators to understand what the number means.