Convert between bits, bytes, kilobytes, megabytes, gigabytes and terabytes, with both decimal (SI) and binary (IEC) prefixes shown side by side.

Convert data sizes between bits and bytes and between the decimal (kB, MB, GB) and binary (KiB, MiB, GiB) prefix systems. Both readings are shown so you can tell exactly why a "500 GB" drive reports 465 GiB.

Decimal vs binary prefixes

Storage vendors count 1 kB as 1000 bytes, while operating systems have historically counted 1 KiB as 1024 bytes. The tool displays both so the numbers on the box and in your file manager finally agree.

What you can convert

Bits, bytes, kilobits, kilobytes, megabits, megabytes, gigabits, gigabytes, terabits and terabytes, plus the IEC binary equivalents. Everything is computed locally in your browser.

    Rating
    5 stars · Excellent
    Code
    No reviews yet — be the first to write one.