In this convention, one thousand megabytes (1000 MB) is equal to one gigabyte (1 GB) , where 1 GB is one billion bytes. 1 MB = 1048576 bytes (= 10242 B = 220 B) is the definition used by Microsoft Windows in reference to computer memory, such as RAM.