Mayan Mathematics

Gabrielle Birchak/ June 3, 2025/ Ancient History/ 0 comments

By Alfred Per­ci­val Maud­slay — https://en.wikisource.org/wiki/Page:A_Glimpse_at_Guatemala.pdf/392, Pub­lic Domain, https://commons.wikimedia.org/w/index.php?curid=94155551

Today, we’re trav­el­ing back more than a thou­sand years to explore a remark­able math­e­mat­i­cal sys­tem devel­oped deep in the jun­gles of Mesoamer­i­ca. Before cal­cu­lus, before New­ton, before Europe ful­ly embraced the idea of zero, there was the Maya. Their num­ber sys­tem, cal­en­dar, and under­stand­ing of zero rivaled and in some ways exceed­ed their con­tem­po­raries around the world. We’re talk­ing about Mayan Math­e­mat­ics. We’ll explore how their base-20 sys­tem worked, how zero was con­cep­tu­al­ized cen­turies before it became main­stream, and how mod­ern schol­ars like Ernst Förste­mann helped us redis­cov­er this knowl­edge. We are going to decode the bril­liance of the Maya, one dot, bar, and shell at a time.

By Pres­i­den­cia de Guatemala — https://www.flickr.com/photos/75626679@N07/53306559565/, Pub­lic Domain, https://commons.wikimedia.org/w/index.php?curid=140352147

The Maya, Masters of Time and the Cosmos

The Maya civ­i­liza­tion thrived in what is now south­east­ern Mex­i­co, all of Guatemala and Belize, and parts of Hon­duras and El Sal­vador. At its peak, from rough­ly 250 to 900 CE, known as the Clas­sic Peri­od, the Maya devel­oped intri­cate city-states like Tikal, Palenque, Copán, and Chichén Itzá. These were not only polit­i­cal and eco­nom­ic cen­ters, but also cul­tur­al and sci­en­tif­ic hubs, brim­ming with arti­sans, priests, archi­tects, and astronomers.

From these jun­gle metrop­o­lis­es, the Maya observed the skies with aston­ish­ing ded­i­ca­tion. They tracked solar cycles, lunar eclipses, and the move­ments of Venus and Mars. Time was­n’t just mea­sured, it was revered. Every rit­u­al, har­vest, and polit­i­cal event was synced with the cos­mos. Their con­cept of time was cycli­cal, not lin­ear, and that cycli­cal rhythm formed the very back­bone of their cul­ture. The past, present, and future all echoed one anoth­er through cal­en­dar cycles.

To make sense of these vast cycles, some last­ing thou­sands of years, the Maya need­ed math­e­mat­ics. But not just tal­ly marks or trade-based count­ing. They need­ed a sys­tem that could mea­sure not only the num­ber of cacao beans in a bag, but the num­ber of days since the cre­ation of the world.

So they built cal­en­dars that could do both. Their tem­ples and pyra­mids weren’t just reli­gious struc­tures, they were astro­nom­i­cal instru­ments. At Chichén Itzá, the famous pyra­mid of El Castil­lo casts a ser­pent-like shad­ow dur­ing the equinox­es. At Uxmal, build­ings are ori­ent­ed with the ris­ing and set­ting of Venus, which was cen­tral to both war­fare and prophe­cy. These align­ments weren’t acci­den­tal. They were delib­er­ate, math-dri­ven expres­sions of cos­mol­o­gy in stone.

But to accom­plish this, the Maya need­ed a num­ber sys­tem that could han­dle immense time spans and cycli­cal log­ic. They need­ed more than count­ing, they need­ed struc­ture, scale, and zero.

The Vigesimal System – Base 20

Unlike our base-10 dec­i­mal sys­tem, which like­ly stems from count­ing on ten fin­gers, the Maya used a base-20, or viges­i­mal, sys­tem. Why base-20? One the­o­ry sug­gests they count­ed on both fin­gers and toes. Anoth­er sug­gests the base-20 sys­tem could more eas­i­ly accom­mo­date com­plex cal­en­dar math.

In the Mayan system:

The num­bers 0 through 19 are the build­ing blocks.

The num­ber 20 is like our 10; it starts a new posi­tion­al level.

