Mayan Calendar Converter (Long Count, Tzolk’in, Haab’)

Quick answer

The Mayan calendar converter turns any date into the Maya Long Count, the 260-day Tzolk'in, the 365-day Haab', the Calendar Round and the Lord of the Night, and converts a Long Count back to a Gregorian and Julian date, with the GMT correlation 584283 or an alternative.

Long Count
—
Tzolk'in
—
Haab'
—
Calendar Round
—
Lord of the Night
—
Gregorian date
—
Julian calendar date
—
Julian Day Number
—
Days since the creation date
—
Calendar Round cycle
—
Next b'ak'tun ending
—

The Classic Maya kept several calendars at once. The Long Count counts days from a mythical creation date, 13.0.0.0.0 4 Ajaw 8 Kumk’u, which most scholars place on 11 August 3114 BCE in the proleptic Gregorian calendar. Its units are the k’in (day), winal (20 days), tun (360 days), k’atun (7,200 days) and bak’tun (144,000 days, about 394 years). The famous 21 December 2012 was simply the day the 13th bak’tun was completed.

Alongside it ran two cycles. The sacred Tzolk’in combines the numbers 1–13 with 20 day names to make 260 unique days, and the civil Haab’ has 18 months of 20 days plus 5 extra days called Wayeb’. Together they form the Calendar Round, which repeats every 18,980 days (52 years). A nine-day cycle of night deities, the Lords of the Night (G1–G9), was also recorded in inscriptions.

To link the Maya count to our calendar you need a correlation constant, the Julian Day Number of the creation date. The Goodman–Martínez–Thompson (GMT) value 584,283 is the standard; 584,285 and 584,286 are also used. This converter works both ways and handles BCE dates and the Julian calendar.

How to use the Mayan Calendar Converter

  1. Convert from
  2. Date
  3. Year
  4. Month (1–12)
  5. Day
  6. Era
  7. Calendar of the date
  8. Long Count (b’ak’tun.k’atun.tun.winal.k’in)
  9. Correlation constant

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

Pick a date (or type a year, month and day, including BCE years), or enter a Long Count such as 13.0.14.0.16. The date is turned into a Julian Day Number, the correlation constant is subtracted and the remainder is split into the Maya units and cycles.

Worked example

17 July 2021 has Julian Day Number 2,459,413. Subtracting 584,283 leaves n = 1,875,130 days. Dividing: 1,875,130 = 13 × 144,000 + 3,130; 3,130 = 0 × 7,200 + 8 × 360 + 250; 250 = 12 × 20 + 10. The Long Count is 13.0.8.12.10. The Tzolk’in is (n + 3) mod 13 + 1 = 1 and day name number (n + 19) mod 20 = 9 → Ok, so 1 Ok; the Haab’ position (n + 348) mod 365 = 108 = 5 × 20 + 8, i.e. 8 Xul; and (n + 8) mod 9 + 1 = 7 gives Lord of the Night G7.

Long Count units

Unit Equals Days About
K’in 1 day 1 1 day
Winal 20 k’in 20 3 weeks
Tun 18 winal 360 0.99 years
K’atun 20 tun 7,200 19.7 years
B’ak’tun 20 k’atun 144,000 394.3 years

Formula

Days since creation n = JDN − 584,283 (GMT) · Long Count = n in base 20/18/20/20 (bak'tun = 144,000, k'atun = 7,200, tun = 360, winal = 20 days) · Tzolk'in number = (n + 3) mod 13 + 1, day name = (n + 19) mod 20 · Haab' position = (n + 348) mod 365 · Lord of the Night = G((n + 8) mod 9 + 1)

Worked example

Inputs: Convert from: A date (calendar picker); Date: 2026-10-25; Correlation constant: GMT – 584,283 (standard).
Results: Long Count = 13.0.14.0.16; Tzolk'in = 3 K'ib'; Haab' = 9 Sak'; Calendar Round = 3 K'ib' 9 Sak'; Lord of the Night = G7 – Tlazolteotl; Gregorian date = Sunday, October 25, 2026.

Key terms

B'ak'tun
144,000 days (20 k'atun), about 394 years.
Tzolk'in
The 260-day ritual calendar of 13 numbers and 20 day names.
Haab'
The 365-day civil year: 18 months of 20 days and the 5-day Wayeb'.
Calendar Round
The 52-year cycle of combined Tzolk'in and Haab' dates.
Julian Day Number
A continuous count of days since 1 January 4713 BCE (Julian), used to link calendars.

Frequently asked questions

What is today's date in the Mayan calendar?

Leave the date on today. For example, 25 October 2026 is 13.0.14.0.16, 3 K'ib' 9 Sak', with Lord of the Night G7.

What happened on 21 December 2012?

The Long Count reached 13.0.0.0.0 4 Ajaw 3 K'ank'in, the end of the 13th b'ak'tun. The Maya count simply continued; the next b'ak'tun ends on 26 March 2407.

What is the GMT correlation?

The Goodman–Martínez–Thompson constant 584,283, the Julian Day Number of the Maya creation date. It is supported by radiocarbon dating and astronomical records.

How long is the Calendar Round?

18,980 days, the least common multiple of 260 and 365 (just under 52 years). The same Tzolk'in and Haab' combination then repeats.

What are the five Wayeb' days?

The unlucky final days of the 365-day Haab' after its 18 months of 20 days.

Why does the Long Count start in 3114 BCE?

It counts from the mythological creation of the current world, 13.0.0.0.0 4 Ajaw 8 Kumk'u, which is 11 August 3114 BCE (proleptic Gregorian) with the GMT correlation.

Sources

  1. Mesoamerican Long Count calendar: Wikipedia
  2. Maya calendar: Wikipedia
  3. Julian day: Wikipedia

Cite this calculator

Speedy Calculator. (2026). Mayan Calendar Converter (Long Count, Tzolk’in, Haab’). Speedy Calculator. https://speedycalculator.com/calculators/other/mayan-calendar/