1834499 Members
3224 Online
110068 Solutions
New Discussion

Re: byte sizes

 
sandra ramos
Occasional Advisor

byte sizes

When calculating size formats to determine in bytes, what's the best way to calculate size, ie. to determine if a gig, meg, kilobytes.
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: byte sizes

1024 bytes = a kilobyte
1024 kilobytes = a megabyte
1024 megabytes = a gigabyte
1024 gigabytes = a terabyte

Please forgive my spelling.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
V.Tamilvanan
Honored Contributor

Re: byte sizes

Hi,

1 KiloBytes = 1 * 1024 Bytes.
1 MegaBytes = 1 * 1024 KB = 1 * 1024 * 1024 Bytes
1 GigaBytes = 1 * 1024 MB = 1 * 1024 * 1024 * 1024 Bytes
Patrick Wallek
Honored Contributor

Re: byte sizes

You're kidding, right?

If you have 123,456,789 bytes then:

1,234,567,890 byte / 1024 = 1,205,635.70 KB

1,205,635.70 KB /1024 = 1,177.38 MB

1,177.38 MB / 1024 = 1.15 GB

If you want to go a step further and get TB then:

1.15 GB / 1024 = 0.001 TB

Stuart Browne
Honored Contributor

Re: byte sizes

Just be aware that some HDD manufacturers don't advertise by the true byte counts on their disks, they take the easy decimal way out of the whole argument, and just divide by nice round 10 base numbers.
One long-haired git at your service...
Sanjiv Sharma_1
Honored Contributor

Re: byte sizes

Take a look at this:
http://www.speedguide.net/conversion.php
Everything is possible
sandra ramos
Occasional Advisor

Re: byte sizes

Thanks guys for your responses!!
Thomas Bianco
Honored Contributor

Re: byte sizes

one last bit: (he he)

due to a recent court case, there are two definitions of Kilobyte, and the upward layers thereof.

1st: the classic defninition, above, where Kb=1024b.. etc...

2nd: the HDD manufacturer standard where Kilobyte=1000b and Kibibyte=1024b.
these names are

check out http://en.wikipedia.org/wiki/Kibibyte
for the whole spectrum
There have been Innumerable people who have helped me. Of course, I've managed to piss most of them off.
Richard Darling
Trusted Contributor

Re: byte sizes

here are links to a couple of calculators:


all on one page; used by many at our place:
http://www.beesky.com/newsite/bit_byte.htm

this one requires Java:
http://www.wtcs.org/snmp4tpc/memconv.htm

two-pager:
http://www.t1shopper.com/tools/calculate/

quicky cut and paste chart:
1,024 Byte = 1 Kilobyte (KB)
1,024 Kilobyte (KB) = 1 Megabyte (MB)
1,073,741,824 Bytes = 1 Gigabyte (GB)
1 Gigabyte (GB) = 1,024 Megabyte (MB)

RD
sandra ramos
Occasional Advisor

Re: byte sizes

Thanks guys for your help!