3 GB is 3072 MB.
The maths is 3 multiplied by 1024, since each gigabyte holds 1024 megabytes. If you are working from a decimal figure instead, where a gigabyte is counted as 1000 MB, the answer would be 3000 MB.