User Rating 0.0
Total Usage 0 times
Supports integers, decimals, and scientific notation (e.g. 1.5e10)
Enter a value to see the result
Quick examples:
Is this tool helpful?

Your feedback helps us improve.

About

Misidentifying binary vs. decimal prefixes causes real data loss. A drive advertised as 1 TB (decimal, 1012 bytes) appears as roughly 931 GiB in an operating system that counts in powers of 1024. The discrepancy - approximately 7.4% per prefix tier - compounds through storage planning, bandwidth billing, and network throughput calculations. This converter operates on the IEC 80000-13 and SI standards: 1 byte = 8 bits, binary prefixes use 210 (1024) steps, decimal prefixes use 103 (1000) steps. It preserves up to 15 significant digits to avoid IEEE 754 floating-point truncation at large scales.

bytes to bits bits to bytes data unit converter binary converter byte calculator data storage units kilobytes to megabytes

Formulas

Every data unit maps to a base count in bits. Conversion between any two units passes through this common base:

R = V × FfromFto

Where R = result value in the target unit, V = input value, Ffrom = number of bits per one unit of the source type, Fto = number of bits per one unit of the target type.

The fundamental relationship is 1 byte = 8 bits. Binary (IEC) prefixes increment by 210 = 1024 per tier. Decimal (SI) prefixes increment by 103 = 1000 per tier. The percentage gap between a decimal and binary unit at the same prefix level is:

Δ = 1 103n210n

Where n = prefix tier (1 for kilo/kibi, 2 for mega/mebi, etc.). At n = 1, the gap is 2.4%. At n = 3 (giga/gibi), it reaches 7.4%.

Reference Data

UnitSymbolStandardEquivalent in BitsBase
BitbSI1 -
NibblenibbleCommon4 -
ByteBSI8 -
KilobitkbSI (decimal)1,000103
KibibitKibIEC (binary)1,024210
KilobytekBSI (decimal)8,000103 × 8
KibibyteKiBIEC (binary)8,192210 × 8
MegabitMbSI (decimal)1,000,000106
MebibitMibIEC (binary)1,048,576220
MegabyteMBSI (decimal)8,000,000106 × 8
MebibyteMiBIEC (binary)8,388,608220 × 8
GigabitGbSI (decimal)1,000,000,000109
GibibitGibIEC (binary)1,073,741,824230
GigabyteGBSI (decimal)8,000,000,000109 × 8
GibibyteGiBIEC (binary)8,589,934,592230 × 8
TerabitTbSI (decimal)10121012
TebibitTibIEC (binary)1,099,511,627,776240
TerabyteTBSI (decimal)8 × 10121012 × 8
TebibyteTiBIEC (binary)8,796,093,022,208240 × 8
PetabitPbSI (decimal)10151015
PebibitPibIEC (binary)250250
PetabytePBSI (decimal)8 × 10151015 × 8
PebibytePiBIEC (binary)8 × 250250 × 8
ExabitEbSI (decimal)10181018
ExbibitEibIEC (binary)260260
ExabyteEBSI (decimal)8 × 10181018 × 8
ExbibyteEiBIEC (binary)8 × 260260 × 8

Frequently Asked Questions

Drive manufacturers label capacity using SI (decimal) prefixes: 1 TB = 1012 bytes. Operating systems (Windows, Linux) report in binary (IEC) units: 1 GiB = 230 = 1,073,741,824 bytes. Dividing 1012 by 1,073,741,824 yields approximately 931.32 GiB. No data is missing. The discrepancy is purely a labeling conflict between two standards.
1 kB (kilobyte, SI) = 1,000 bytes. 1 KiB (kibibyte, IEC 80000-13) = 1,024 bytes. The IEC introduced binary prefixes (kibi, mebi, gibi) in 1998 to eliminate ambiguity. In practice, many systems still use "KB" to mean 1,024 bytes. This converter treats them according to their standard definitions.
Telecommunications historically transmitted data bit-by-bit over serial links. The convention persisted. A 100 Mbps connection delivers a maximum of 100,000,000 bits per second, which equals 12.5 MB/s (decimal megabytes) or approximately 11.92 MiB/s (mebibytes). Always divide advertised speed by 8 to estimate file transfer rates, then subtract protocol overhead (typically 5 - 10%).
JavaScript uses IEEE 754 double-precision floats, which provide 15 - 17 significant decimal digits. An exabyte is approximately 1.15 × 1018 bytes (binary). This sits near the edge of safe integer range (253 = 9.007 × 1015). For values above a few petabytes expressed in bits, individual bit-level precision is lost. This converter displays up to 15 significant figures and uses scientific notation for extremely large results to communicate precision limits honestly.
Divide by 8. The relationship 1 B = 8 b is universal and does not depend on binary vs. decimal prefixes. So 1 Gbps = 125 MB/s (decimal) or approximately 119.21 MiB/s (binary). This converter handles the prefix math automatically; select the source and target units and the factor of 8 is applied internally.
Yes. A nibble equals 4 bits (half a byte). It represents one hexadecimal digit (0 - F). Nibbles are commonly used in low-level programming, hex editors, and BCD (Binary-Coded Decimal) arithmetic. Select "Nibble" from the unit dropdown to convert to or from any other data unit.