Decision tools built for clarity

Data Units Converter

Convert decimal and binary data quantities while keeping bits and bytes distinct.

Enter the required values, select the applicable options, and calculate.

Methodology

Formula or transformation

Normalizes decimal and binary data units to bits before applying the target-unit factor.

Variables

  1. Submitted data quantity
  2. Source unit factor in bits
  3. Canonical quantity in bits
  4. Target unit factor in bits

Units

  • Bit
  • Byte
  • Kilobit
  • Kilobyte
  • Megabit
  • Megabyte
  • Gigabit
  • Gigabyte
  • Terabit
  • Terabyte
  • Kibibit
  • Kibibyte
  • Mebibit
  • Mebibyte
  • Gibibit
  • Gibibyte
  • Tebibit
  • Tebibyte

Rounding policy

The converted data quantity is rounded half away from zero to twelve decimal places, and to twelve significant digits when it is below one.

Every supported unit is normalized to bits; decimal prefixes use powers of 1000 and binary prefixes use powers of 1024.

Convert decimal and binary data quantities while keeping bits and bytes distinct.

Reviewed sources

  1. NIST — Prefixes for binary multiples Reviewed on 2026-09-07
  2. NIST — SI units and decimal prefixes Reviewed on 2026-09-07

Formula review history

  1. Initial formula and source review.

    Reviewed 2026-09-07 for formula version nist-iec-data-unit-conversion-v1

Assumptions

  • Inputs are interpreted using the displayed units and options.
  • The calculation follows the methodology and factors listed in the sources.

Limitations

  • Display rounding can hide additional decimal places.
  • The calculation cannot add accuracy that is absent from the submitted inputs.

Worked example

One mebibyte equals 1.048576 megabytes.

Frequently asked questions

What is the difference between a megabyte and a mebibyte?

A megabyte uses the decimal prefix (1,000,000 bytes) and a mebibyte the binary prefix (1,048,576 bytes), so 1 MiB is 1.048576 MB. The converter keeps both families, and bits and bytes, distinct.

Which quantities can I convert?

Any value from 0 up to a trillion in the chosen source unit, for example 1 TB to 1,000 GB or 1 TiB to 1,024 GiB; everything is converted through bits.