What This Calculator Does
This tool counts how many days remain until Thanksgiving in the United States, which is observed on the fourth Thursday of November every year. Enter any starting date (it defaults to today) and the calculator returns the exact number of days, plus a friendly weeks-and-days breakdown and the precise Thanksgiving date for that year.
How To Use It
Leave the date as-is to count from today, or type a different year, month, and day to plan ahead. If Thanksgiving has already passed for the entered year, the calculator automatically rolls forward to next year's Thanksgiving so the answer is always a positive countdown.
The Formula Explained
US Thanksgiving is defined by a rule, not a fixed date. We start from November 1st of the target year and find the first Thursday of the month: if November 1 lands on day-of-week d (Sunday = 1 … Saturday = 7), the first Thursday is on day ((5 - d + 7) mod 7) + 1. Adding 21 days (three weeks) gives the fourth Thursday — Thanksgiving. The countdown is then the difference in milliseconds between that date and your start date, divided by 86,400,000 (the number of milliseconds in a day) and rounded to whole days.
$$\begin{gathered} \text{Days} = \frac{T_{\text{Thanksgiving}} - F_{\text{From}}}{86400000\ \text{ms/day}} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} F &= \text{date}\big(\text{Year},\ \text{Month},\ \text{Day}\big) \\ T &= \text{Nov } (21 + D_{\text{1st Thu}})\text{, } \text{Year} \\ \text{Weeks} &= \left\lfloor \text{Days} / 7 \right\rfloor,\quad \text{Rem} = \text{Days} \bmod 7 \end{aligned} \right. \end{gathered}$$
Worked Example
For the year 2024, November 1 is a Friday. The first Thursday is November 7, so the fourth Thursday is \(\text{November } 7 + 21 = \textbf{November 28, 2024}\). If you count from November 1, 2024, that is \(28 - 1 = \textbf{27}\) days until Thanksgiving.
FAQ
Is Thanksgiving always the same date? No. It always falls on the fourth Thursday of November, so the calendar date shifts between November 22 and November 28 each year.
Does this apply to Canadian Thanksgiving? No. This calculator uses the US rule. Canadian Thanksgiving is the second Monday of October.
What happens after Thanksgiving passes? The calculator automatically counts to the next year's Thanksgiving so you always get a forward-looking countdown.