MEASUREMENT & METHODS

Bytes (B): data unit guide

Understand bytes (B) for data. Check base-unit equivalents, examples, comparison tables and source conventions.

What is being measured?

Data size uses explicit bit, byte and decimal/binary prefix conventions. One byte contains eight bits; decimal and binary kilo-style prefixes differ.

Decimal prefixes use powers of 1,000; binary prefixes use powers of 1,024. One byte is eight bits.

Meaning of B

Bytes uses the symbol B in this library and measures data. Under the stated reference convention, 1 B = approximately 1 B. This equivalence changes how a known value is written. It does not increase measurement accuracy or establish whether a measurement is appropriate to a real application.

Conversion method

Multiply the value by the source factor (1), then divide by the target factor (1). The factor ratio expresses the same data measurement in the other unit.

Worked example

For a known value of 10 B, the reference conversion gives 10 B. Converting that result back gives approximately 10 B. This reverse check helps catch a reversed factor, but matching round-trip arithmetic alone does not independently verify a source definition.

Common reference values

Input (B)Reference equivalent (B)
11
55
1010
2525
5050
100100

Compare one B with other units

Target unitEquivalent of 1 BDefinition guide
Kilobytes (decimal) (kB)0.001Read definition
Megabytes (decimal) (MB)0.000001Read definition
Kibibytes (binary) (KiB)0.0009765625Read definition
Mebibytes (binary) (MiB)9.53674316406e-7Read definition
Bits (bit)8Read definition
Gigabytes (decimal) (GB)1e-9Read definition
Terabytes (decimal) (TB)1e-12Read definition
Gibibytes (binary) (GiB)9.31322574615e-10Read definition

Precision and common mistakes

  • Keep the source and target quantity consistent. A matching symbol is not enough to establish a compatible definition.
  • Record the original measurement precision. Showing twelve significant digits in a table does not make a rounded input more precise.
  • Check symbol capitalization, prefixes and any regional convention in the source. Use the displayed unit definition rather than a similarly named unit.
  • Factors involving repeating fractions or π use finite numerical precision. Round the final answer to the precision justified by your input.

Use a working converter

Source and verification scope

Examples and tables are computed from the versioned unit definitions used by the linked converters. The source access dates appear below. Computandum is independent of the cited organizations; a citation does not mean that a publisher endorses this page or an actual project.

Sources

Read the calculation and sourcing methodology →