400 is 20×20; 8,000 is 20×20×20, and so on.

Each posi­tion increas­es by pow­ers of 20, except in the cal­en­dar sys­tem, which we’ll get to later.

The genius of this sys­tem is its posi­tion­al struc­ture. Just like in our own dec­i­mal sys­tem where the dig­it “3” means some­thing dif­fer­ent in 30 vs. 300, the posi­tion of sym­bols in the Mayan sys­tem changes their value.

The Maya man­aged large-scale cal­cu­la­tions with extra­or­di­nary econ­o­my of space. For exam­ple, a large num­ber like 2,482 in Mayan numer­als would be rep­re­sent­ed with just a few glyphs across three levels.

The Symbols: Dots, Bars, and Shells

The Maya had a beau­ti­ful­ly sim­ple way of rep­re­sent­ing numbers:

A dot (•) = 1

A bar (,) = 5

A shell = 0

So:

1 = •

5 = ,

6 = , •

10 = , ,

13 = , , •••

20 = new place val­ue (sec­ond lev­el up)

By cir­ca 1200 — Unknown source; file orig­i­nal­ly uploaded to the Pol­ish-lan­guage Wikipedia by Adamt, Pub­lic Domain, https://commons.wikimedia.org/w/index.php?curid=1900230

The Mayan num­ber sys­tem was ver­ti­cal in struc­ture, a strik­ing con­trast to the hor­i­zon­tal lay­out we’re used to in mod­ern numer­als. Think of it as a lay­ered stack, where each lev­el holds a spe­cif­ic val­ue based on pow­ers of 20. At the bot­tom lev­el is the units place, rep­re­sent­ing 1s. The next lev­el up is the 20s place, that’s 20 times the val­ue below. Above that is the 400s place (20 × 20), then the 8,000s place (20 × 20 × 20), and so on.

Let’s look at an example:

Imag­ine a ver­ti­cal stack with:

2 dots at the third lev­el → that’s 2 × 400 = 800

1 dot at the sec­ond lev­el → 1 × 20 = 20

3 dots at the bot­tom → 3 × 1 = 3

Alto­geth­er, this num­ber equals 823. That’s it, just three glyphs, neat­ly stacked. No sep­a­rate sym­bols for hun­dreds or thou­sands. Just dots, bars, and shells arranged in ver­ti­cal layers.

What makes this sys­tem so ele­gant is that it’s posi­tion­al and expo­nen­tial, like our own base-10 sys­tem. A dot in one lev­el doesn’t car­ry the same val­ue as a dot in anoth­er. This allowed the Maya to write large, com­plex num­bers effi­cient­ly and com­pact­ly, a neces­si­ty when carv­ing into stone or paint­ing on del­i­cate codex pages.

But this wasn’t just about math­e­mat­ics, it was about meaning.

Mayan num­bers weren’t hid­den in ledgers or buried in cal­cu­la­tions. They were proud­ly and artis­ti­cal­ly dis­played on tem­ple steps, ste­lae, ceram­ic ves­sels, and city walls. On pub­lic mon­u­ments, large dates from the Long Count cal­en­dar were record­ed in these ver­ti­cal stacks of glyphs, often sur­round­ed by images of kings, gods, or cos­mic sym­bols. They gave weight to polit­i­cal pow­er and reli­gious legit­i­ma­cy by anchor­ing a ruler’s deeds with­in the con­text of time and celes­tial order.

Even with­in sacred texts like the Dres­den Codex, the numer­i­cal stacks served not just to track astro­nom­i­cal events but to guide rit­u­als, fore­cast eclipses, and cal­cu­late offer­ings. The glyphs were ren­dered with such care that num­bers them­selves became aes­thet­ic and spir­i­tu­al elements.

The ver­ti­cal for­mat wasn’t just a style, it reflect­ed the Mayan world­view, where time, space, and hier­ar­chy were expe­ri­enced in lay­ers. Just as their pyra­mids rose in stacked plat­forms toward the sky, so too did their num­bers build mean­ing upward. Math wasn’t only func­tion­al. It was visu­al, rit­u­al­is­tic, and cosmic.

The Invention of Zero

