100% found this document useful (1 vote)
410 views2 pages

Storage Unit Conversion

To convert between data storage units such as bytes, kilobytes, megabytes, and gigabytes: - To convert to a larger unit, divide the original number by 1024 for each unit size being converted (e.g. 2048KB to MB is 2048/1024 = 2MB) - To convert to a smaller unit, multiply the original number by 1024 for each unit size being converted (e.g. 384MB to bytes is 384*1024 = 393216KB then 393216*1024 = 402653184B) - Mathematical formulas are provided to calculate conversions between any two units.

Uploaded by

giana 4e
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
410 views2 pages

Storage Unit Conversion

To convert between data storage units such as bytes, kilobytes, megabytes, and gigabytes: - To convert to a larger unit, divide the original number by 1024 for each unit size being converted (e.g. 2048KB to MB is 2048/1024 = 2MB) - To convert to a smaller unit, multiply the original number by 1024 for each unit size being converted (e.g. 384MB to bytes is 384*1024 = 393216KB then 393216*1024 = 402653184B) - Mathematical formulas are provided to calculate conversions between any two units.

Uploaded by

giana 4e
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Storage Capacity Conversions

Computers store data using binary (1’s and 0’s).


A bit(b) is a single 1 or 0.
A byte(B) is made up of 8 bits.
To convert smaller units to larger units (convert bytes to kilobytes or megabytes) you
simply divide the original number by 1,024 for each unit size along the way to the final
desired unit.
Examples:

Convert 2048KB to MB
Divide 2048 by 1024 (to convert from KB to MB)
2048/1024=2MB

Convert 1305477120 B to MB
Divide 1305477120 by 1,024 (to first convert to KB)
1305477120 /1024=1274880KB
then divide by 1,024 again (to end up in MB).
1274880/1024=1245MB

To convert larger units to smaller units (i.e. take a number of gigabytes and convert it
down in to megabytes, kilobytes, or bytes) you simply multiply the original number by
1,024 for each unit size along the way to the final desired unit.

Example:
convert 384MB to bytes
multiply 384 by 1,024 (to convert to KB
384*1024=393216KB
multiply 393216 by 1,024 (to end up in bytes).
393216*1024=402653184B
For the mathematically inclined:
To convert from a smaller unit to a larger unit:

Larger_unit=Smaller_unit/(1024X)
X=number of unit sizes from the smaller unit to the larger unit.
Example to convert from KB to MB there is 1 unit size so 3584KB to MB is:
3584/(10241)=3.5MB
To convert 5905580032B to GB there are 3 unit sizes (B->KB->MB->GB)
5905580032/(10243)=5.5GB

To convert from a larger unit to a smaller unit:

Smaller_unit = Larger_unit *(1024X)


X=number of unit sizes from the larger unit to the smaller unit.

Example to convert 4.75MB to KB there is one unit size so:


4.75*(10241)=4864KB

To convert 5GB to KB there are 2 unit sizes (GB->MB->KB)


5*(10242)=5242880KB

You might also like