Five gigabytes equals 5,120 megabytes. Since one gigabyte is 1,024 megabytes, you simply multiply 1,024 by 5 to arrive at 5,120 MB.