- Historians confirm the decimal place-value system with a true placeholder zero originated in ancient India and was firmly established by the 6th century, while the earlier base-60 place-value idea came from Babylonian Mesopotamia
- Binary is base 2, using only the digits 0 and 1, and hexadecimal is base 16, using 0 to 9 and A to F
- Together binary and hexadecimal underpin modern computing.
A number system is the structure or method used to represent numbers. It is a set of symbols together with the rules for combining them, so that any quantity in a given set can be written and counted. The number system we mostly use today is a place-value system.
What Is a Number System?
A number system is a structured way of representing numbers using a fixed set of symbols and rules. Each system has a base that defines how many digits it uses. The decimal, binary, hexadecimal and unary systems are common examples, and every one assigns meaning to symbols through position.
In a place-value system, the value of a digit depends on its position within the number. For example, in 3, 30 and 300 the digit 3 represents different values because of the arrangement of the 3 and the zeros. The Roman numeral I, the Greek letter alpha, and the digit 1 all represent the same idea of oneness, and are the starting symbols of their respective number systems.
Where Did Number Systems Originate?
Number systems date back to the Mesopotamian era, where the Babylonians built an early base-60 place-value system. The decimal place-value system that we use today, combining ten digits with a true placeholder zero, was developed in ancient India and later spread through the Arab world to Europe.
Number systems have existed since the Mesopotamian age, when symbols were used to represent different values. The Babylonians used a place-value system, but it was sexagesimal, meaning base 60. The combined use of decimal digits and place value first occurred in ancient India, where scholars introduced a true placeholder zero. From there the decimal system spread to the Arab empire and eventually to Europe.
The decimal place-value system is the most widely used number system today. In the decimal system, the ten digits from 0 to 9 are used to construct every required number. This system is credited to mathematicians of the Indian subcontinent.
Vedic Maths tricks and techniquesRead →What Are the Main Types of Numbers?
The main sets are natural numbers, which start at one; whole numbers, which add zero; and integers, which include negatives. Rational numbers can be written as a ratio of two integers, while irrational numbers like pi cannot. Together, rational and irrational numbers form the complete set of real numbers.
Natural numbers are also known as the counting numbers, and the series starts from 1. Natural numbers are infinite. Whole numbers are similar to natural numbers but start at 0, so every natural number is also a whole number. Whole numbers are infinite too.
Integers are the set that includes all whole numbers, their negatives (additive inverses), and zero. Thus the integers are {..., -3, -2, -1, 0, 1, 2, 3, ...} and are represented by the symbol Z. Integers can be plotted on a number line.
Rational numbers are numbers that can be written as a ratio of two integers. For example, the fractions 1/5 and -11/30 are both rational numbers. Any fraction that terminates or has a repeating pattern in its decimal form is rational. An irrational number, by contrast, cannot be written as such a fraction and does not end or repeat in decimal form; pi is a well-known irrational number. Real numbers are the complete set that contains all rational and irrational numbers, and they are infinite.
Real numbers explainedRead →How Do Binary and Hexadecimal Systems Work?
Binary is the base-2 system used by computers, representing every value with just two digits, 0 and 1. Hexadecimal is a base-16 system that uses the digits 0 to 9 plus the letters A to F. Each hexadecimal digit maps neatly to four binary digits, making long binary strings easier to read.
The two number systems most used in computer science and coding are the binary and hexadecimal systems. The binary number system has base 2 and uses only two digits, 0 and 1. Different combinations of 0 and 1 form different numbers, each representing a different value. The hexadecimal system has base 16, using the ten digits 0 to 9 and then the six letters A to F. Because each hexadecimal digit represents exactly four binary digits, it is a compact way to write binary data.
The simplest number system is the unary system, essentially base 1. In the unary system every natural number is represented by repeating a single symbol, usually a stroke. For example, the number 5 is written as five strokes: /////. Unary is the tally method used for simple counting rather than for large calculations.
| Number System (2026 Reference) | Base | Digits Used | Example |
|---|---|---|---|
| Unary | 1 | A single repeated mark (/) | ///// = 5 |
| Binary | 2 | 0, 1 | 101 = 5 |
| Decimal | 10 | 0-9 | 305 |
| Hexadecimal | 16 | 0-9, A-F | 1F = 31 |
Why Is the Decimal System Used Everyday?
The decimal system uses ten digits, 0 through 9, and assigns value by position, so 3, 30 and 300 differ only in placement. Because it matches our ten fingers and handles large numbers efficiently with a placeholder zero, it became the standard system for everyday counting, commerce and mathematics worldwide.
The decimal system's use of position and a placeholder zero makes it simple to write very large or very small numbers with only ten symbols. This efficiency is why it replaced older additive systems such as Roman numerals for arithmetic, and why it remains the everyday number system for counting, money and measurement across the world.
