Measurement basis
The symbol B identifies bytes. One byte contains eight bits.
Definition conventions
Decimal steps use powers of 1,000; binary steps use powers of 1,024. The byte-to-bit relationship stays eight bits per byte.
Conversion method
A B amount already uses the data reference. Divide by the receiving decimal or binary byte factor for another target.
Reference equivalent of B
1 B = approximately 1 B.
Recorded scale factors: 1 for B; 1 for B.
Worked example
Known input: 10 B. Reference equivalent: 10 B. The return conversion gives approximately 10 B.
The byte reference example keeps its size unchanged; the comparison rows use the stated prefix definitions.
Common reference values
| Input (B) | Reference equivalent (B) |
|---|---|
| 1 | 1 |
| 5 | 5 |
| 10 | 10 |
| 25 | 25 |
| 50 | 50 |
| 100 | 100 |
Compare one B with other units
| Target unit | Equivalent of 1 B | Definition guide |
|---|---|---|
| Kilobytes (decimal) (kB) | 0.001 | Read definition |
| Megabytes (decimal) (MB) | 0.000001 | Read definition |
| Kibibytes (binary) (KiB) | 0.0009765625 | Read definition |
| Mebibytes (binary) (MiB) | 9.53674316406e-7 | Read definition |
| Bits (bit) | 8 | Read definition |
| Gigabytes (decimal) (GB) | 1e-9 | Read definition |
| Terabytes (decimal) (TB) | 1e-12 | Read definition |
| Gibibytes (binary) (GiB) | 9.31322574615e-10 | Read definition |
Eight bits and the name that stuck
A byte is eight bits, the unit of digital storage and the basis for file sizes, memory and drive capacities. The IEC standard IEC 80000-13 defines the byte as a group of eight bits, and its symbol is the capital B. The word is generally credited to Werner Buchholz, who used it in 1956 while working on IBM's Stretch computer, spelling it with a y to keep it from being mistaken for bit. Early machines used other group sizes, such as six or seven bits per character, and the term octet is still used in some network standards to say eight bits without ambiguity. The 8-bit byte became the common unit as microprocessors and ASCII-compatible character sets spread through the 1970s.
The decimal and binary families
Two prefix systems coexist. The SI prefixes are decimal: 1 kB = 1,000 B, 1 MB = 1,000,000 B and 1 GB = 1,000,000,000 B. The IEC binary prefixes, introduced in 1998 and carried into IEC 80000-13, are powers of 1,024: 1 KiB = 1,024 B, 1 MiB = 1,048,576 B and 1 GiB = 1,073,741,824 B. The converters on this site list both. For example, 1 MB equals 0.953674 MiB and 1 KiB equals 1.024 kB. The names with the extra i, such as kibibyte, mebibyte and gibibyte, exist to remove the old habit of calling both families by the same name. Always check which family a reported size uses before you compare two numbers from different tools.
Why a 500 GB drive shows a smaller number
Storage makers use decimal prefixes, so a drive sold as 500 GB holds 500,000,000,000 bytes. Many operating systems report sizes by dividing by powers of 1,024 and still print the label GB, so the same drive appears as about 465.66 in those units. No space has gone missing: the system divides by 1,073,741,824 instead of 1,000,000,000, which is a ratio of 0.931 at the giga level. At the tera level the ratio is 0.909, so a 1 TB drive appears as about 931.3 binary gigabytes, or 0.909 TiB. Some systems, including recent macOS versions, report in decimal units, so the same disk can show different numbers on different computers while holding the same number of bytes.
Bytes and characters are not the same thing
A byte holds 256 possible values, which suits one character in ASCII or Latin-1. Text in UTF-8 uses between one and four bytes per character: ordinary English letters take one, many accented Latin letters take two, most Cyrillic and Greek letters take two, and most Chinese, Japanese and Korean characters take three. A message of 160 English letters in UTF-8 is 160 bytes, while the same count of Japanese characters is usually about 480 bytes. When you estimate the size of text, measure the bytes of the encoding that is actually stored. An emoji can take four bytes. Database and API limits are often defined in bytes, so a field that allows 255 bytes may accept fewer than 255 characters in non-English text.
Files and typical sizes
Typical sizes help with scale, though they vary widely. A plain text email is a few kilobytes. A phone photo is commonly in the range of 2 to 6 MB, an uncompressed CD-quality stereo track at 44.1 kHz and 16 bits runs at 176,400 bytes per second, which is 10.58 MB per minute, and an MP3 at 128 kbit/s takes 16,000 bytes per second, so three minutes is 2.88 MB. A two-hour movie file can be several gigabytes, depending on compression and resolution. These are illustrative figures from stated settings, not guarantees for any given file. Rounding the numbers to the nearest unit of the family you are using keeps comparisons honest.
Byte versus bit in speeds and sizes
The lowercase b is a bit and the uppercase B is a byte. The difference is a factor of 8, and mixing them up is the single most common mistake with this unit. A broadband plan of 100 Mbit/s moves at most 12.5 MB each second, not 100 MB. A file of 250 MB is 2,000 megabits. The bytes converter lists 1 B = 8 bit and 1 kB = 8,000 bit, and for binary units 1 KiB = 8,192 bit. In casual writing, Mb and MB look similar, so spelling out megabit or megabyte on first use prevents a misreading. Network speeds are quoted in bits per second, while file sizes appear in bytes, so downloads need a divide-by-8 step.
Addressing, alignment and storage blocks
Memory is addressed in bytes, which is why capacities of RAM follow powers of two. A computer with 16 GiB of RAM has 17,179,869,184 bytes. Flash and disks store data in blocks or sectors, often 512 bytes on older drives and 4,096 bytes on newer ones, so a tiny file still occupies a whole block on disk. File systems also have limits expressed in bytes: the FAT32 file system tops out at 4,294,967,295 bytes per file, which is one byte less than 4 GiB. These details explain why the size of a file and its space on disk can differ, with disk usage typically being the larger number for many small files.
Spelling out the unit in records
In technical documents the byte is a count of bytes and nothing else. It is not a rate, which belongs to bytes per second, and it is not the same as a character count. Write the symbol B for bytes, b for bits only if the style guide requires it, and prefer the full word bit to avoid slip-ups. For sizes, state whether the prefix is decimal or binary: 4 GB for the decimal value and 4 GiB for the binary one differ by 7.4 percent. If a source gives only KB with a capital K, verify the intended meaning, since SI uses a lowercase k for kilo, and the capital form was widely used for 1,024 before the IEC prefixes arrived.
Powers of two in everyday numbers
The binary habit explains many round-looking numbers. A byte has 256 values, 0 to 255, which is why color channels in 24-bit images run to 255 and an IPv4 address is four bytes. Two bytes give 65,536 values, and four bytes give 4,294,967,296, a figure that appears in the address limit of 32-bit memory addressing at 4 GiB. A photo at 4,000 by 3,000 pixels with three bytes per pixel is 36,000,000 bytes before compression, or 36 MB in decimal terms and 34.33 MiB in binary terms. Seeing the exact byte count makes it simple to convert into whichever prefix a document requires.
Precision and checking
- Preserve uppercase B in a byte label.
- Keep decimal and binary target conventions explicit.
Reference numbers are displayed with up to twelve significant digits. That display does not add precision to a rounded measurement. Keep source and target quantities compatible, confirm symbol case and regional conventions, and round the final result to precision justified by the input. Factors involving π or repeating fractions use finite numerical precision.
Use a working converter
- Data size converter
- Bytes to Bits converter
- Bytes to Megabytes (decimal) converter
- Bytes to Gigabytes (decimal) converter
- Bytes to Terabytes (decimal) converter
- Bytes to Kibibytes (binary) converter
Source and verification scope
The reference values and examples use the versioned unit definitions shared with the linked converters. Source dates identify the stated access or verification scope. A reverse calculation checks arithmetic and direction, but it does not independently verify a definition. Computandum is independent of the cited organizations, and the citations do not imply endorsement of this guide or a real application.
Sources
- NIST / BIPM: NIST: unit conversion factors ↗ · 2026-10-08
- NIST: Binary prefixes ↗ · 2026-10-09