In order to avoid astronomical figures and sums in the calculation of bytes, we use units such as kilobytes, megabytes, and gigabytes. One kilobyte is 1,024 bytes (210) and it is represented as KB, or more informally as K. One megabyte is equivalent to 1,024 KB, and one gigabyte is 1,024 MB.