Use the same rules – for abbreviations, and for words versus numerals – as for numbers used with units.

12 MB     16 GB     23 Kibits/s

[Computer memory is usually expressed in gigabytes.]

Data

The basic unit of data is the binary bit (symbol: bit), which can take on a value of 1 or 0. A byte (B) consists of 8 bits.

According to the International System of Quantities, a kilobyte is 1,000 bytes. The recommended symbol is kB. This usage agrees with the International System of Units, which is the modern form of metric measurement. The same is true of mega- (M), giga- (G) and other prefixes.

Because binary arithmetic is so important in computing, kilobytes were traditionally (and continue to be) taken by some companies and users as 210 = 1,024 bytes. This is now more properly referred to as a kibibyte (KiB – note the capital K), where the bi denotes the binary origin of the value. Similarly, we have mebibytes (MiB), gibibytes (GiB) and so on.

Data rates

When transferring data (e.g. over the internet), speeds are typically expressed in bits per second. The unit should in general be written bit/s. The form bps is widely used in material for a general readership, where its similarity to kph (kilometres per hour) may be an aid to understanding. In more formal writing, bits/s is preferred, because it uses the correct unit symbol (bit) and is more in keeping with the standard way of writing units of measure:

The NBN typically delivers data rates above 40 Mbps.
or (more correctly)
The NBN typically delivers data rates above 40 Mbit/s.

Common units

UnitSymbolDefinition
bitbitA single binary data element; 1 or 0
byteB8 bits
kilobytekB1,000 B
megabyteMB1,000 kB
gigabyteGB1,000 MB
terabyteTB1,000 GB
petabytePB1,000 TB
kilobitkbit1,000 bits
kilobits per secondkbit/s1,000 bits per second
megabits per secondMbit/s1,000 kbits per second
kibibyteKiB1,024 B
mebibyteMiB1,024 KiB
gibibyteGiB1,024 MiB
tebibyteTiB1,024 GiB
pebibytePiB1,024 TiB
kibibitKibit1,024 bits
kibibits per secondKibit/s1,024 bits per second
mebibits per secondMibit/s1,024 Kibit per second

Frequency

Computers are coordinated by an internal clock. The computer state is updated each time the clock ticks. So, the faster the clock, the faster the computer.

Frequencies are expressed in cycles per second, or hertz (Hz). Hertz is a measure derived from the International System of Units.