Data Storage Converter – KB, MB, GB and TB

Converted value

0.001 GB

About Data Storage Converter

Convert file sizes between bytes, kilobytes, megabytes, gigabytes and terabytes, with a clear choice between decimal and binary storage math.

Storage numbers are confusing because vendors often use decimal units (1 KB = 1000 bytes) while operating systems often display binary-style sizes (1 KB = 1024 bytes). This converter makes the base explicit so you can see exactly which calculation is being used.

Everything runs as plain arithmetic in your browser. Nothing is uploaded or sent anywhere.

Decimal and binary, with examples

In decimal mode each step is 1,000: 1 GB is 1,000 MB. In binary mode each step is 1,024: 1 GB is 1,024 MB. The units covered are bytes, KB, MB, GB and TB. A 5,000,000-byte file is 5 MB in decimal and about 4.77 MB in binary, so the same file can honestly show two sizes depending on who reports it.

That is why a 1 TB drive shows about 931 GB in an operating system that counts in 1,024s: 1,000,000,000,000 bytes divided by 1,024 three times is 931.3. Nothing is missing from the drive; the label changed. A 500 GB drive likewise shows about 465.7 GB.

Which one to pick

Use decimal when comparing against what a manufacturer, ISP or cloud provider advertises, since storage and network figures are normally decimal. Use binary when matching what an operating system, file manager or memory spec shows. Windows reports binary values under a decimal-style label, while macOS reports decimal, so the same drive can show two different sizes on two machines.

Upload limits vary: some web forms count 1 KB as 1,000 bytes and others as 1,024. If you are close to a limit, convert in both modes and aim for a size that passes under either.

What it does not convert

This covers bytes up to terabytes only. Bits, megabits per second and petabytes are outside it, and network speed in Mbps is a different unit from storage in MB — divide megabits by eight to get megabytes. Very small results are shown with a limited number of decimals, so for an exact byte count convert to bytes.

What you can use it for

  • Convert a file size from MB to GB before uploading
  • Compare advertised drive capacity with operating-system reported size
  • Turn bytes from an API or log into a readable unit
  • Check whether a file fits under an upload limit

How it works, step by step

  1. 1

    Enter the value

    Type the storage amount you want to convert.

  2. 2

    Choose decimal or binary

    Use decimal for 1000-based units or binary for 1024-based units.

  3. 3

    Pick units

    Select the source and target unit.

  4. 4

    Copy result

    Copy the converted value if needed.

Frequently asked questions

Is 1 KB 1000 bytes or 1024 bytes?

Both are used in practice. Decimal storage uses 1000 bytes, while binary-style computer memory math uses 1024 bytes. This tool lets you choose.

Why does my 1 TB drive show less than 1 TB?

Drive makers usually advertise decimal terabytes, while many operating systems display binary-style sizes. The raw bytes are the same; the label differs.