Number Systems and Bases

Base systems like binary and hexadecimal seem a bit strange at first. The key is understanding how different systems “tick over” like an odometer when they are full. Base 10, our decimal system, “ticks over” when it gets 10 items, creating a new digit. We wait 60 seconds before “ticking over” to a new minute. Hex and binary are similar, but tick over every 16 and 2 items, respectively.

This is a companion discussion topic for the original entry at

wow. thanks, i feel smarter albeit nerdier already.

hey, this is a wonderful site, its really helped me in my assignment in college, but there is a question that i can’t answer and that is, Why do we use different number bases

Hi Alex, good question. I think we use binary (base 2) in computer systems because they are the easiest to build. It’s easier to make a switch that turns on or off (1 or 0) rather than one that has to go between 10 states.

For our choice of base 10, it’s probably because we have 10 fingers. Though some ancient civilizations used base 60, base 10 is pretty natural to us as we count off items on our hands.

[…] GUIDs are large, enormous numbers that are nearly guaranteed to be unique. They are usually 128 bits long and look like this in hexadecimal: […]

i want to know the history of the number system o to 9, when and why did it start

Hi Jacki, I don’t know that much about the actual history, but there’s some good information here:

[…] And prime numbers are prime in any number system. “1/3″ is only a repeating fraction in base 10 (.33333), and you could even argue that pi (3.14159…) is not irrational in base “pi”. But everyone can agree that certain numbers are prime and can’t be divided. You can even transmit primes in a unary number system that lacks a decimal point: […]

Negative bases can be used, too. For example, base-negative-10. 0-9 are as in base-10, but 10[-10] is -10, 11[-10] is -9, …, 99[-10] = 81, 100[-10] = 100 (because -10 x -10 = 100). Seems silly, but I actually read a paper once in which using base-negative-two was useful for reducing the size of some electronic circuits.

Hi David, thanks for the info, that’s pretty interesting. I searched around and think it’s called “negabinary”:

and there are some nice features like not having to store a separate sign bit. There’s even a number system with imaginary base, which is a bit mind-boggling:

Appreciate the pointers!

this place is cool and helpful at the same time!!

[…] GUIDs are large, enormous numbers that are nearly guaranteed to be unique. They are usually 128 bits long and look like this in hexadecimal: […]

thats pretty cool

Thanks, glad you enjoyed it.

Hi kalid, could you elaborate a bit more on binary system,.me being less than average, need a bit more explanation and examples.

This best article i think to understand basic (bu very very very useful) thing of number system. thanks u alot.

@Sudarshan: Thanks for the comment – I might need to write a separate article on binary. The closest analogy I can think of it that binary is an odometer that “clicks over” when it reaches two – that is, you get 0, 1, then 10 (since you need to go the next digit).

@Jeet: Glad you enjoyed it.

Here’s an interesting pop quiz question for all you who just finished reading this page: which is a more powerful base for division, base 10 or base 16? Hint: The lesson on prime numbers will shed some light.

[…] Numbers: number systems, visual arithmetic, different bases, Prime numbers […]

hey indians found zero;
encint indian mthematics is so rich.