Are gigabytes bigger than megabytes?


When discussing disk storage, a gigabyte is equal to 1,000 megabytes, meaning that the gigabyte is the larger of the two. However, because computers are really based on the binary system rather than the decimal system, the actual numbers are slightly different when applied to processor storage.

When used in discussions of disk storage capacity, a megabyte equals one million bytes, and a gigabyte equals one billion bytes. For most people, this definition is sufficient. However, in discussions of virtual and real processing power, a megabyte is computed according to the binary system and actually refers to 2 to the 20th power, or 1,048,576, bytes. Under this system, a gigabyte is 1,024 megabytes, which is 2 to the power of 10.

Q&A Related to "Are gigabytes bigger than megabytes?"
Gigabytes are larger than megabytes, which are larger than bytes. 1 GB is equal to 1,000 MB. Enjoy!
Just my alternative, short and clean: /* * @param int $bytes Number of bytes (eg. 25907) * @param int $precision [optional] Number of digits after the decimal point (eg. 1) * @return
Explore this Topic
A GB is bigger than an MB. MB stands for Megabyte. GB stands for Gigabyte. To give you an idea of the two, songs or movies are stored in MB, whereas your computer's ...
Gigabit (Gb) is larger than megabit (Mb). The two are measures of digital storage where one gigabit is equal to 1024 megabits therefore making it larger than megabit ...
The difference between megabytes and gigabytes is a megabyte is about a million bytes (1024000 bytes) whereas a gigabyte is about a billion bytes (1024000000 bytes ...
About -  Privacy -  Careers -  Ask Blog -  Mobile -  Help -  Feedback  -  Sitemap  © 2014