Data Storage Converter

Note: In SI system metric prefix kilo, mega, giga, tera, peta, exa, zetta and yotta are used for measurement.
But computer data is generally measured in binary code. In December 1998 the International Electrotechnical Commission (IEC) developed a new international standard of measurement using non-metric prefixes for use in the fields of data processing and data transmission (binary measurements). The prefixes are as follows:
e.g. kibi, mebi, gibi, tebi, pebi, exbi, zebi and yobi.
A kB equals 1,000 bytes while a brand-new unit of measure, the kibibyte (KiB), equals to 1,024 bytes.
More examples:
1 KB is equal to 0.97 KiB
1 GB is equal to 0.93 GiB
1 TB is equal to 0.91 TiB
1 TiB is equal to 931 GiB
1 TiB is equal to 1.1 TB

Here’s a comparison between SI and binary prefix set by IEC:
Metric prefixes Binary (IEC) prefixes
Kilobyte (kB) 1,000¹ = 1,000 bytes
Megabyte (MB) 1,000² = 1,000,000 bytes
Gigabyte (GB) 1,000³ = 1,000,000,000 bytes
Terabyte (TB) 1,000⁴ = 1,000,000,000,000 bytes
Petabyte (PB) 1,000⁵ = 1,000,000,000,000,000 bytes
Kibibyte (KiB) 1,024¹ = 1,024 bytes
Mebibyte (MiB) 1,024² = 1,048,576 bytes
Gibibyte (GiB) 1,024³ = 1,073,741,824 bytes
Tebibyte (TiB) 1,024⁴ = 1,099,511,627,776 bytes
Pebibyte (PiB) 1,024⁵ = 1,125,899,906,842,620 bytes