Computer Measurements


Data Measurement

The base unit is the Bit, which is a number that can be only either 0 or 1. This is 2 possible states, ie binary. Binary is the fundamental basis of computing.

01
zeroone
offon
falsetrue
noyes

UnitNumber of BitsPower of 2Number Of Bytes
Half Nibble2 bits2^11/4 byte
Nibble4 bits2^21/2 byte
Byte8 bits2^31 byte
Half Word16 bits2^42 bytes
Word32 bits2^54 bytes
Double Word64 bits2^68 bytes
Quad Word128 bits2^716 bytes
Note: On some old CPU's, a Word is 16 bits, but Haxial uses the modern IBM PowerPC definitions, where a Word is 32 bits.

UnitEqualsPower of 2Number of Bytes
Kilobyte1024 bytes2^101024 bytes
Megabyte1024 kilobytes2^201,048,576 bytes
Gigabyte1024 megabytes2^301,073,741,824 bytes
Terabyte1024 gigabytes2^401,099,511,627,776 bytes
Petabyte1024 terabytes2^501,125,899,906,842,624 bytes
Exabyte1024 petabytes2^601,152,921,504,606,846,976 bytes
Zettabyte1024 exabytes2^701,180,591,620,717,411,303,424 bytes
Yottabyte1024 zettabytes2^801,208,925,819,614,629,174,706,176 bytes
Note: The marketing departments of some companies claim that a megabyte = 1,000,000 bytes, etc. In other words, they claim that it is a power of 10 system, not a power of 2 system. This is false and ridiculous because a byte is undisputedly a unit based on the binary / power of 2 system, ie a byte = 2^3 = 8 bits, NOT 10 bits. Therefore it makes sense that a megabyte should also be based on the same system (a power of 2). Saying a megabyte = 1,000,000 bytes is a crazy mix of power of 10 and power of 2. Marketing departments use 1,000,000 only because it makes the capacities of their devices seem bigger, but really it is false advertising, much in the same way that a 17" CRT monitor is not 17 inches.

To abbreviate, use the first letter as a suffix. Alternatively, you can use the first letter and a 'B' for Byte.

Abbrev 1Abbrev 2Full
16K16 KB16 Kilobytes
16M16 MB16 Megabytes
16G16 GB16 Gigabytes
Note: If you append the 'B' for byte, make sure you use uppercase because some people use lowercase 'b' to mean bit.

Definitions for kilobits, megabits etc are not listed here because Haxial deprecates their usage. Use kilobytes etc instead because they are more practical and easier to understand (a letter of the alphabet uses a byte of memory, a paragraph consisting of 300 characters uses 300 bytes of memory, etc). If you need to convert bits to bytes, then divide by 8 (because 8 is the number of bits in a byte). Further complicating matters, some people use a kilobit to mean 1000 bits (power of 10), and other people use a kilobit to mean 1024 bits (power of 2). Haxial recommends entirely dropping the use of kilobits and megabits.

Time Measurement

The base unit is the Second, which according to Système International is.

The second is the duration of 9 192 631 770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium 133 atom.

1 second= 1,000 milliseconds
= 1,000,000 microseconds
= 1,000,000,000 nanoseconds
= 1,000,000,000,000 picoseconds


Data Speed Measurement

Data speed is quantity over time. For example, 128K/sec means 128 kilobytes per second, which means that if you start counting the number of bytes being transmitted, and you do this for a time period of 1 second, then you will have counted 128 kilobytes.