How do you read binary numbers? (2024)

We count in decimal – that’s multiples of 10, or base 10. That means we use 10 distinct symbols to write down all numbers: 0,1,2,3,4,5,6,7,8,9. Perhaps having 10 digits on our hands helps with the maths.

It was not always this way – duodecimal, or base 12, was a very popular system: 12 inches to the foot, 12 pence to a shilling, 12 zodiac signs, 12 months in a year and 2 x 12 hours in a day. In duodecimal maths we use 12 symbols to write down all the numbers: 0,1,2,3,4,5,6,7,8,9,A,B. Duodecimal is superior for mental arithmetic because it has four non-trivial factors: it is divisible by 2, 3, 4 and 6, compared to the decimal system, which has only two non-trivial factors: 2 and 5.

But computers don’t count fingers or perform mental arithmetic, they operate using electricity, and so they need a simpler way to count. Their logic circuits just understand on and off, which means the native counting system for computers is binary, or base 2. So they have just two symbols to write down all numbers: 0, 1. This is not a problem, because using the right combination of 1s and 0s we can represent anything – but it does mean that we need quite a lot of them.

To understand a number in binary, for whole numbers we need to recognise that the most significant binary digit (or bit for short) is on the left and least significant bit is on the right. As we look right to left, each bit represents a higher power of 2 (because binary is base 2). So the binary number 1101 is, looking at each bit from right to left:1x 20+0x 21+1x 22+1x 23= 1 + 0 + 4 + 8 = 13.

Or, the binary number 1,000 is0x 20+0x 21+0x 22+1x 23= 0 + 0 + 0 + 8 = 8.

As with any numbering system, use more digits and you can represent bigger numbers. We can also represent fractional or floating-point numbers by adding a notional point. So 0111.0101 becomes1x 20+1x 21+1x 22+0x 23= 7 for the whole part, and (this time working left to right from the point)0x 2-1+1x 2-2+0x 2-3+1x 2-4=1/4+ 1/16 = 0.3125, making the number 7.3125.

However, representing negative numbers in binary can be more tricky – there are actually three different methods! The easiest is just to use a spare bit on the left, so if 00111 is 7, then 10111 is -7. But the most common approach in computers is called twos complement. In this approach to represent a negative number we invert all the bits and add 1. So if 00111 is 7 then 11000+1 = 11001 represents -7. To flip the sign we invert the bits and add 1 again: 00110+1 = 00111. Clever, eh?

Read more:

Asked by: Isabel Blackmore

To submit your questions email us at questions@sciencefocus.com (don't forget to include your name and location)

How do you read binary numbers? (2024)
Top Articles
Fintex Enters US Consumer Loan Market with Pass-Through Securitisation
How to Invest in Stocks and Other Investing Basics
Fighter Torso Ornament Kit
Craigslist Myrtle Beach Motorcycles For Sale By Owner
Shoe Game Lit Svg
Ffxiv Palm Chippings
Dee Dee Blanchard Crime Scene Photos
Craigslist Dog Sitter
Scentsy Dashboard Log In
Strange World Showtimes Near Amc Braintree 10
Bill Devane Obituary
Chicken Coop Havelock Nc
The fabulous trio of the Miller sisters
Learn2Serve Tabc Answers
Dc Gas Login
Samantha Lyne Wikipedia
Pizza Hut In Dinuba
Costco Gas Foster City
Band Of Loyalty 5E
Is The Yankees Game Postponed Tonight
Halo Worth Animal Jam
Gayla Glenn Harris County Texas Update
Wbiw Weather Watchers
Dragonvale Valor Dragon
Sister Souljah Net Worth
Hannaford Weekly Flyer Manchester Nh
4Oxfun
Black Lion Backpack And Glider Voucher
Taylored Services Hardeeville Sc
Primerica Shareholder Account
Home Auctions - Real Estate Auctions
"Pure Onyx" by xxoom from Patreon | Kemono
Hermann Memorial Urgent Care Near Me
The Complete Guide To The Infamous "imskirby Incident"
Merge Dragons Totem Grid
Mta Bus Forums
Nobodyhome.tv Reddit
Husker Football
Lovein Funeral Obits
Dispensaries Open On Christmas 2022
Lyndie Irons And Pat Tenore
FedEx Authorized ShipCenter - Edouard Pack And Ship at Cape Coral, FL - 2301 Del Prado Blvd Ste 690 33990
Sacramentocraiglist
Market Place Tulsa Ok
9294027542
10 Bedroom Airbnb Kissimmee Fl
Strange World Showtimes Near Atlas Cinemas Great Lakes Stadium 16
Wieting Funeral Home '' Obituaries
Ark Silica Pearls Gfi
Factorio Green Circuit Setup
Leslie's Pool Supply Redding California
Latest Posts
Article information

Author: Jamar Nader

Last Updated:

Views: 6476

Rating: 4.4 / 5 (55 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.