Babylonian Numbers Converter
Convert any positive whole number into Babylonian cuneiform numerals, or enter a Babylonian ASCII string and decode it back to a decimal number. The calculator shows the full base-60 (sexagesimal) place-value breakdown, the Unicode cuneiform symbols used in ancient Mesopotamia around 2000 BC, and an ASCII approximation using pipe and chevron notation.
How the Babylonian number system works
The Babylonian numeral system was positional and used base 60 (sexagesimal), making it the world's oldest place-value number system. It was developed by the Sumerians around 3000 BC and refined by the Babylonians around 2000 BC. Unlike our familiar base-10 system, each position in a Babylonian number represents a power of 60 rather than a power of 10. Two clay tablet symbols formed all digits: a thin vertical wedge (π) worth 1, and a wider horizontal chevron (π) worth 10. Digits 1 through 59 are written by combining these two symbols, and then each digit occupies a positional column: the rightmost column is the units place (1s), the next is the sixties place (60s), then the 3,600s, and so on. Reading left to right, the most significant group comes first - exactly as we read numbers today. When a zero was needed in an interior position, early scribes simply left a gap; a dedicated placeholder symbol only appeared around 300 BC in later Babylonian texts.
Converting a decimal number to Babylonian step by step
To convert a decimal integer to Babylonian numerals, you repeatedly divide by 60 and collect the remainders. For example, to convert 3,661: divide 3,661 by 60 to get 61 with remainder 1 - write down 1 (the units digit). Divide 61 by 60 to get 1 with remainder 1 - write down 1 (the sixties digit). The quotient 1 becomes the final digit in the 3,600s place. Reading the collected digits from most significant to least significant gives the groups: 1, 1, 1. In cuneiform that is three separate π symbols, one for each place, written left to right with spaces between groups: π π π. In ASCII pipe notation: "| | |". The same approach works in reverse: given the Babylonian ASCII groups, multiply each digit by its place value (60^position) and add the results to recover the decimal number.
Why base 60 and how it survives today
The choice of base 60 was deliberate and mathematically elegant. The number 60 has twelve divisors - 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30 and 60 - far more than base 10 (which has only 1, 2, 5 and 10). This made division and fractions much easier to handle without a calculator, critical for trade, land surveying and astronomy. Babylonian astronomers used the system to track the movement of planets and stars with impressive accuracy, and their astronomical records formed the basis of later Greek and Arab astronomy. The legacy of base 60 is still with us: there are 60 seconds in a minute, 60 minutes in an hour, 360 degrees in a circle (60 x 6), and 60 arcminutes in a degree of latitude or longitude.
Reading and writing the ASCII notation used here
Because real cuneiform wedge characters are hard to type on a keyboard, scholars and programmers use an ASCII approximation. In this calculator the pipe character "|" represents a unit wedge (value 1) and the less-than sign "<" represents a ten-chevron (value 10). A space separates each base-60 place-value group. For example, the number 3,723 works out to 1 hour + 2 minutes + 3 seconds in sexagesimal (1 x 3600 + 2 x 60 + 3 = 3,723), so its ASCII Babylonian form is "| || |||" - one unit in the 3,600s place, two units in the 60s place, and three units in the units place. The converter above accepts this notation in the "Babylonian to Decimal" mode: type your space-separated groups using | and < and the calculator decodes the value for you.
Babylonian digit symbols 1-19 (the basic building blocks)
| Decimal | Cuneiform | ASCII | Composition |
|---|---|---|---|
| 1 | π | | | 1 unit wedge |
| 2 | ππ | || | 2 unit wedges |
| 3 | πππ | ||| | 3 unit wedges |
| 4 | ππππ | |||| | 4 unit wedges |
| 5 | πππππ | ||||| | 5 unit wedges |
| 10 | π | < | 1 ten-chevron |
| 11 | ππ | <| | 1 ten-chevron + 1 unit wedge |
| 15 | ππππππ | <||||| | 1 ten-chevron + 5 unit wedges |
| 20 | ππ | << | 2 ten-chevrons |
| 30 | πππ | <<< | 3 ten-chevrons |
| 45 | πππππππππ | <<<<||||| | 4 ten-chevrons + 5 unit wedges |
| 59 | ππππππππππππππ | <<<<<||||||||| | 5 ten-chevrons + 9 unit wedges |
| 60 | π (zero) | | (zero) | Digit 1 in the 60s place, 0 in units |
Each Babylonian digit from 1 to 59 is formed by combining π (value 10) and π (value 1). Digits 20-59 follow the same pattern with more chevrons.
Frequently asked questions
What base did the Babylonians use?
The Babylonians used base 60, called sexagesimal. Each positional column in their number system represents a power of 60 (1, 60, 3,600, 216,000, ...) rather than powers of 10. Within each column, digits 1-59 were written using two symbols: π (worth 1) and π (worth 10).
Did the Babylonians have a zero?
Not in the early period. Before about 300 BC, Babylonian scribes represented a zero digit in a middle position simply by leaving a gap between groups on the clay tablet, which was ambiguous and caused errors. A special placeholder symbol for zero was introduced in later Babylonian texts around 300-200 BC, but it was only used as a placeholder, not as a number in its own right. The concept of zero as a true number was developed later in India.
How do I read a Babylonian number written on a clay tablet?
Identify the groups of symbols, reading from left to right. Each group is a digit from 1 to 59, formed by counting the chevron symbols (each worth 10) and the wedge symbols (each worth 1) in that group. The leftmost group has the highest place value. Multiply each digit by the corresponding power of 60 (rightmost = 60^0 = 1, next = 60^1 = 60, and so on) and add all the results to get the decimal value. If a gap separates two groups, that gap represents a zero digit in that position.
Why did the Babylonians choose base 60?
Historians believe base 60 was chosen because 60 is highly composite - it is divisible by 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30 and 60. This made mental arithmetic with fractions much easier than base 10. Some scholars also suggest it arose from combining a base-5 and a base-12 system used by different Sumerian trading groups. The exact origin is still debated, but the practical advantages for commerce and astronomy are clear.
Is the Babylonian system still used today?
Directly, no - but its influence is everywhere. Our 60-second minute, 60-minute hour, 24-hour day and 360-degree circle all descend from Babylonian astronomy and mathematics. The degree-minute-second notation for geographic coordinates and angles (e.g., 45 degrees 30 minutes 15 seconds) is a direct continuation of the sexagesimal place-value idea. Astronomers and navigators used sexagesimal fractions well into the modern era.
What is the largest number I can represent in Babylonian numerals?
Theoretically there is no upper limit: you simply add more place-value groups. In practice this calculator handles numbers up to 21,599,999, which occupies four base-60 places (the largest four-place sexagesimal number is 59 x 60^3 + 59 x 60^2 + 59 x 60 + 59 = 21,599,999). Real cuneiform tablets recorded much larger numbers for astronomical calculations.
How do I use the ASCII input to convert from Babylonian to decimal?
Switch the conversion direction to "Babylonian (ASCII) to Decimal". Then type your number using | for each unit wedge (worth 1) and < for each ten-chevron (worth 10). Put a space between each base-60 place-value group. For example, "|| <|" means two units in the sixties place and eleven in the units place: (2 x 60) + 11 = 131. The calculator will show the decimal result and reproduce the cuneiform representation.