Data Converter

Convert data sizes between bits, bytes, and common decimal/binary units. Helpful for files, storage, and bandwidth math.

Tip: choose the input unit (e.g., MB) and the output unit (e.g., MiB). Supports decimals.

Result will appear here.
Also show (approx.) Value

Privacy: runs locally in your browser. No inputs are stored or transmitted.

How it works

This converter uses bytes as an internal base unit for byte-based conversions, and bits for bit-based conversions:
1 byte = 8 bits
Decimal: 1 KB = 1,000 bytes · 1 MB = 1,000,000 bytes · 1 GB = 1,000,000,000 bytes
Binary: 1 KiB = 1,024 bytes · 1 MiB = 1,048,576 bytes · 1 GiB = 1,073,741,824 bytes

Examples

  • 1 GB0.931 GiB (approx.)
  • 100 MB95.367 MiB (approx.)
  • 10 Mb (megabits) → 1.25 MB (megabytes)

FAQ

  • What is the difference between KB and KiB?

    KB (kilobyte) is decimal: 1 KB = 1,000 bytes. KiB (kibibyte) is binary: 1 KiB = 1,024 bytes.

  • Is a bit the same as a byte?

    No. 1 byte = 8 bits.

  • Which should I use: decimal (KB/MB/GB) or binary (KiB/MiB/GiB)?

    Storage manufacturers often use decimal (GB). Operating systems and memory sizing often use binary (GiB).

  • Are my inputs stored?

    No. This converter runs locally in your browser.

Related tools