One of the Maya’s most extra­or­di­nary con­tri­bu­tions to the world of math is their ear­ly use of zero.

Zero was not mere­ly a place­hold­er in Mayan math, it was treat­ed as a full dig­it. They rep­re­sent­ed it with a shell-like glyph. This allowed them to express quan­ti­ties with place val­ue clear­ly, such as 20 (1 in the sec­ond lev­el and 0 in the base) or 400 (1 in the third lev­el, 0 in the sec­ond, 0 in the base).

While zero was also inde­pen­dent­ly devel­oped in ancient India, the Maya were one of the ear­li­est civ­i­liza­tions to use zero in a posi­tion­al sys­tem, dat­ing at least to the 4th cen­tu­ry CE. This gave them a func­tion­al edge over many ancient cul­tures that lacked such a concept.

His­to­ri­an Georges Ifrah calls the Mayan use of zero “one of the most strik­ing inven­tions ever to emerge in a math­e­mat­i­cal cul­ture iso­lat­ed from the Old World.”

Timekeepers of the Universe – Calendars and Astronomy

The Maya devel­oped mul­ti­ple calendars:

By Lacam­bal­am — Own work, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=35577671

Tzolk’in: A 260-day rit­u­al calendar

Haab’: A 365-day solar calendar

CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=1034946

Long Count: Used to track vast his­tor­i­cal and mytho­log­i­cal spans of time

The Long Count is espe­cial­ly inter­est­ing from a math­e­mat­i­cal per­spec­tive. It used a mod­i­fied viges­i­mal system:

1 kin = 1 day

1 uinal = 20 days

1 tun = 18 uinals = 360 days

1 katun = 20 tuns = 7,200 days

1 bak­tun = 20 katuns = 144,000 days

Why did they use 18 instead of 20 for the tun? Like­ly to approx­i­mate the solar year (360 + 5 extra days = 365).

This cal­en­dar allowed them to date events thou­sands of years in the past and future. The famous 13.0.0.0.0 Long Count date cor­re­sponds to Decem­ber 21, 2012, not the end of the world, just the end of a great cycle. It marked the com­ple­tion of 5,125 years since their mytho­log­i­cal cre­ation date of 3114 BCE.

Their cal­en­dars were tied to astron­o­my, par­tic­u­lar­ly the cycles of Venus. The Maya tracked Venus’s syn­od­ic peri­od of 584 days with extra­or­di­nary pre­ci­sion, enough to cre­ate eclipse-pre­dic­tion tables. Their astro­nom­i­cal obser­va­to­ries, such as those at Copán and Uxmal, aligned with celes­tial events.

Mayan Math in Daily Life

Math wasn’t just for the stars and pyra­mids. The Maya used it in trade, archi­tec­ture, tax­a­tion, and agri­cul­ture. Their mar­ket­places func­tioned with cur­ren­cy-like cacao beans, obsid­i­an blades, and woven textiles.

Their irri­ga­tion and plant­i­ng sys­tems required cal­cu­lat­ing sea­son­al cycles, rain­fall expec­ta­tions, and field rota­tions. Mar­kets need­ed pric­ing sys­tems. Trib­ute records were record­ed with clear numer­ic glyphs on mon­u­ments, murals, and codices.

For exam­ple, murals at Bonam­pak show trib­ute lists using dots and bars to rep­re­sent pay­ments in cloth, food, or cacao.

Math­e­mat­ics was woven into the social and polit­i­cal fab­ric, too. Rulers often claimed their author­i­ty through grand cal­en­dar-based inscrip­tions, sit­u­at­ing them­selves in cos­mic cycles as divine actors.

Discovery of the Dresden Codex

The Dres­den Codex is not just a book, it’s a time cap­sule. It is the most com­plete and best-pre­served of the four sur­viv­ing Maya codices, and it’s noth­ing short of a mir­a­cle that it still exists. Hand­made from amatl, a type of bark paper, and paint­ed with vivid nat­ur­al pig­ments, the codex is fold­ed accor­dion-style into 39 dou­ble-sided pages. When unfold­ed, it stretch­es over 3.5 meters (about 11.5 feet) long.

