Units of Storage in Computer
Units of Storage in Computer
Units of Storage in Computer
Example 1 Example 2
Convert 1200bits to byte Convert 30KB to byte
Solution Solution
We are required to convert 1200 We are required to convert 30KB
bits to byte to byte
Let the unknown byte be x Let the unknown byte be x
It implies that; It implies that;
1200bits = xbyte 30KB = xbyte
The relationship between bits and The relationship between kb and
bytes is byte is
8bits = 1 byte 1KB = 1024byte
Cross multiplying we have Cross multiplying we have
xbyte × 8bits = 1200bits × 1byte xbyte × 1KB = 30KB × 1024byte
Divide both sides by the Divide both sides by the
coefficient of the unknown unit coefficient of the unknown unit
of storage which is the 8bits of storage which is the 1 kb
(xbyte × 8bits)/(8bits) = (xbyte × 1KB)/(1KB) = (30KB ×
(1200bits × 1byte)/(8bits) 1024byte)/(1KB)
xbyte = (1200 byte)/8 xbyte = 30 × 1024bytes
xbyte = 150bytes xbyte = 30720bytes
Therefore 1200bits = 150bytes Therefore 30kb = 30720bytes
Example 3 Example 4
Convert 10240 KB to MB Convert 1.22 MB to Byte (B)
Solution Solution
We are required to convert 10240 We are required to convert 1.22
to kilobyte MB to B
Let the unknown kilobyte be x Let the unknown B be x
It implies that; It implies that;
10240KB = xMB 1.22 MB = xB
The relationship between KB and The relationship between MB
MB is and B is
1024KB = 1MB 1MB = 1024 × 1024B
Cross multiplying we have 1MB = 1048576B
xMB × 1024KB = 10240KB × Cross multiplying we have
1MB xB × 1MB = 1.22 MB ×
Divide both sides by the 1048576B
coefficient of the unknown unit Divide both sides by the
of storage which is the 1024 byte coefficient of the unknown unit
(xMB × 1024KB)/(1024KB) = of storage which is the 1MB
(10240KB × 1MB)/(1024KB) (xB × 1MB)/(1MB) = (1.22 MB
xMB = (10240 × 1MB)/1024 × 1048576B)/(1MB)
xKB = 10MB xB = (1.22 × 1048576B)/1
Therefore 10240KB =10MB xB = 1279262.72B
Therefore 1.22 MB =
1279262.72B