Storage Unit Conversion
Storage Unit Conversion
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