calculating kb, mb, & gb

W

Wendy

How many bytes make a kb?
How many kb make a mb?
How many mb make a gb?
I know that approx. 1,000 bytes make a kb, and 1,000 kb
make a mb, etc., but I want to know exact.
Thanks.
 
J

Jose Francisco

Hello Wendy,

Here is the information you required:

1 kilobyte (KB) = 1024 B = 210 bytes
1 megabyte (MB) = 1024 KB = 220 bytes
1 gigabyte (GB) = 1024 MB = 230 bytes
1 terabyte (TB) = 1024 GB = 240 bytes
1 petabyte (PB) = 1024 TB = 250 bytes
1 exabyte (EB) = 1024 PB = 260 bytes

Regards,
Jose Francsico
 
J

Jose Francisco

Hmm, darn mistake with OE! Forget that part.. Opps :)

Here is the right part:
1 kilobyte (KB) = 1024
1 megabyte (MB) = 1024 KB
1 gigabyte (GB) = 1024 MB
1 terabyte (TB) = 1024 GB
1 petabyte (PB) = 1024 TB
1 exabyte (EB) = 1024 PB
 
A

Ally

Norm said:
What in the world are you talking about with the 210bytes,
220bytes, etc?

I think he meant 2 to the power of 10 (1024 bytes/1 KB), 2 to the
power of 20 (1048576 bytes/1 MB), and so on.

Wendy: if you're at all curious,
http://atrevida.comprenica.com/atrtut01.html is a step-by-step
introduction to octal, binary and hexadecimal numbers. It might help
you understand why the "Kilos" are only approximately thousands, the
"Megas" only approximately millions, and so on. (They're often
spelled with capital letters -- "Kilobyte" vs. "kilogram" -- to
distinguish them from the proper "decimal system" kilos.)

~Ally
 
J

Jim Macklin

a bit is the state of one binary switch, the value is
either on or off or 1 or 0.
a bit by itself is not very useful, but,
an array of bits can form words or commands.
a nibble is 4 bits
a byte is 8 bits and is the basic word length.
Since we have only two states for a bit, 0 or 1 you can use
any scientific calculator (including the one in Windows XP
(open the calc.exe and select view) to calculate the powers
of 2^x

2^2=4
2^3=8
2^16=65,536
2^32=4,294,967,296
2^64=18,446,744,070,000,000,000 or 1.844674407x10^19


|
| > What in the world are you talking about with the
210bytes,
| > 220bytes, etc?
|
| I think he meant 2 to the power of 10 (1024 bytes/1 KB), 2
to the
| power of 20 (1048576 bytes/1 MB), and so on.
|
| Wendy: if you're at all curious,
| http://atrevida.comprenica.com/atrtut01.html is a
step-by-step
| introduction to octal, binary and hexadecimal numbers. It
might help
| you understand why the "Kilos" are only approximately
thousands, the
| "Megas" only approximately millions, and so on. (They're
often
| spelled with capital letters -- "Kilobyte" vs.
"kilogram" -- to
| distinguish them from the proper "decimal system" kilos.)
|
| ~Ally
|
| --
| Never send a monster to do the work of an evil scientist.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top