Sunday, September 22, 2013

How to convert between bytes, kilobytes, megabytes, and gigabytes

SYNOPSIS:
Converting between bytes, kilobytes, megabytes, and gigabytes.

SOLUTION:
1 byte = 1 character
1 kilobyte (kb) = 1024 bytes
1 megabyte (Mb) = 1024 kb = 1,048,576 bytes
1 gigabyte (Gb) = 1024 Mb = 1,048,576 kb = 1,073,741,824 bytes

No comments:

Post a Comment