CIRCUITO
CARIOCA TI · DOCUMENTATION
♙
Data converter

Data Unit Converter

Convert bits and bytes between decimal SI units (kB, MB, GB, TB, PB) and IEC binary units (KiB, MiB, GiB, TiB, PiB) without mixing 1000 and 1024 conventions.

bitbytekBMBGBTBKiBMiBGiBTiBIECSI

Convert data and storage units

Choose the exact unit you mean. Decimal SI units and IEC binary units are represented separately so that GB is not silently treated as GiB.

SI × IEC

The important correction: GB and GiB are not the same unit

The earlier version of this tool offered a “1000 or 1024” switch while keeping labels such as KB, MB and GB. That reflects historical software practice, but it mixes two naming systems. In standardized notation, SI prefixes are decimal: 1 kB = 1000 B, 1 MB = 1,000,000 B and 1 GB = 1,000,000,000 B. Binary multiples use IEC prefixes: 1 KiB = 1024 B, 1 MiB = 1,048,576 B and 1 GiB = 1,073,741,824 B.

BITS & BYTES

1 byte equals 8 bits

The byte symbol is uppercase B, while bit is normally written bit. This distinction matters: 1 MB is one megabyte, while 1 Mbit is one megabit. Because one byte contains eight bits, 1 MB corresponds to 8 Mbit when both prefixes use the same decimal scale.

SI · 1000

Decimal units: kB, MB, GB, TB and PB

SI prefixes are powers of ten. Kilo represents 10³, mega 10⁶, giga 10⁹, tera 10¹² and peta 10¹⁵. Applied to bytes, that produces exact decimal multiples. This convention is commonly encountered in storage-device capacity, network-rate notation and standards-oriented technical documentation.

IEC · 1024

Binary units: KiB, MiB, GiB, TiB and PiB

IEC binary prefixes represent powers of 2¹⁰. Kibi (Ki) is 2¹⁰, mebi (Mi) is 2²⁰, gibi (Gi) is 2³⁰, tebi (Ti) is 2⁴⁰ and pebi (Pi) is 2⁵⁰. Therefore 1 GiB is exactly 1,073,741,824 bytes. These names remove the ambiguity created when SI symbols were historically reused for binary quantities.

KB × kB × KiB

Why this calculator uses kB instead of KB for decimal kilobyte

In SI notation, the symbol for kilo is lowercase k, so the standards-oriented symbol for kilobyte is kB. Uppercase K is not the SI prefix symbol for kilo. Many operating systems, products and interfaces still display KB for historical or practical reasons, so you will encounter both forms in the real world. This calculator uses kB for the decimal unit and KiB for the binary unit to keep their meanings explicit.

STORAGE CAPACITY

Why a “1 TB” drive can appear smaller in some software

A device advertised as 1 TB using decimal notation contains 1,000,000,000,000 bytes. The same byte count is about 931.323 GiB. If software divides the byte count by powers of 1024 but labels the result as GB instead of GiB, users see a smaller-looking number even though the underlying byte capacity has not disappeared. Formatting, filesystem metadata, partitions and reserved space can introduce additional differences.

NETWORK SPEED

MB is not the same as Mbit

Network link rates are commonly expressed in bits per second, such as Mbit/s or Gbit/s, while file sizes are commonly expressed in bytes. An ideal 100 Mbit/s data rate corresponds mathematically to 12.5 MB/s before protocol overhead, encoding, retransmissions and other real-world effects are considered. Do not compare a file size in MB directly with a link rate in Mbit/s without accounting for the factor of eight and time.

PRECISION

Exact unit definitions versus floating-point display

The conversion factors used here are exact definitions for the listed units. The calculator performs arithmetic with PHP floating-point numbers, so extremely large values or results with many fractional digits can be rounded for display. For ordinary storage, memory and networking calculations this is generally sufficient, but applications requiring arbitrary-precision integer accounting should use an appropriate big-integer or decimal library.

FAQ

Data unit converter frequently asked questions

Is 1 GB equal to 1000 MB or 1024 MB?+

Using SI decimal prefixes, 1 GB equals exactly 1000 MB. The binary quantity based on 1024 is expressed with IEC prefixes: 1 GiB equals 1024 MiB.

What is the difference between GB and GiB?+

GB is decimal: 1 GB = 1,000,000,000 bytes. GiB is binary: 1 GiB = 1,073,741,824 bytes.

What is the difference between MB and MiB?+

1 MB is 1,000,000 bytes, while 1 MiB is 1,048,576 bytes.

What is the difference between kB and KiB?+

1 kB is 1000 bytes under SI notation. 1 KiB is 1024 bytes using the IEC binary prefix kibi.

Is KB the correct symbol for kilobyte?+

Standards-oriented SI notation uses lowercase k for kilo, so kB represents decimal kilobyte. KB remains common in software and product interfaces, but it can be ambiguous in historical usage.

How many bits are in one byte?+

One byte contains 8 bits.

Is 1 MB equal to 8 Mbit?+

Yes when both use decimal SI prefixes: 1 MB = 8 Mbit. This is a unit conversion and does not by itself include a per-second rate.

Why does a 1 TB drive sometimes appear as about 931 GiB?+

1 TB is 1,000,000,000,000 bytes. Dividing that byte count by 2^30 gives about 931.323 GiB. Some software historically labels binary quantities with decimal-looking symbols, which adds confusion.

Are storage manufacturers wrong to use decimal GB and TB?+

No. SI prefixes such as giga and tera are decimal powers of ten. Confusion usually comes from software or users interpreting the same symbols as powers of 1024.

What are IEC binary prefixes?+

They are standardized prefixes for binary multiples, including kibi (Ki), mebi (Mi), gibi (Gi), tebi (Ti) and pebi (Pi).

Is 1024 KB the same as 1 MB?+

That wording is historically common but ambiguous. In standardized notation, 1000 kB = 1 MB, while 1024 KiB = 1 MiB.

What is the difference between MB and Mbit?+

MB means megabytes and Mbit means megabits. Since one byte is eight bits, 1 MB equals 8 Mbit when using the same decimal prefix.

Does 100 Mbit/s mean 100 MB/s?+

No. Ignoring overhead, 100 Mbit/s corresponds to 12.5 MB/s because eight bits make one byte.

Which units should I use for RAM?+

Binary IEC units such as MiB and GiB make powers-of-two quantities explicit. Real product labels and operating systems may use other conventions, so always check how a particular source defines its displayed unit.

Which units should I use for SSD or hard-drive capacity?+

Manufacturers commonly specify storage capacity with decimal SI units such as GB and TB. Converting the same byte count to GiB or TiB produces a numerically smaller value without changing the actual byte count.

Can this converter handle bits and bytes together?+

Yes. It normalizes the selected quantity through bytes and applies the factor of eight when converting to or from bit-based units.