Mayan Numerals Converter - Decimal to Maya Numbers
Convert between modern decimal numbers and the ancient Mayan vigesimal (base-20) number system using dots, bars, and shell symbols.
Enter a decimal number to see its Mayan representation, or enter Mayan position values to decode them back to decimal.
Mayan Numerals Converter - Decimal to Maya Numbers
Convert between modern decimal numbers and the ancient Mayan vigesimal (base-20) number system using dots, bars, and shell symbols.
About the Mayan numerals converter
The Mayan numeral system is one of humanity's most remarkable mathematical inventions. Developed by the ancient Maya civilization of Mesoamerica — primarily in present-day Mexico, Guatemala, Belize, and Honduras — this system was in active use from at least 36 BCE and remained central to Mayan astronomy, calendrics, and commerce for well over a millennium.
Unlike the decimal system we use today (base 10), the Mayan system is vigesimal, meaning it is built on groups of twenty. This choice almost certainly reflects that ancient peoples counted on both fingers and toes. The positional notation works just like our own: the rightmost (or lowest) digit represents units, the next represents twenties, the next four-hundreds (20²), then eight-thousands (20³), and so on. To read a Mayan number you multiply each digit by its positional value and sum the products — exactly the same algorithm we use for decimal.
The Mayan digit set has only three symbols, yet can express any value from zero to nineteen:
• A dot (●) represents one.
• A horizontal bar (━━━) represents five.
• A stylised shell symbol (⊕) represents zero.
To express a digit, you combine bars and dots: two bars and three dots makes 13, three bars makes 15, and so on. The maximum digit is 19 (three bars and four dots). Zero — perhaps the most important innovation — was explicitly represented as the shell glyph, making the Mayan system one of only a handful of ancient positional number systems to include a true zero symbol. This was independently invented centuries before most Old-World cultures embraced the concept.
The converter here implements the standard astronomical/Long Count notation in which every position is purely base-20. Some historical inscriptions use a modified second position (18 instead of 20) specifically for the Tzolkʼin and Haabʼ calendar cycles; this calculator uses the purely mathematical vigesimal form.
Converting a decimal number to Mayan notation is straightforward: repeatedly divide by 20, collecting the remainders from lowest to highest position. Converting back is equally simple: multiply each position's digit by the corresponding power of 20 and sum. Both operations are handled automatically by this tool.
This converter is useful for students of Mesoamerican history, teachers of number-system diversity, recreational mathematicians exploring non-decimal bases, and anyone curious about the elegant arithmetic of the ancient world. Understanding the Mayan system deepens appreciation for just how universal — and how varied — the human impulse to count and calculate truly is.
Mayan numerals examples
Classic conversions that illustrate how the base-20 positional system works.
| Input | Mayan positions | Explanation |
|---|---|---|
| Decimal 0 | ⊕ (shell) | Zero is written as the shell symbol, one of the earliest explicit zero representations in history. |
| Decimal 19 | 3 bars + 4 dots | The largest single-position Mayan digit — 3 bars (15) plus 4 dots (4) = 19. |
| Decimal 20 | 1 | ⊕ | 20 is written as 1 in the twenties position and shell (0) in the units position, just like '10' in decimal. |
| Decimal 365 | 18 | 5 | 18 × 20 + 5 × 1 = 360 + 5 = 365. The Maya calendar year — proof the system served real astronomical needs. |
| Mayan 1.5.3 | Decimal 503 | 1 × 400 + 5 × 20 + 3 × 1 = 400 + 100 + 3 = 503. Demonstrates three-level positional notation. |
How to use the Mayan numerals converter
- Choose a conversion direction: 'Decimal → Mayan' to convert a modern number into Mayan notation, or 'Mayan → Decimal' to decode Mayan position values back into a decimal number.
- For Decimal → Mayan: type any whole number from 0 to 999,999 in the input field, then click Convert.
- For Mayan → Decimal: type the position values separated by dots, from the most significant (highest) position to the least significant — for example, enter '1.5.3' for the number that equals 1×400 + 5×20 + 3×1.
- Read the result panel: each Mayan position is shown with its multiplier and the dot/bar/shell rendering so you can see exactly how the value breaks down.
- Click Reset to clear all fields and start a new conversion.
Mayan numerals FAQ
What base does the Mayan number system use?
The Mayan system is base-20, also called vigesimal. Each positional column is worth 20 times the column to its right: 1, 20, 400, 8,000, 160,000, and so on. This is in contrast to our familiar decimal (base-10) system where columns represent powers of 10.
What are the three Mayan digit symbols?
A dot (●) equals 1, a horizontal bar (━━━) equals 5, and a shell (⊕) equals 0. By combining up to four dots and up to three bars you can represent any digit from 0 to 19. This remarkably compact symbol set enabled the Maya to write large astronomical numbers with ease.
Did the Maya have a concept of zero?
Yes — and this was a revolutionary mathematical achievement. The Mayan shell symbol for zero is one of the earliest known explicit zero representations in any positional number system, predating the widespread use of zero in Europe by many centuries. Without a zero placeholder, positional notation does not work correctly.
How do I read a multi-position Mayan number?
Write the positions from top (most significant) to bottom (least significant). Multiply each position's digit by the corresponding power of 20 and add the products. For example, a number written as 2 in the top position and 7 in the bottom position equals 2×20 + 7×1 = 47.
Why does this converter cap at 999,999?
999,999 fits within five Mayan positions (the fifth position represents 160,000), which covers the full range of practical historical and educational examples. Larger numbers are mathematically valid but rarely encountered outside of Mayan Long Count calendar calculations, which span millions of days.
Is the Mayan system still used today?
The traditional Mayan numeral symbols are no longer used for everyday arithmetic, but they remain culturally significant and appear in art, archaeology, and education throughout Central America. Several Mayan communities preserve knowledge of the system as part of their cultural heritage, and it is widely studied in schools and universities as an example of independent mathematical innovation.