define base

In mathematics, a base refers to the number system used to represent and work with numbers. The base determines the number of digits that are used and the value associated with each digit. The most commonly used base is base-10, also known as the decimal system, which uses ten digits (0-9). Other bases include base-2 (binary), base-8 (octal), and base-16 (hexadecimal), among others. In these systems, the value of each digit is determined by its position within the number, with the rightmost digit having the least value and the leftmost digit having the greatest value.