Data storage converter

Convert bytes using distinct SI decimal kB–PB and IEC binary KiB–PiB units.

Inputs stay in your browser

Interactive tool

Enable JavaScript to use the interactive controls. The guide below is available without JavaScript.

The data storage converter distinguishes decimal storage labels from binary capacity labels instead of treating KB and KiB as interchangeable.

When to use this tool

  • Compare decimal drive capacity with an operating system’s binary display.
  • Translate a file size between SI and IEC units without changing the underlying byte count.

How to use

  1. Enter a finite storage quantity.
  2. Choose the current decimal or binary unit explicitly.
  3. Choose the destination unit and review the converted value.

Example

GB and GiB

1 GB equals 1,000 MB, while 1 GiB equals 1,024 MiB. One MiB equals 1.048576 MB.

How it works

  • SI decimal units use powers of 1,000: 1 kB = 1,000 B. IEC binary units use powers of 1,024: 1 KiB = 1,024 B.

Limits and notes

  • Results larger than JavaScript’s safe integer range are rejected instead of presenting an exact byte count that may be misleading.
  • The tool converts capacity values only; it does not inspect files, filesystem overhead, compression, or available space.

Frequently asked questions

What is the difference between GB and GiB?

GB is decimal and equals 1,000,000,000 bytes; GiB is binary and equals 1,073,741,824 bytes.

Why can drive capacity and system display differ?

Drive vendors commonly use decimal units while some systems present binary quantities, so the numeric labels differ for the same byte count.

References

Related tools

Send tool feedback

The message includes page context only, never tool input or results.

Send tool feedback