Skip to content
← Back

Byte Unit Converter - B/KB/MB/GB/TB Online

Text
Runs locally · Not uploaded

Free online byte unit converter. Quickly convert between B, KB, MB, GB, TB, PB and KiB, MiB, GiB, TiB. Supports both decimal (1000) and binary (1024) standards. Essential tool for developers and DevOps engineers.

Was this result helpful?

For local tools, open DevTools → Network and search your input — it should not appear in requests.

Usage Guide

Is 1KB 1000 or 1024 bytes? This tool shows decimal and binary units side by side — local math.

1. How to use

Click a result row to switch the input unit.

  1. Enter a value and unit.
  2. Read both decimal and binary columns.
  3. Pick the convention you need.

2. Why two standards

  • Drive TB vs OS GiB.
  • Bandwidth: divide by 8, stay decimal.
  • State KB vs KiB in quotes.

3. Mental anchors

1 MiB ≈ 1.048 MB; gap grows slowly with magnitude.

4. Cloud sizing

  • K8s memory often binary.
  • Object storage bills often decimal.
  • Check log unit origins.

5. Vs number-base tools

This page is magnitude only; bit-width math belongs elsewhere.

6. Docs templates

  • Quote both units externally.
  • Pick one primary internally.
  • Never label a column as just K.

7. Reminder

Ask once: 1000 or 1024 — then convert here.

FAQ

Decimal units (B, KB, MB, GB, TB, PB) plus binary units (KiB, MiB, GiB, TiB) — 10 common storage units in total. A single entry returns the full conversion table under both standards at once, so you never have to guess between base 1000 and base 1024.

Decimal units (KB/MB/GB) use base 1000 — the convention of drive manufacturers and network operators. Binary units (KiB/MiB/GiB) use base 1024, matching how operating systems and memory count bytes. 1 GB = 1000 MB, while 1 GiB = 1024 MiB.

Manufacturers label capacity in decimal while the OS displays binary: a drive sold as 1 TB (10 to the 12th power bytes) shows roughly 931 GiB. That is a convention gap, not lost capacity. Noting the unit system in quotes and docs — e.g. "1 TB (decimal, about 0.91 TiB)" — heads off most disputes.

Divide by 8 to get MB/s, then stay decimal: 100 Mbps maps to 12.5 MB/s — do not drag 1024 into it. Also, MB/s figures from NIC counters are usually decimal while some memory profilers report binary, so confirm the source before comparing.

Keep a few anchors in mind: 1 MiB is about 1.048 MB (roughly 5% more), 100 GiB is about 107.4 GB (about 7% more), and the gap widens to roughly 10% at TB scale. Cloud workloads add their own traps: Kubernetes memory requests use Mi/Gi, object-storage bills use decimal GB/TB, and local df output is often 1024-based — unify the units before reconciling bills.

No. Everything is computed locally in your browser, it works offline, and the numbers you type are never sent anywhere.

Related Tools

Related Articles