Skip to content

General

Data Sizes SI vs IEC

To define data sizes there are two existing systems. On one hand there is the SI Metric system based on the decimal numbers 10n. On the other hand there is the IEC system based on the binary numbers 2n

10n Decimal Prefix Symbol
1024 1 000 000 000 000 000 000 000 000 yotta Y
1021 1 000 000 000 000 000 000 000 zetta Z
1018 1 000 000 000 000 000 000 exa E
1015 1 000 000 000 000 000 peta P
1012 1 000 000 000 000 tera T
109 1 000 000 000 giga G
106 1 000 000 mega M
103 1 000 kilo k
102 100 hecto h
101 10 deca da
100 1
101 0.1 deci d
102 0.01 centi c
103 0.001 mili m
106 0.000 001 micro μ
109 0.000 000 001 nano n
1012 0.000 000 000 001 pico p
1015 0.000 000 000 000 001 femto f
1018 0.000 000 000 000 000 001 atto a
1021 0.000 000 000 000 000 000 001 zepto z
1024 0.000 000 000 000 000 000 000 001 yocto y

The problem with the SI system for defining datasizes is that the data size base unit is 2n

Datasizes

1 bytes = 8 bit

IEC

2n Value IEC Prefix IEC Symbol
210 1024 kibibyte KiB
220 1048576 mebibytes MiB
230 1073741824 gibibyte GiB
240 1099511627776 tebibyte TiB
250 1125899906842624 pebibyte PiB
260 1152921504606846976 exbibyte EiB
270 1180591620717411303424 zebibyte ZiB
280 1208925819614629174706176 yobibyte YiB

SI

10n Value SI Prefix SI Symbol
103 1 000 kilobyte kB
106 1 000 000 megabyte MB
109 1 000 000 000 gigabyte GB
1012 1 000 000 000 000 terabyte TB
1015 1 000 000 000 000 000 petabyte PB
1018 1 000 000 000 000 000 000 exabyte EB
1021 1 000 000 000 000 000 000 000 zettabyte ZB
1024 1 000 000 000 000 000 000 000 000 yottabyte YB