Incorrect?: How many kilobytes in one gigabyte?

In computer Systems, the following units are used :

Unit Equivalent

1 kilobyte (KB) = 1,024 bytes

1 megabyte (MB) = 1,048,576 bytes

1 gigabyte (GB) = 1,073,741,824 bytes

1 terabyte (TB) = 1,099,511,627,776 bytes

1 petabyte (PB) = 1,125,899,906,842,624 bytes

https://www.quora.com/How-many-bytes-are-in-one-gigabyte

The correct answer is 1,000,000, as that is what it is in decimal format.

This is just confusion on the question’s part. The answer is correct, but the question doesn’t specify if it’s decimal or binary.

The question has been updated to specify that it’s in decimal, not binary.

3 Likes

I remember getting a similar question not too long ago so I checked the database.


The second question in the list actually mentions the International System of Units, in which powers of 1024 are actually prefixed with **Bi, with the two asterisks corresponding to the two first letters of the equivalent power of a thousand.

Yeah 1024 is kibibyte whilst 1000 is kilobyte, the name changes were made sometime in 1998 by the International Electrotechnical Comission and it was accepted by the Internaional System of Quantities, it just hasn’t been updated in a lot of places and now causes confusion to people.

It was made due to the kilo prefix being 1000 not 1024.

It’s an important distinction because when quantifying memory or data throughput power prefixes are always of thousands except memory directly addressed by a CPU such as main system memory (what most folks know as RAM) and cache because for a CPU it’s much easier to count by power of two than of ten.