Stage 2 I.T. STUDIES
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Who is online?
In total there are 3 users online :: 0 Registered, 0 Hidden and 3 Guests

None

[ View the whole list ]


Most users ever online was 23 on Thu Jul 04, 2013 5:31 am
Latest topics
» Bytes Conversion
Bytes Conversion EmptyFri May 07, 2010 3:41 am by asmith

April 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     

Calendar Calendar


Bytes Conversion

2 posters

Go down

Bytes Conversion Empty Bytes Conversion

Post by timmyb Fri May 07, 2010 3:37 am



The basic unit used in computer data storage is called a bit (binary digit). Computers use these little bits, which are composed of ones and zeros, to do things and talk to other computers. All your files, for instance, are kept in the computer as binary files and translated into words and pictures by the software (which is also ones and zeros). This two number system, is called a "binary number system" since it has only two numbers in it. The decimal number system in contrast has ten unique digits, zero through nine.

But although computer data and file size is normally measured in binary code using the binary number system (counted by factors of two 1, 2, 4, 8, 16, 32, 64, etc), the prefixes for the multiples are based on the metric system! The nearest binary number to 1,000 is 2^10 or 1,024; thus 1,024 bytes was named a Kilobyte. So, although a metric "kilo" equals 1,000 (e.g. one kilogram = 1,000 grams), a binary "Kilo" equals 1,024 (e.g. one Kilobyte = 1,024 bytes). Not surprisingly, this has led to a great deal of confusion.

In December 1998, the International Electrotechnical Commission (IEC) approved a new IEC International Standard. Instead of using the metric prefixes for multiples in binary code, the new IEC standard invented specific prefixes for binary multiples made up of only the first two letters of the metric prefixes and adding the first two letters of the word "binary". Thus, for instance, instead of Kilobyte (KB) or Gigabyte (GB), the new terms would be kibibyte (KiB) or gibibyte (GiB). The new IEC International Standards, which are not commonly used yet, are included below.Here's a few more details to consider:


  • Although data storage capacity is generally expressed in binary code, many hard drive manufacturers (and some newer BIOSs) use a decimal system to express capacity.

    • For example, a 30 gigabyte drive is usually 30,000,000,000 bytes (decimal) not the 32,212,254,720 binary bytes you would expect.

  • Another trivial point is that in the metric system the "k" or "kilo" prefix is always lowercase (i.e. kilogram = kg not Kg) but since these binary uses for data storage capacity are not properly metric, it has become standard to use an uppercase "K" for the binary form.
  • When used to describe Data Transfer Rate, bits/bytes are calculated as in the metric system



    • Kilobits per second is usually shortened to kbps or Kbps. Although technically speaking, the term kilobit should have a lowercase initial letter, it has become common to capitalize it in abbreviation (e.g. "56 Kbps" or "56K"). The simple "K" might seem ambiguous but, in the context of data transfer, it can be assumed that the measurement is in bits rather than bytes unless indicated otherwise.

    File Storage Capacity by Bits and Bytes
    bitbyteKilobyteMegabyteGigabyte
    bit188,1928,388,6088,589,934,592
    byte811,0241,048,5761,073,741,824
    Kilobyte8,1921,02411,0241,048,576
    Megabyte8,388,6081,048,5761,02411,024
    Gigabyte8,589,934,5921,073,741,8241,048,5761,0241
    Terabyte8,796,093,022,2081,099,511,627,7761,073,741,8241,048,5761,024
    Petabyte9,007,199,254,740,9921,125,899,906,842,6241,099,511,627,7761,073,741,8241,048,576
    Exabyte9,223,372,036,854,775,8081,152,921,504,606,846,9761,125,899,906,842,6241,099,511,627,7761,073,741,824
    Zettabyte9,444,732,965,739,290,427,3921,180,591,620,717,411,303,4241,152,921,504,606,846,9761,125,899,906,842,6241,099,511,627,776
    File Storage Capacity by Powers of Two (Base 2)
    bit byte KilobyteMegabyteGigabyteTerabytePetabyteExabyteZettabyteYottabyte
    bit2^02^32^132^232^332^432^532^632^732^83
    byte2^32^02^102^202^302^402^502^602^702^80
    Kilobyte2^132^102^02^102^202^302^402^502^602^70
    Megabyte2^232^202^102^02^102^202^302^402^502^60
    Gigabyte2^332^302^202^102^02^102^202^302^402^50
    Terabyte2^432^402^302^202^102^02^102^202^302^40
    Petabyte2^532^502^402^302^202^102^02^102^202^30
    Exabyte2^632^602^502^402^302^202^102^02^102^20
    Zettabyte2^732^702^602^502^402^302^202^102^02^10
    Yottabyte 2^832^802^702^602^502^402^302^202^102^0
    New IEC Standard
    bitbit0 or 1
    byteB8 bits
    kibibitKibit1024 bits
    kilobitkbit1000 bits
    kibibyte (binary)KiB1024 bytes
    kilobyte (decimal)kB1000 bytes
    megabitMbit1000 kilobits
    mebibyte (binary)MiB1024 kibibytes
    megabyte (decimal)MB1000 kilobytes
    gigabitGbit1000 megabits
    gibibyte (binary)GiB1024 mebibytes
    gigabyte (decimal)GB1000 megabytes
    terabitTbit1000 gigabits
    tebibyte (binary)TiB1024 gibibytes
    terabyte (decimal)TB1000 gigabytes
    petabitPbit1000 terabits
    pebibyte (binary)PiB1024 tebibytes
    petabyte (decimal)PB1000 terabytes
    exabitEbit1000 petabits
    exbibyte (binary)EiB1024 pebibytes
    exabyte (decimal)EB1000 petabytes



Last edited by timmyb on Fri May 07, 2010 3:43 am; edited 1 time in total

timmyb

Posts : 1
Join date : 2010-05-07

Back to top Go down

Bytes Conversion Empty Re: Bytes Conversion

Post by asmith Fri May 07, 2010 3:41 am

woo timmy, thanks buddy. wat with the grey things Bytes Conversion Icon_elephant

asmith

Posts : 2
Join date : 2010-05-07
Age : 30

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum