There are 6,144 megabytes in 6 GB when using the binary standard, since 1 GB equals 1,024 MB.
If you use the simpler decimal measure where 1 GB is treated as 1,000 MB, then 6 GB works out to about 6,000 MB. The binary figure of 6,144 MB is the more precise one for computing.