StringMash.com

Mayan numerals converter

Dots, bars and a shell for zero, in base 20.

Conversion
3 characters
Updates as you type
Places, top first1.1.9
Unicode๐‹ก ๐‹ก ๐‹ฉ
Drawn below

Show the steps
1 ร— 4001 ร— 209 ร— 1
  1. Maya numbers are base 20, written top to bottom: the bottom place counts 1s, the next 20s, then 400s, 8,000s and so on.
  2. 429 รท 400 = 1, leaving 29. 1 dot.
  3. 29 รท 20 = 1, leaving 9. 1 dot.
  4. 9 รท 1 = 9. 1 bar and 4 dots.

Using it

Type a whole number. The numeral is drawn below, with each place's value beside it, and the output gives the places from the top as dotted digits, such as 1.1.9 for 429. The rows add the Unicode Maya numeral characters, which only show where a font has them.

Swap the boxes to read a numeral: type its places from the top, separated by dots. Set Places to Long Count for the calendar's numbers.

How it works

The Maya counted in twenties. Each digit, from 0 to 19, is built from dots worth 1 and bars worth 5, with a shell for zero: 13 is three dots over two bars. Bigger numbers are stacked, the largest place on top. The bottom place counts ones, the next twenties, then 400s, 8,000s and so on.

So 429 is one dot (one 400) over one dot (one 20) over a bar and four dots (9): 400 + 20 + 9. Without a zero, a positional system can't tell 1.0.9 from 1.9, which is why the shell matters.

The twenty digits

ValueWritten asUnicode
0shell๐‹ 
11 dot๐‹ก
22 dots๐‹ข
33 dots๐‹ฃ
44 dots๐‹ค
51 bar๐‹ฅ
61 bar + 1 dot๐‹ฆ
71 bar + 2 dots๐‹ง
81 bar + 3 dots๐‹จ
91 bar + 4 dots๐‹ฉ
102 bars๐‹ช
112 bars + 1 dot๐‹ซ
122 bars + 2 dots๐‹ฌ
132 bars + 3 dots๐‹ญ
142 bars + 4 dots๐‹ฎ
153 bars๐‹ฏ
163 bars + 1 dot๐‹ฐ
173 bars + 2 dots๐‹ฑ
183 bars + 3 dots๐‹ฒ
193 bars + 4 dots๐‹ณ

The Long Count

Dates on monuments use the same digits with one change: the third place is worth 360, 18 ร— 20, instead of 400, so the second place only runs to 17. The places above go on by twenties: 7,200 and 144,000. La Mojarra Stela 1 carries the Long Count 8.5.16.9.7, which is 1,193,947 days; try it with Places set to Long Count.

Questions

How do you write 20 in Mayan numerals?

A dot over a shell: one twenty and no ones.

How do you add Mayan numerals?

Combine the dots and bars in each place. Five dots make a bar, and four bars make a dot in the place above.

Why is the Long Count different?

360 days is close to a year, so the calendar's third place counts roughly years. Every known large Maya number uses this form.

Sources

Added . What's new