Data Size Converter
Convert bytes, KB, MB, GB and TB, including binary KiB/MiB/GiB.
All units
About this tool
Convert between bytes, kilobytes, megabytes, gigabytes and terabytes, with the binary units (KiB, MiB, GiB, TiB) alongside the decimal ones. Enter a value, pick your units, and the result updates as you type. The swap button flips the direction.
The decimal versus binary split is the usual source of confusion: a kilobyte is 1000 bytes but a kibibyte is 1024. That 2.4% per step is why a drive sold as 1 TB shows up as about 931 GiB in your file manager. The all-units table makes the gap easy to see at a glance.
Frequently asked questions
- What is the difference between MB and MiB?
- A megabyte (MB) is 1,000,000 bytes. A mebibyte (MiB) is 1,048,576 bytes (1024Β²). So 1 MB is about 0.954 MiB. Disk makers advertise in MB/GB while operating systems often report in MiB/GiB, which is why a "1 TB" drive shows as about 931 GiB.
- How many MB are in a GB?
- In decimal units, 1000 MB make a GB. In binary units, 1024 MiB make a GiB. Pick the units that match your context above.
- How do bits relate to bytes?
- One byte is 8 bits. Network speeds are usually in bits (megabits, Mb), while file sizes are in bytes (megabytes, MB), so a 100 Mb/s connection tops out around 12.5 MB/s.
Related tools
JSON Formatter π Format, validate and minify JSON with clear error messages. Unix Timestamp Converter π Convert Unix timestamps to dates and back, in seconds or milliseconds. Base64 Encode / Decode π Encode and decode Base64 text or convert files to data URIs. JWT Decoder π Decode JWT header and payload without your token leaving the page.