dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

This page is using the new English version of dCode, please make comments !

Tool to convert mayan numbers. The Maya numeral system uses a mix of base 20 and base 5 (and also 360)

Answers to Questions

How to write maya numbers?

Numbers have to be converted in base 20 with simple glyphs (with dots and horizontal bars). Each dot equals 1 and each bar equals 5. The mayan civilization used a vertical writing of the numbers.

for 19

for 26

Some Mayan systems seemed to use a specific rule to the 3rd stage when they indicated dates. Indeed, for date, time or duration, the third floor stops at 360 (base 10). Only for dates therefore, the number 360 is thus written as 400. This change in the third stage is kept with the following numbers and the number 7200 is then written 8000.

How to convert mayan numbers?

Converting is easy by counting symbols and considering it in base 20.

2 dots + 3 bars = 2*1+3*5 = 17

1 dot then (under) 2 dots = 1*20+2*1 = 22

How to count using mayan numerals?

The first mayan numbers are:

0(zero)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

40

60

80

100

For others, use the form just above.

Ask a new question

Source code

dCode retains ownership of the source code of the script Mayan Numerals. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Mayan Numerals script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK