Search for a tool
Mayan Numerals

Tool to convert to/from Mayan numbers system. The Maya numeral system uses a mix of base 20 (vigesimal) and base 5 (and also 360 numerals)


Mayan Numerals -

Tag(s) : Numeral System, History, Symbol Substitution

dCode and more

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!

Please, check our community Discord for help requests!

Thanks to your feedback and relevant comments, dCode has developed the best 'Mayan Numerals' tool, so feel free to write! Thank you!

Mayan Numerals

Sponsored ads

Mayan to Decimal/Arabic Numbers Converter

Decimal/Arabic to Mayan Numbers Converter

Tool to convert to/from Mayan numbers system. The Maya numeral system uses a mix of base 20 (vigesimal) and base 5 (and also 360 numerals)

Answers to Questions

How to write Maya numbers?

In Mayan culture, numbers are written in base 20 (called vigesimal base). The 20 Mayan digits are composed of simple glyphs/symbols that can be added: dots . associated to value $ 1 $ (units) and horizontal bars - associated to value $ 5 $. The mayan civilization used a vertical writing for the numbers (units under tens/twenties, under (four-)hundreds, etc.).

Example: The number $ 19 $ (English/hindu-arabic numeral in base 10) is written char(74) in Mayan (3 bars and 4 dots: $ 3 \times 5 + 4 \times 1 = 19 $)

Example: $ 26 $ is written (in 2 rows: 1 dot on the first line: $ 1 \times 20 = 20 $ and 1 dot and 1 bar on the second line $ 1 + 5 = 6 $, total $ 20 + 6 = 26 $)

Example: $ 0 $ (zero) is noted char(48) (originally a shell shape, but some say an egg or an american football/rugby ball)

The Mayas seemed to use a specific rule, a modified Vigesimal system, for the third floor when they wrote dates and sometimes for large numbers. Indeed, for dates, the third place always stops at $ 360 $ (base 10). This change on the third floor refers to the following numbers. The reasons for this vigesimal notation (base 20) for dates and large numbers (greater than 360) are not known, and although a majority of the retrieved writings use the modified system, this is not always the case.

Example: In base 20 $ 360 $ is normally written char(73)char(48), but in modified base 20, $ 360 $ is written char(49)char(48)char(48) (which equals $ 400 $ in unmodified base 20). In the same way, the number $ 7200 $ is written $ 8000 $.

How to convert Mayan numbers?

Converting Mayan numerals is made by counting dots and bars symbols on each rows and treat it as base 20 writing, before converting it to base 10.

Example: a single row with 2 dots and 3 bars: $ 2 \times 1 + 3 \times 5 = 17 $

Example: A number on two rows with 1 dot then (under) 2 dots: $ 1 \times 20 + 2 \times 1 = 22 $

For numbers that are greater than or equal to 360, be sure to apply the modified vigesimal system if necessary.

How to write a date with Mayan numbers?

The dates in Maya are based on the kin (plural kinob), which is 1 day, then the uinal (plural unialob) which is 20 days, the tun, an 18 uinalob period which is therefore 360 days, about 1 year (365.24 days), then the katun (20 tunob = 7200 days = about 20 years), then the baktun (20 katunob, 144000 days = about 394 years). Day 0 seems to match August 11, 3114 BC of our era (precision to be relativised with the Gregorian / Julian calendar chosen)

To write a birthdate or anniversary date in a contemporary way, dCode recommends to use the values of the 3 numbers (day, month, year) written in Maya and separated by a dash - or a bar / (slash)

How to count using Mayan numerals?

The first Mayan numbers are:


For others maya numbers (up to 1000, 10000, 100000, 1000000 etc.), use the form above.

How to recognize Mayan numbers?

Maya numeration uses generally stacked lines and dots.

The Mayan civilization lived in Central America around -2000 BC as their pyramids testify.

Although there are similarities, the Mayan civilization is different from the Aztecs or the Incas.

Any reference to Mexico, Belize, Guatemala, El Salvador or Honduras (current areas where the Mayas lived) are clues.

Source code

dCode retains ownership of the online 'Mayan Numerals' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Mayan Numerals download for offline use on PC, tablet, iPhone or Android !

Need Help ?

Please, check our community Discord for help requests!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'Mayan Numerals' tool, so feel free to write! Thank you!

Source :
© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.