Tool to convert babylonian numbers (Babylonian Numerals). The Mesopotamian numeral system uses a mix of base 60 (sexagesimal) and base 10 (decimal) by writing wedges (vertical or corner wedge).
Babylonian Numerals - dCode
Tag(s) : Numeral System, History, Symbol Substitution
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Babylonian numeration is a numbering system used by the ancient Babylonians/Sumerians in Mesopotamia to represent numbers. In mesopotamian/babylonian/sumerian number system, numbers are written in a cuneiform style with | (pipe or nail) and < (corner wedge or bracket), written in base 60 (sexagesimal).
The number is written in base 60, the 60 digits are broken down into vertical bars π (often noted |) which are worth one unit (1) and chevrons π (often noted <) which are worth ten (10) in base 10.
The power change of sixty ($ 60^1 = 60 $, $ 60^2 = 3600 $, $ 60^3 = 216000 $ etc.) is represented by an empty space.
To convert a Babylonian number:
— Identify the positions (from right to left). Each position represents a power of $ 60 $
— Multiply the value in each position by its power of $ 60 $
— Add the results to obtain the number in base $ 10 $
Example: A Babylonian number noted | |||| || (watch out for spaces), is broken down into || ($ 2 $) in the first position on the left, |||| ($ 4 $) in the second and | ($ 1 $) in the third is calculated as $ 2 \cdot 60^0 + 4 \cdot 60^1 + 1 \cdot 60^2 = 2 + 240 + 3600 = 3842 $
Since Unicode 5 (2006) cuneiform symbols can be represented on compatible browsers, here is the table of characters used by dCode:
π | 1 | π | 2 | π | 3 | π | 4 | π | 5 | π | 6 | π | 7 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
π | 8 | π | 9 | π | 10 | π | 20 | π | 30 | π | 40 | π | 50 |
Converting is easy by counting symbols and considering it in base 60 to get numbers into classical Hindu-Arabic notation.
Example: <<||| is 2 < and 3 | so $ 2 \times 10 + 3 \times 1 = 23 $
Example: | | (note the space) is 1 | and then 1 | so $ 1 \times 60 + 1 = 61 $
To convert a number $ n $ from base $ 10 $ to base $ b=60 $ apply the algorithm::
— Divide the decimal number by $ 60 $ and note the whole quotient as well as the remainder
— Repeat the process with the quotient until it is equal to $ 0 $
— Read the remainders obtained in reverse order to obtain the representation in base $ 60 $
// pseudo-code
function decimal_to_base60(n) {
q = n
b60 = []
while (q > 0) {
r = q mod 60
b60 []= r
q = q div 60
}
return b60
}
Example: $$ q_0 = 100 \\ r_0 = 100 \mbox{ mod } 60 = 40 \;\;\; q_1 = 100 \mbox{ div } 60 = 1 \\ r_1 = 1 \mbox{ mod } 60 = 1 \;\;\; q_2 = 0 \\ \Rightarrow \{1,0,0\}_{(10)} = \{1, 40\}_{(60)} $$
60 has the advantage of having many divisors: 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, and 60.
Today the time system of hours still uses the numerotation in base sixty: 60 seconds = 1 minute, 60 minutes = 1 hour = 3600 seconds
Convert the Babylonian numbers to Hindu-Arabic numerals (1,2,3,4,5,6,7,8,9,0), then use the Roman numeral converter of dCode.
Clay tablets played a crucial role in understanding Babylonian numbers, as they were the medium on which the ancient Babylonians wrote their numerations. These tablets have survived through the centuries, providing a valuable source of information about the numerical and mathematical systems of this civilization.
Babylonian/Summerian numbers are thought to have been developed around 2000 BC.
dCode retains ownership of the "Babylonian Numerals" source code. Any algorithm for the "Babylonian Numerals" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Babylonian Numerals" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Babylonian Numerals" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Babylonian Numerals" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons β€ (.csv or .txt format) or β§ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Babylonian Numerals on dCode.fr [online website], retrieved on 2025-04-15,