Schol­ars believe it was cre­at­ed in the Post­clas­sic Peri­od, like­ly between the 11th and 13th cen­turies CE, though its con­tents almost cer­tain­ly draw from math­e­mat­i­cal and astro­nom­i­cal knowl­edge hand­ed down from the Clas­sic Peri­od (250–900 CE). The scribe who com­posed the Dres­den Codex was not just a writer but a math­e­mati­cian, astronomer, and rit­u­al spe­cial­ist, per­haps even a priest.

Its pages are filled with tables pre­dict­ing eclipses, charts track­ing the syn­od­ic cycle of Venus, cal­en­dar cal­cu­la­tions, and rit­u­al sched­ules. There are gods, ser­pents, and sym­bols of fire, maize, and rain, each con­nect­ed to a moment in time and a math­e­mat­i­cal val­ue. What makes the codex tru­ly remark­able is that it weaves math­e­mat­i­cal pre­ci­sion with spir­i­tu­al cosmology.

But how did this ancient Mesoamer­i­can man­u­script end up in Sax­ony, Germany?

The exact chain of cus­tody is lost to time, but it like­ly came to Europe dur­ing the ear­ly 1700s, per­haps tak­en from the Yucatán Penin­su­la by a Span­ish colo­nial offi­cial, mer­chant, or mis­sion­ary. It even­tu­al­ly entered the col­lec­tion of Johann Chris­t­ian Götze, a the­olo­gian and librar­i­an, who facil­i­tat­ed its acqui­si­tion by the Roy­al Library in Dres­den in 1739. At the time, it was admired for its exot­ic art­work and the nov­el­ty of its unknown script, but its con­tent remained a mystery.

For over a cen­tu­ry, the codex sat large­ly mis­un­der­stood. Euro­pean schol­ars in the 18th and ear­ly 19th cen­turies had no frame of ref­er­ence for its com­plex glyphs and numer­ic tables. Some believed it was sim­ply an astro­log­i­cal almanac. Oth­ers assumed it was a work of mythol­o­gy or fic­tion. Its pages were stud­ied more as art than as a sci­en­tif­ic or math­e­mat­i­cal record.

That began to change in the late 19th cen­tu­ry, thanks to the efforts of a Ger­man schol­ar named Ernst Förste­mann, the librar­i­an who would become the first per­son to unlock the math­e­mat­i­cal sys­tem of the codex. Förste­mann dis­cov­ered that the dots and bars weren’t dec­o­ra­tions, they were num­bers. He real­ized that the codex con­tained base-20 cal­cu­la­tions, tables of Venus’s posi­tion in the sky, and pre­cise cal­en­dri­cal cycles stretch­ing thou­sands of years.

By Julius Scholtz — SLUB Dres­den, Pub­lic Domain, https://commons.wikimedia.org/w/index.php?curid=99469340

Ernst Förstemann: Decipherer of Mayan Math

Ernst Förste­mann (1822–1906), a Ger­man his­to­ri­an, librar­i­an, and philol­o­gist, became the chief librar­i­an at the Roy­al Library in Dres­den. In the late 1800s, he began close­ly exam­in­ing the Dres­den Codex.

Förste­man­n’s great break­through came when he real­ized that the repet­i­tive sym­bols weren’t dec­o­ra­tions or astro­log­i­cal sym­bols but num­bers, writ­ten in dots and bars, struc­tured ver­ti­cal­ly. He rec­og­nized the base-20 sys­tem and saw how dates and astro­nom­i­cal inter­vals relat­ed to real celes­tial events.

Most cru­cial­ly, he iden­ti­fied the shell glyph as a true zero, not a dec­o­ra­tive flour­ish, but a num­ber. This was ground­break­ing. It was the first time a Euro­pean schol­ar had acknowl­edged the depth of Mayan numer­i­cal sophistication.

In 1901, he pub­lished his sem­i­nal work: Com­men­tary on the Maya Man­u­script in the Roy­al Pub­lic Library of Dres­den, which mapped out the struc­ture of the Long Count cal­en­dar and many of the astro­nom­i­cal tables, espe­cial­ly those relat­ed to Venus.

His analy­sis laid the ground­work for mod­ern Mayan math­e­mat­ics scholarship.

But the codex’s jour­ney didn’t end there.

