# Radix

Part of a series on :
Numeral systems :
Place-value notation
Hindu–Arabic numerals
Western Arabic
Eastern Arabic
Bengali
Devanagari
Gujarati
Gurmukhi
Odia
Sinhala
Tamil
Malayalam
Telugu
Kannada
Dzongkha
Tibetan
Balinese
Burmese
Javanese
Khmer
Lao
Mongolian
Sundanese
Thai
East Asian systems
Contemporary
Chinese
Hokkien
Suzhou
Japanese
Korean
Vietnamese
Historic
Counting rods
Tangut
Other systems
History
Ancient
Babylonian
Post-classical
Cistercian
Mayan
Muisca
Pentadic
Quipu
Rumi
Contemporary
Cherokee
Kaktovik (Iñupiaq)
By radix/base
Common radices/bases
2
3
4
5
6
8
10
12
16
20
60
Non-standard radices/bases
Bijective (1)
Signed-digit (balanced ternary)
Mixed (factorial)
Negative
Complex (2i)
Non-integer (φ)
Asymmetric :
Sign-value notation
Non-alphabetic
Aegean
Attic
Aztec
Brahmi
Chuvash
Egyptian
Etruscan
Kharosthi
Prehistoric counting
Proto-cuneiform
Roman
Tally marks
Alphabetic
Abjad
Armenian
Alphasyllabic
Akṣarapallī
Āryabhaṭa
Kaṭapayādi
Coptic
Cyrillic
Geʽez
Georgian
Glagolitic
Greek
Hebrew :
List of numeral systems :
vte :
In a positional numeral system, the radix (pl.: radices) or base is the number of unique digits, including the digit zero, used to represent numbers. For example, for the decimal system (the most common system in use today) the radix is ten, because it uses the ten digits from 0 through 9.
In any standard positional numeral system, a number is conventionally written as (x)$_y$ with x as the string of digits and y as its base. For base ten, the subscript is usually assumed and omitted (together with the enclosing parentheses), as it is the most common way to express value. For example, (100)$_{10}$ is equivalent to 100 (the decimal system is implied in the latter) and represents the number one hundred, while (100)$_2$ (in the binary system with base 2) represents the number four.

## Etymology

Radix is a Latin word for "root". Root can be considered a synonym for base, in the arithmetical sense.

## In numeral systems

Generally, in a system with radix b (b > 1), a string of digits d$_1$ ... d$_n$ denotes the number d$_1$b$^{n−1}$ + d$_2$b$^{n−2}$ + … + d$_n$b$^0$, where 0 ≤ d$_i$ < b. In contrast to decimal, or radix 10, which has a ones' place, tens' place, hundreds' place, and so on, radix b would have a ones' place, then a b$^1$s' place, a b$^2$s' place, etc.
For example, if b = 12, a string of digits such as 59A (where the letter "A" represents the value of ten) would represent the value 5 × 12$^2$ + 9 × 12$^1$ + 10 × 12$^0$ = 838 in base 10.
Commonly used numeral systems include:
| Base/radix | Name | Description |
| 2 | Binary numeral system | Used internally by nearly all computers. The two digits are "0" and "1", expressed from switches displaying OFF and ON, respectively. Used in most electric counters. |
| 8 | Octal system | Used occasionally in computing. The eight digits are "0"–"7" and represent 3 bits (2$^3$). |
| 10 | Decimal system | Used by humans in the wide majority of cultures. Its ten digits are "0"–"9". Used in most mechanical counters. |
| 12 | Duodecimal (dozenal) system | Sometimes advocated due to divisibility by 2, 3, 4, and 6. It was traditionally used as part of quantities expressed in dozens and grosses. |
| 16 | Hexadecimal system | Often used in computing as a more compact representation of binary (1 hex digit per 4 bits). The sixteen digits are "0"–"9" followed by "A"–"F" or "a"–"f". |
| 20 | Vigesimal system | Traditional numeral system in several cultures, still used by some for counting. Historically also known as the score system in English, now most famous in the phrase "four score and seven years ago" in the Gettysburg Address. |
| 36 | Base36 | Base36 is a binary-to-text encoding scheme that represents binary data in an ASCII string format by translating it into a radix-36 representation. The choice of 36 is convenient in that the digits can be represented using the Arabic numerals 0–9 and the Latin letters A–Z (the ISO basic Latin alphabet). Each base36 digit needs less than 6 bits of information to be represented. |
| 60 | Sexagesimal system | Originally used in modified form in ancient Sumer and passed to the Babylonians. Used today as the basis of modern circular coordinate system (degrees, minutes, and seconds) and time measuring (minutes, and seconds) by analogy to the rotation of the Earth. |
The octal and hexadecimal systems are often used in computing because of their ease as shorthand for binary. Every hexadecimal digit corresponds to a sequence of four binary digits, since sixteen is the fourth power of two; for example, hexadecimal 78$_{16}$ is binary 1111000$_2$. Similarly, every octal digit corresponds to a unique sequence of three binary digits, since eight is the cube of two.
This representation is unique. Let b be a positive integer greater than 1. Then every positive integer a can be expressed uniquely in the form
    $a=r_{m}b^{m}+r_{m-1}b^{m-1}+\dotsb +r_{1}b+r_{0},$
where m is a nonnegative integer and the r's are integers such that
    0 < r$_m$ < b and 0 ≤ r$_i$ < b for i = 0, 1, ... , m − 1.
Radices are usually natural numbers. However, other positional systems are possible, for example, golden ratio base (whose radix is a non-integer algebraic number), and negative base (whose radix is negative). A negative base allows the representation of negative numbers without the use of a minus sign. For example, let b = −10. Then a string of digits such as 19 denotes the (decimal) number 1 × (−10)$^1$ + 9 × (−10)$^0$ = −1.