Byte Prefixes and Binary Math - Fast Software
Search Fast Software
Basket
0 Items
($0)
   CLICK BELOW FOR LIVE CHAT
   
TESTED 21 MAY
LOGIN |  CREATE NEW ACCOUNT |  MY ACCOUNT  |  CART CONTENTS  |  CHECKOUT   

Main Categories
Software SSL Cert

Fast Software is encrypted with 128bit ssl for secure credit card transactions.

Byte Prefixes and Binary Math
     
     

When you start talking about lots of bytes, you get into prefixes like kilo, mega and giga, as in kilobyte, megabyte and gigabyte (also shortened to K, M and G, as in Kbytes, Mbytes and Gbytes or KB, MB and GB). The following table shows the binary multipliers:

 

Name

Abbr.

Size

Kilo

K

2^10 = 1,024

Mega

M

2^20 = 1,048,576

Giga

G

2^30 = 1,073,741,824

Tera

T

2^40 = 1,099,511,627,776

Peta

P

2^50 = 1,125,899,906,842,624

Exa

E

2^60 = 1,152,921,504,606,846,976

Zetta

Z

2^70 = 1,180,591,620,717,411,303,424

Yotta

Y

2^80 = 1,208,925,819,614,629,174,706,176


You can see in this chart that kilo is about a thousand, mega is about a million, giga is about a billion, and so on. So when someone says, "This computer has a 2 gig hard drive," what he or she means is that the hard drive stores 2 gigabytes, or approximately 2 billion bytes, or exactly 2,147,483,648 bytes. How could you possibly need 2 gigabytes of space? When you consider that one CD holds 650 megabytes, you can see that just three CDs worth of data will fill the whole thing! Terabyte databases are fairly common these days, and there are probably a few petabyte databases floating around the Pentagon by now.

 

Binary math works just like decimal math, except that the value of each bit can be only 0 or 1. To get a feel for binary math, let's start with decimal addition and see how it works. Assume that we want to add 452 and 751:

  452
+ 751
  ---
 1203
 

To add these two numbers together, you start at the right: 2 + 1 = 3. No problem. Next, 5 + 5 = 10, so you save the zero and carry the 1 over to the next place. Next, 4 + 7 + 1 (because of the carry) = 12, so you save the 2 and carry the 1. Finally, 0 + 0 + 1 = 1. So the answer is 1203.

Binary addition works exactly the same way:

  010
+ 111
  ---
 1001

 

Starting at the right, 0 + 1 = 1 for the first digit. No carrying there. You've got 1 + 1 = 10 for the second digit, so save the 0 and carry the 1. For the third digit, 0 + 1 + 1 = 10, so save the zero and carry the 1. For the last digit, 0 + 0 + 1 = 1. So the answer is 1001. If you translate everything over to decimal you can see it is correct: 2 + 7 = 9.

 

To see how boolean addition is implemented using gates, see How Boolean Logic Works.

To sum up, here's what we've learned about bits and bytes:

·         Bits are binary digits. A bit can hold the value 0 or 1.

·         Bytes are made up of 8 bits each.

·         Binary math works just like decimal math, but each bit can have a value of only 0 or 1.

 

There really is nothing more to it -- bits and bytes are that simple.

This article was published on Sunday 26 April, 2009.
Article Rating:
Votes: 0
Fast Byte Prefixes and Binary Math
Name:    
E-Mail:    
Website:
Rating:  
Rating Saved


Please note that your review for may take up to 24 hours to process and may not be immediately viewable.
 

Customer Information for Byte Prefixes and Binary Math:

Ask your question about Byte Prefixes and Binary Math
E-Mail:    
Enter Code
Random Products for Byte Prefixes and Binary Math
Bitdefender Total Security 2012 5 User 1 Year Upgrade Windows Download $94.95
Bitdefender Total Security 2012 5 User 1 Year Upgrade Windows Download Bitdefender Total Security 2012 5 User 1 Year Upgrade Windows Download
buy now | more info
ALABAMA AL Bill of Sale For Motorcycle Form Download $9.99
ALABAMA AL Bill of Sale For Motorcycle Form Download MDOFPC for the month of May presents to you the ALABAMA AL Bill of Sale For Motorcycle Form Download
buy now | more info
MASSACHUSETTS MA Assignment and Bill of Sale for all of Assignor's Interest in Multiple Producing Leases Form Download $19.99
MASSACHUSETTS MA Assignment and Bill of Sale for all of Assignor's Interest in Multiple Producing Leases Form Download MASSACHUSETTS MA Assignment and Bill of Sale for all of Assignor's Interest in Multiple Producing Leases Form Download
buy now | more info
FEDERATED STATES OF MICRONESIA FM Elder Care Authorization Form Download $9.99
FEDERATED STATES OF MICRONESIA FM Elder Care Authorization Form Download MDOFPC for the month of May presents to you the FEDERATED STATES OF MICRONESIA FM Elder Care Authorization Form Download
buy now | more info
OREGON OR Food Safety Compliance Checklist Form Download $6.99
OREGON OR Food Safety Compliance Checklist Form Download OREGON OR Food Safety Compliance Checklist Form Download
buy now | more info
Sony VGC-RB42M 180 Day Email Technical Computer Support Service $19.99
Sony VGC-RB42M 180 Day Email Technical Computer Support Service MDOFPC for the month of May presents to you the Sony VGC-RB42M 180 Day Email Technical Computer Support Service
buy now | more info
Emachine E442 90 Day Email Technical Computer Support Service $9.99
Emachine E442 90 Day Email Technical Computer Support Service Emachine E442 90 Day Email Technical Computer Support Service
buy now | more info
IBM Lenovo IdeaCentre Q150 Windows XP X64 64 bit Drivers $9.99
IBM Lenovo IdeaCentre Q150 Windows XP X64 64 bit Drivers MDOFPC for the month of May presents to you the IBM Lenovo IdeaCentre Q150 Windows XP X64 64 bit Drivers
buy now | more info
AFFILIATE INFORMATION
Affiliate Information
Affiliate Program FAQ
Affiliate Log In
GENERAL INFORMATION
* FAQ Section
* Gift Voucher FAQ
* Shipping Overview
* Privacy Notice
* Conditions
* Contact Us
* Request for Quote
SUPPORT
* Create Support Ticket
* Support Forums
* Installation Manuals
Download Software
* Download Overview
* Download Instructions
* Free Download Tools
Fast Software Misc
* Custom Computer Packages
* ShopOnTheWeb Site Map
* Fast Software Overview Blog
* RSS feed for best sellers
* RSS feed for new products
* RSS feed for categories
* ROR feed for Products

 
 
Byte Prefixes and Binary Math

Byte Prefixes and Binary Math - Fast Software
Fast Software is a subsidiary of MD of PC Doctor of Computers. All rights reserved 2012
Please Contact: MDofPC@gmail.com or 412-250-7965 for sales or support
Fax: 412-568-0010