Dur­ing World War II, the city of Dres­den was heav­i­ly bombed in 1945 by Allied forces. The Roy­al Library, and much of the his­toric city, was dev­as­tat­ed. The Dres­den Codex, stored at the time in fire­proof archives, sur­vived the bomb­ings but suf­fered water dam­age from fire­fight­ing efforts. Some pig­ment was blurred, and a few sec­tions were near­ly lost. But remark­ably, the major­i­ty of the codex remained intact.

Today, it is one of the crown jew­els of the Sax­on State and Uni­ver­si­ty Library (SLUB) in Dres­den. It has been ful­ly dig­i­tized and made freely acces­si­ble online, offer­ing schol­ars, teach­ers, stu­dents, and the pub­lic a chance to engage direct­ly with one of the great­est sur­viv­ing records of Maya sci­en­tif­ic thought.

20th Century Breakthroughs in Decipherment

Fol­low­ing Förstemann’s work, inter­est in the Maya grew. But it wasn’t until the mid-20th cen­tu­ry that Mayan epig­ra­phy took off:

Tatiana Prosk­ouri­akoff demon­strat­ed that ste­lae were not just mytho­log­i­cal, they were his­tor­i­cal records.

Yuri Knoro­zov, a Russ­ian lin­guist, showed that Mayan glyphs were pho­net­ic, not ideo­graph­ic as long assumed.

David Stu­art, start­ing as a prodi­gious teenag­er, cracked dozens of glyphs, tying them to real names, dates, and dynasties.

These break­throughs con­nect­ed Mayan math not just to astron­o­my but to lan­guage, dynas­tic his­to­ry, and rit­u­al life. Today, both Indige­nous and aca­d­e­m­ic schol­ars work togeth­er to decode and revive this rich heritage.

Why Mayan Math Matters Today

Mayan math­e­mat­ics offers a par­al­lel devel­op­ment to clas­si­cal tra­di­tions, demon­strat­ing that com­plex sys­tems can arise inde­pen­dent­ly. It chal­lenges the Euro­cen­tric time­line of math­e­mat­i­cal progress.

Their inno­va­tions in zero, place val­ue, and base-20 log­ic reflect a pro­found under­stand­ing of time and space. Redis­cov­er­ing this knowl­edge not only hon­ors Indige­nous intel­lec­tu­al her­itage but also reframes how we think about the his­to­ry of mathematics.

By pre­serv­ing and cel­e­brat­ing Mayan math, we gain more than num­bers, we gain insight into a world­view that saw math as sacred, cycli­cal, and woven into the struc­ture of the universe.

The Maya didn’t just do math­e­mat­ics, they lived it. It was carved into stone, paint­ed into sacred books, echoed in tem­ple align­ments, and inscribed into the very rhythm of dai­ly life. Their math was not abstract and detached; it was sen­so­ry, celes­tial, and sacred. To study Mayan math­e­mat­ics is to step into a civ­i­liza­tion where num­bers had per­son­al­i­ties, cal­en­dars had souls, and time itself was a liv­ing, breath­ing force. In rec­og­niz­ing the lega­cy of Mayan math­e­mat­i­cal genius, we’re not mere­ly fill­ing a gap in the his­tor­i­cal record, we’re expand­ing the map of human imag­i­na­tion. We’re remem­ber­ing that there are many ways to under­stand the uni­verse, and the Maya, through their shells, dots, bars, and stars, offered us one of the most beautiful.

Some of the fol­low­ing sources are affil­i­ate links:

Ifrah, Georges. The Uni­ver­sal His­to­ry of Num­bers. Wiley, 2000.

Coe, Michael D. and Hous­ton, Stephen. The Maya, 9th Edi­tion. Thames & Hud­son, 2015.

Förste­mann, Ernst. Com­men­tary on the Maya Man­u­script in the Roy­al Pub­lic Library of Dres­den, 1901.

The Dres­den Codex, the great Maya book of the stars, By Car­los Rosa­do van der Gracht. Yucatan Magazine. 

SLUB Dres­den Dig­i­tal Col­lec­tion: https://digital.slub-dresden.de/werkansicht/dlf/29691/1

Share this Post

Leave a Comment