Skip to main content

Bytes and Bits Converter

Convert data sizes or rates between bits and bytes in decimal SI (kB, Mbit) and binary IEC (KiB, Mibit) units with exact arithmetic. Input stays local; rates ignore protocol overhead.

Measurement

1 byte = 8 bits; lowercase b is bits and uppercase B is bytes. Decimal SI units (kB, Mbit) use powers of 1,000 and binary IEC units (KiB, Mibit) use powers of 1,024. Exact arithmetic; results with more than 12 significant digits are rounded and marked ≈. A rate converts units only and ignores protocol overhead. Limit: 30 characters.

Converted values

Bits, decimal SI (powers of 1,000)

bit (bit)
8000000000
kbit (kilobit)
8000000
Mbit (megabit)
8000
Gbit (gigabit)
8
Tbit (terabit)
0.008
Pbit (petabit)
0.000008

Bytes, decimal SI (powers of 1,000)

B (byte)
1000000000
kB (kilobyte)
1000000
MB (megabyte)
1000
GB (gigabyte)
1
TB (terabyte)
0.001
PB (petabyte)
0.000001

Bits, binary IEC (powers of 1,024)

Kibit (kibibit)
7812500
Mibit (mebibit)
7629.39453125
Gibit (gibibit)
≈ 7.45058059692
Tibit (tebibit)
≈ 0.00727595761418
Pibit (pebibit)
≈ 0.0000071054273576

Bytes, binary IEC (powers of 1,024)

KiB (kibibyte)
976562.5
MiB (mebibyte)
≈ 953.674316406
GiB (gibibyte)
≈ 0.931322574615
TiB (tebibyte)
≈ 0.000909494701773
PiB (pebibyte)
≈ 0.0000008881784197

Was this tool helpful?