Multipliers

The International System of Units (SI) defines

  kilo → 103
  mega → 106
  giga → 109
  tera → 1012
  peta → 1015
  ...

So, strictly speaking, 1 KB must be 1,000 Bytes, 1 MB must be 1,000,000 Bytes, ... but we accustomed to think that 1 KB is 1,024 Bytes.

In 1998 the IEC (International Electrotechnical Commission) published standards for binary prefixes, requiring that the kilobyte strictly denote 1000 bytes, and if you want it to be 1024 bytes, call it kibibyte. By the end of 2007, the IEC Standard had been adopted by the IEEE, EU, and NIST, and in 2009 it was incorporated in the International System of Quantities.

So, keep in mind and try to apply the following table.

Decimal
Value,
bytes
Metric Name
1000 kB kilobyte
10002 MB megabyte
10003 GB gigabyte
10004 TB terabyte
10005 PB petabyte
10006 EB exabyte
10007 ZB zettabyte
10008 YB yottabyte
Binary
Value,
bytes
IEC JEDEC
1024 210 KiB kibibyte KB kilobyte
10242 220 MiB mebibyte MB megabyte
10243 230 GiB gibibyte GB gigabyte
10244 240 TiB tebibyte TB terabyte
10245 250 PiB pebibyte PB petabyte
10246 260 EiB exbibyte EB exabyte
10247 270 ZiB zebibyte ZB zettabyte
10248 280 YiB yobibyte YB yottabyte

Just FYI: The JEDEC memory standards are the specifications for semiconductor memory circuits and similar storage devices promulgated by the JEDEC (Joint Electron Device Engineering Council) Solid State Technology Association, a semiconductor trade and engineering standardization organization.

Powers of 2
20 1
21 2
22 4
23 8
24 16
25 32
26 64
27 128
28 256
29 512
210 1024
211 2048
212 4096
213 8192
214 16,384
215 32,768
216 65,536
217 131,072
218 262,144
219 524,288
220 1,048,576
221 2,097,152
222 4,194,304
223 8,388,608
224 16,777,216
225 33,554,432
226 67,108,864
227 134,217,728
228 268,435,456
229 536,870,912
230 1,073,741,824
231 2,147,483,648
232 4,294,967,296
233   8,589,934,592