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
Apple Pulls Down MT4 and MT5 Trading Apps from App Store
Binance Requiring ‘Intermediate Verification’ for All Users
Worcester Weather Underground
Unity Stuck Reload Script Assemblies
Top Scorers Transfermarkt
From Algeria to Uzbekistan-These Are the Top Baby Names Around the World
Polyhaven Hdri
Obituary (Binghamton Press & Sun-Bulletin): Tully Area Historical Society
Obituaries
Wfin Local News
Calamity Hallowed Ore
AB Solutions Portal | Login
City Of Spokane Code Enforcement
Visustella Battle Core
What is IXL and How Does it Work?
Garrick Joker'' Hastings Sentenced
Jet Ski Rental Conneaut Lake Pa
Palace Pizza Joplin
Mission Impossible 7 Showtimes Near Regal Bridgeport Village
Spartanburg County Detention Facility - Annex I
Rainfall Map Oklahoma
Sivir Urf Runes
Xxn Abbreviation List 2023
Boston Gang Map
Vrachtwagens in Nederland kopen - gebruikt en nieuw - TrucksNL
Bjerrum difference plots - Big Chemical Encyclopedia
Aol News Weather Entertainment Local Lifestyle
Buying Cars from Craigslist: Tips for a Safe and Smart Purchase
Hampton University Ministers Conference Registration
Low Tide In Twilight Ch 52
Airtable Concatenate
Evil Dead Rise Showtimes Near Sierra Vista Cinemas 16
Miller Plonka Obituaries
Motor Mounts
24 slang words teens and Gen Zers are using in 2020, and what they really mean
Kstate Qualtrics
1-800-308-1977
Gpa Calculator Georgia Tech
ENDOCRINOLOGY-PSR in Lewes, DE for Beebe Healthcare
1v1.LOL Game [Unblocked] | Play Online
How much does Painttool SAI costs?
Craigslist Florida Trucks
Noaa Marine Weather Forecast By Zone
Nami Op.gg
22 Golden Rules for Fitness Beginners – Barnes Corner Fitness
Avance Primary Care Morrisville
Crigslist Tucson
Tommy Gold Lpsg
Diesel Technician/Mechanic III - Entry Level - transportation - job employment - craigslist
Mazda 3 Depreciation
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.