Not quite. Although in mathematics, the "M" means 1000 of the "K"s, and the
"G" means 1000 of the "M"s - in terms of computer storage or computer speed
we should not forget the power of two that all computers are based upon,
i.e., binary arithmetic.
In computer terms, based on binary (powers of 2 )
1K = 1024
1M = 1024K = 1048576
1G = 1024M = 1048576 K = 1073741824
Note that hard disk makers quite properly use GB as decimal billion (and
M as decimal million) which leaves people confused as to where space has
gone - a nominal 160GB disk (160 billion) comes out as 149 'binary' GB