Gigabytes are the larger unit—a gigabyte is roughly a thousand megabytes.
The exact figure depends on what you are measuring. For RAM, 1,024 MB equals 1 GB. For disk drive capacities, manufacturers use 1,000 MB to the gigabyte, which is why a drive reports slightly less space than its box claims.