Days Until Thanksgiving
Calculate how many days remain until Thanksgiving.
🧮
Enter your values and click Calculate
How It Works
The getThanksgiving function creates a Date object for November 1st of the given year (month index 10 in JavaScript). It reads that day's day-of-week (0 = Sunday through 6 = Saturday). The offset to the first Thursday is (4 − dayOfWeek + 7) % 7, ensuring a non-negative result. Adding that offset plus 21 days (three full weeks) to November 1st lands on the fourth Thursday. If today has already passed that date, the function is called again for the following year. The millisecond difference is divided by 86,400,000 and rounded up with Math.ceil.
Examples
Early November
Running the calculator on November 1st.
Result: Shows roughly 21–27 days until Thanksgiving depending on the year.
Day After Thanksgiving
Running the calculator on Black Friday.
Result: Shows approximately 364 days until the next Thanksgiving.
Summer Planning
Running the calculator on July 4th.
Result: Shows approximately 140–146 days until Thanksgiving depending on the year.
Frequently Asked Questions
Why does Thanksgiving change dates every year?
Thanksgiving is defined as the fourth Thursday of November — not a fixed calendar date — so the actual date shifts between November 22nd and November 28th depending on which day of the week November 1st falls.
Is this for US Thanksgiving?
Yes. This calculator uses the US Thanksgiving date (fourth Thursday of November). Canadian Thanksgiving falls on the second Monday of October and is not covered by this calculator.
Can I use this to time my holiday travel?
Yes. Knowing the exact number of days until Thanksgiving helps you time flight purchases, which are typically cheapest when bought six to eight weeks before the holiday. The day count also helps you plan grocery orders and confirm travel leave with employers.