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 [email protected] (don't forget to include your name and location)

How do you read binary numbers? (2024)
Top Articles
Where did the phrase “What comes around goes around’ originate and what does it mean?
Community Disturbance Policy - Airbnb Help Center
Northern Counties Soccer Association Nj
AMC Theatre - Rent A Private Theatre (Up to 20 Guests) From $99+ (Select Theaters)
Kmart near me - Perth, WA
My Arkansas Copa
123Movies Encanto
Toyota Campers For Sale Craigslist
Southeast Iowa Buy Sell Trade
10 Popular Hair Growth Products Made With Dermatologist-Approved Ingredients to Shop at Amazon
Fusion
Clafi Arab
Ladyva Is She Married
Pro Groom Prices – The Pet Centre
Beau John Maloney Houston Tx
7 Low-Carb Foods That Fill You Up - Keto Tips
Elbasha Ganash Corporation · 2521 31st Ave, Apt B21, Astoria, NY 11106
Fear And Hunger 2 Irrational Obelisk
Idaho Harvest Statistics
Dark Chocolate Cherry Vegan Cinnamon Rolls
Lawson Uhs
Energy Healing Conference Utah
Wgu Academy Phone Number
Accident On The 210 Freeway Today
Food Universe Near Me Circular
Aes Salt Lake City Showdown
Www Craigslist Madison Wi
Bn9 Weather Radar
Jcp Meevo Com
Powerschool Mcvsd
Xpanas Indo
The Collective - Upscale Downtown Milwaukee Hair Salon
Uno Fall 2023 Calendar
Earthy Fuel Crossword
Pfcu Chestnut Street
Loopnet Properties For Sale
EST to IST Converter - Time Zone Tool
Gideon Nicole Riddley Read Online Free
Garrison Blacksmith's Bench
Chattanooga Booking Report
拿到绿卡后一亩三分地
3302577704
When His Eyes Opened Chapter 2048
Www Craigslist Com Brooklyn
South Bend Tribune Online
Quiktrip Maple And West
Haunted Mansion Showtimes Near Millstone 14
San Diego Padres Box Scores
18 Seriously Good Camping Meals (healthy, easy, minimal prep! )
Morbid Ash And Annie Drew
Latest Posts
Article information

Author: Barbera Armstrong

Last Updated:

Views: 5306

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Barbera Armstrong

Birthday: 1992-09-12

Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

Phone: +5026838435397

Job: National Engineer

Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.