Byte count in KB, MB, GB

Started by
11 comments, last by Conner McCloud 18 years, 6 months ago
If 1KB = 1024 bytes, is 500 KB = 500 * 1024 bytes = 512,000 bytes 1000 KB = 1 MB = 1000 * 1024 bytes 1000 MB = 1 GB = 1000 * 1000 1024 bytes ??? or 1 MB = 1024 KB and 1 GB = 1024 MB ???
Advertisement
1 kb = 1024 bytes
1 mb = 1024 kb
1 gb = 1024 mb
.
.
.
1 KB = 1024 Bytes
1MB = 1024 KB = 1,048,576 Bytes
1GB = 1024 MB = 1,048,576 KB = 1,073,741,824 Bytes

is all based on 2 to the power of ten


ADD:: AHHH you beat me ;p
Quote:Original post by zomg
1 kb = 1024 bytes
1 mb = 1024 kb
1 gb = 1024 mb
.
.
.

Well, that depends on what electronics catalog you're reading from. [rolleyes]
:stylin: "Make games, not war.""...if you're doing this to learn then just study a modern C++ compiler's implementation." -snk_kid
Quote:Original post by stylin
...
Well, that depends on what electronics catalog you're reading from. [rolleyes]


uh
more like what parallel universe you are from
Actually I do think that some companies follow a different standard, but it might have been for something else.
I think hard drives use base 10.
Quote:Original post by zomg
Actually I do think that some companies follow a different standard, but it might have been for something else.

They certainly do. Some companies even "combine" your onboard RAM with the memory in your graphics card, sometimes actually fooling some people in the process. A sick game they play.
:stylin: "Make games, not war.""...if you're doing this to learn then just study a modern C++ compiler's implementation." -snk_kid
Quote:Original post by Daniel Miller
I think hard drives use base 10.


Quote:Actually I do think that some companies follow a different standard, but it might have been for something else.


no base 2
the same system binary computers use


Quote:They certainly do. Some companies even "combine" your onboard RAM with the memory in your graphics card, sometimes actually fooling some people in the process. A sick game they play.


that has NOTHING to do with the number of bytes in a KB or MB in a gigabyte



http://kb.iu.edu/data/ackw.html
reade the NOTE near the bottom of the page
Quote:Original post by stylin
1 kb = 1024 bytes
1 mb = 1024 kb
1 gb = 1024 mb
.
.
.


This comes from the following, since no one has really explained it:

1 kB = 2^10 bytes = 2^10
1 MB = 2^20 bytes = 2^10 * 2^10
1 GB = 2^30 bytes = 2^10 * 2^10 * 2^10
... (and so on) ...
h20, member of WFG 0 A.D.

This topic is closed to new replies.

Advertisement