Data Storage Converter (Bytes, KB, MB, GB, TB)

Convert between bytes, kilobytes, megabytes, gigabytes, terabytes, and bits — in decimal (1000) or binary (1024). Instant and fully client-side.

Runs in your browser — nothing uploaded
Bits
8,000,000,000
Bytes
1,000,000,000
Kilobytes (KB)
1,000,000
Megabytes (MB)
1,000
Gigabytes (GB) · source
1
Terabytes (TB)
0.001
Petabytes (PB)
1.0000e-6

Convert between bytes, kilobytes, megabytes, gigabytes, terabytes, and bits in one place. Switch between the decimal (1000) standard used by storage and network vendors and the binary (1024) standard used by operating systems — the same toggle that explains why a new drive never shows its advertised size.

Private by design — your data never leaves your device

How to use it

No account, no upload — it all happens on your device.

1
Type a value and pick the unit it's in (bytes, KB, MB, GB, TB, or bits).
2
Choose the standard: Decimal (1000) like drive makers, or Binary (1024) like your OS.
3
Read the converted amount in every unit — the source unit is highlighted.
4
Click the copy icon on any card to copy that value.

Decimal vs binary units

Same prefixes, different step size.

UnitDecimal (SI)Binary (IEC)
Kilobyte1,000 bytes1,024 bytes (KiB)
Megabyte1,000² bytes1,024² bytes (MiB)
Gigabyte1,000³ bytes1,024³ bytes (GiB)
Terabyte1,000⁴ bytes1,024⁴ bytes (TiB)

The two standards drift further apart as the numbers grow: a difference of 2.4% at the kilobyte level becomes roughly 10% by the terabyte level. That is the entire reason your “1 TB” disk reports about 931 GiB once formatted.

Quick reference

  • 1 byte = 8 bits. File sizes are measured in bytes; network speeds are usually in bits per second.
  • Storage and bandwidth use decimal. Drive capacities and ISP speeds are quoted in powers of 1000.
  • RAM and OS file sizes lean binary. Memory is addressed in powers of 1024, and many operating systems still label binary sizes with decimal prefixes.

Frequently asked

What's the difference between decimal (1000) and binary (1024)?
Decimal units (KB, MB, GB) step by 1000 and are used by storage makers, networks, and most marketing. Binary units (KiB, MiB, GiB) step by 1024 and are how operating systems often measure memory and disk. That gap is why a '1 TB' drive shows as about 931 GB in your file manager.
How many bytes are in a gigabyte?
In decimal, 1 GB = 1,000,000,000 bytes (1000³). In binary, 1 GiB = 1,073,741,824 bytes (1024³). Toggle the standard at the top to switch between the two.
Is my data sent anywhere?
No. Every conversion is arithmetic that runs in your browser. Nothing you enter is uploaded or stored.

Related tools

Color ConverterConvert any color between HEX, RGB, HSL, HWB, and OKLCH instantly. Includes a live swatch and one-click copy for each format.QR Code GeneratorGenerate QR codes for URLs, text, Wi-Fi, and more — entirely in your browser. Download as PNG or SVG. No tracking, no uploads.Unix Timestamp ConverterConvert Unix timestamps to human-readable dates and back. Supports seconds and milliseconds, UTC and local time. All in your browser.