# Week 3 : Bit conversion.

Bit is known as 0 or 1.
1 byte = 8 bits

1 megabytes = 8 megabits = 8192 kilobits

1 kilobyte = 8 kilobits = 8192 bits

1 kilobyte = 1024 bytes

1 megabyte = 1024 kilobytes

1 gigabyte = 1024 megabytes

1 Terabyte = 1024 gigabyte

——————————————-

Converting bits to MB.
First, convert the number of bits to bytes by dividing by 8:

1 byte
100,000,000,000,000 bits * --------- = x bytes
8 bits

(Notice that the ‘bits’ cancel, leaving the unit ‘bytes’ in the answer.)

Then take that answer and convert it to Kilobytes by dividing by 1024:

1 Kilobyte
x bytes * ------------- = y Kilobytes
1024 bytes

(Again, the ‘bytes’ cancel, leaving the unit ‘Kilobytes’ in the answer.)

Then take that answer and convert it to Megabytes by dividing by 1024 once again:

1 Megabyte
y Kilobytes = * ---------------- = z Megabytes
1024 Kilobytes

Practice:

1. Convert 32 bits to bytes.
2. Convert 1555 bytes to KB.
3. Convert 1521352 bytes to MB.
4. Convert 25 MB to KB.
5. Convert 1.4 GB to MB.
6. Convert 7777 MB to GB.
7. Convert 2 TB to MB.
8. Convert 20000 bits to KB.
9. Convert 2048 bytes to KB.
10. Convert 123456 bytes to MB.