You are on page 1of 4

Data Calculation – 2

Year 9 Computing
Noble’s ICT Classes

Decimal Values to Binary Values

Decimal (SI) Units:

Bit (b): The smallest unit, representing a binary value of 0 or 1.


Byte (B): Consists of 8 bits.
Kilobyte (KB): 1,000 bytes.
Megabyte (MB): 1,000 kilobytes.
Gigabyte (GB): 1,000 megabytes.
Terabyte (TB): 1,000 gigabytes.
Petabyte (PB): 1,000 terabytes.
Exabyte (EB): 1,000 petabytes.
Zettabyte (ZB): 1,000 exabytes.
Yottabyte (YB): 1,000 zettabytes.
Binary Units:

Kibibyte (KiB): 1,024 bytes.


Mebibyte (MiB): 1,024 kibibytes.
Gibibyte (GiB): 1,024 mebibytes.
Tebibyte (TiB): 1,024 gibibytes.
Pebibyte (PiB): 1,024 tebibytes.
Exbibyte (EiB): 1,024 pebibytes.
Zebibyte (ZiB): 1,024 exbibytes.
Yobibyte (YiB): 1,024 zebibytes.

The difference between the decimal and binary units is that decimal units
are based on powers of 10, while binary units are based on powers of 2.
For example, 1 KB is ( 10^3 ) bytes, while 1 KiB is ( 2^{10} ) bytes1.

Binary Unit

Decimal Unit

÷1000 ÷1000 ÷1000 ÷1000

byte kibibyte mebibyte gibibyte tebibyte


(B) (KiB) (MiB) (GiB) (TiB)
x 1000 x 1000 x 1000 x 1000
Example.
Convert 1 MiB to 1 GiB
1 / 1024 = 9.766 x 10-4 GiB

Conver 1 MB to 1 GB
1 / 1000 = 0.001 GB
--

Convert 1 GiB to KiB


1GiB = 1 x 1024 x 1024 (or)
1 x 210 x 210
= 1 048 576 KiB

Convert 1 GB to KB
1 GB = 1 x 1000 x 1000
= 1 000 000 KB
--

Convert 1 TiB to KiB


1 TiB = 1 x 1000 x 1000 x 1000
= 1 000 000 000 KiB

Convert 1 TB to KB
1 TB = 1 x 1024 x 1024 x 1024
= 1,073,741,824 KB
https://youtu.be/X8RF-6avMVI

https://youtu.be/XuLfcztpWJE

You might also like