One gigabyte is commonly treated as 1024 megabytes in computing because digital systems use binary units. Some storage marketing uses decimal units, where one gigabyte equals 1000 megabytes.