Data Size Converter

Data Size Converter

Using the byte as the base unit, convert between decimal (KB, MB, GB) and binary (KiB, MiB, GiB) units, and between bits and bytes.

Converter


All units at once (for the value above)

UnitConverted value

How to use

  1. Enter a number in Value to convert.
  2. Pick a From unit and a To unit.
  3. Press Convert and the result appears immediately.
  4. The all-units table below converts your value into every unit at once.

Conversion formula and unit table

Every unit is first converted to a common base unit (SI), then from that base unit into the target unit.

UnitSymbolRatio to base unit
Byte (B) B 1
Kilobyte (KB, decimal) KB 1000
Megabyte (MB) MB 1000000
Gigabyte (GB) GB 1000000000
Terabyte (TB) TB 1000000000000
Petabyte (PB) PB 1.0E+15
Bit bit 0.125
Kilobit (Kbit) Kbit 125
Megabit (Mbit) Mbit 125000
Kibibyte (KiB, binary) KiB 1024
Mebibyte (MiB) MiB 1048576
Gibibyte (GiB) GiB 1073741824
Tebibyte (TiB) TiB 1099511627776

Worked examples

Why a "1 TB" drive shows up as less

The manufacturer means 1 TB = 10¹² bytes, but the operating system reports binary units: about 931 GiB. Nothing is missing — the two sides are counting differently.

100 Mbps internet to MB/s

100 / 8 = 12.5 MB/s, because there are 8 bits in a byte

Frequently asked questions

Yes. A gigabyte is 10⁹ bytes and a gibibyte is 2³⁰ bytes, so 1 GB = 0.931 GiB. Drive makers advertise in GB while Windows reports GiB, which is why a new disk always looks smaller than the box claimed.

Notes and disclaimer

This calculator is for reference only. Tax and financial rules change from year to year, and results vary with individual circumstances. Before filing, paying or taking out a loan, please confirm the figures with a qualified tax adviser, accountant or your financial institution.

Last updated: 2026-05-11 · Based on: 2026 rules