deftools.io Developer Tools

🔀 Byte Converter

Convert data sizes between bytes, KB, KiB, MB, MiB, GB, GiB, TB, bits and more. Decimal (SI) and binary (IEC) units, plus a download-time estimator.

Click any row to copy

Bytes — decimal (SI, base 1000)

Bytes — binary (IEC, base 1024)

Bits

Download / transfer time

How long to transfer this much data at a given speed.

Transfer time

About this tool

Convert any data size between bytes, kilobytes, megabytes, gigabytes, terabytes, their binary siblings (kibibyte, mebibyte, gibibyte), and bits — all at once. Type a value, pick a unit, and every other unit updates instantly. Click any result to copy it.

The tool distinguishes decimal (SI) units — where 1 KB = 1000 bytes, the standard used by storage manufacturers and macOS — from binary (IEC) units, where 1 KiB = 1024 bytes, the standard used by RAM and most Linux tools. Example: 1 MB = 1000 KB = 0.9537 MiB; 1 MiB = 1048576 B = 1.0486 MB.

The download-time estimator at the bottom shows how long a transfer of this size takes at a given speed. Example: 700 MB at 100 Mbps56 s (because 100 Mbps = 12.5 MB/s, not 100 MB/s — bits vs bytes).

FAQ

What is the difference between KB and KiB?

KB is the decimal (SI) unit equal to exactly 1000 bytes. KiB is the binary (IEC) unit equal to 1024 bytes. Disk and SSD manufacturers use decimal units, while RAM sizes and most file managers on Linux use binary units. This 2.4% gap is why a "1 TB" drive shows as about 931 GiB in your operating system.

Why does my 1 TB drive show only 931 GB?

The drive actually has 1,000,000,000,000 bytes (decimal TB). Divided by 1024 three times for GiB gives about 931 GiB. The space is the same; only the unit differs. Enter 1 TB in this tool to see it as 931.32 GiB.

How many bytes are in a megabit?

A megabit (Mb) is 1,000,000 bits. Since there are 8 bits in a byte, that equals 125,000 bytes or 0.125 MB. Internet speeds are advertised in megabits per second (Mbps), which is why a 100 Mbps connection downloads at about 12.5 MB/s.

Does this tool work offline?

All calculations run in your browser. Once the page has loaded once, it keeps working without a network connection.

More developer tools

Copied!