Countdown Calculator
Calculate days, weeks, and months remaining until a future event.
Enter your values and click Calculate
Enter a target event date and a starting date to instantly calculate the exact number of days, weeks, and months remaining. Whether you are counting down to a wedding, a product launch, a vacation departure, a project deadline, or a personal milestone, this calculator gives you a precise breakdown across all three time units simultaneously. Knowing you have 287 days is useful; knowing that translates to 41 weeks and 0 days makes it easier to mentally anchor on a schedule. Event planners use countdown calculators to set milestone deadlines — if a conference is 180 days away, vendors need to be confirmed by day 90, invitations sent by day 60, and final details locked down by day 14. Couples planning weddings use them to create reverse timelines from the ceremony date. Product managers use them to calculate sprint cycles remaining before a launch. Students use them to structure exam revision schedules. The calculator returns total days as the primary output, with total weeks, total months, and a weeks-plus-remaining-days breakdown, giving you multiple frames for planning the time ahead.
How It Works
Both dates are converted to UTC timestamps using Date.UTC(year, month−1, day), which returns milliseconds since January 1, 1970. The difference in milliseconds is divided by 86,400,000 (the number of milliseconds in a day) and floored to get total whole days. Total weeks is the floor of total days divided by 7. The remainder (total days mod 7) gives the leftover days after full weeks. Total months is the absolute difference in (year × 12 + month) values between the two dates, which counts calendar months regardless of day alignment. For example, from March 7, 2025 to December 31, 2026 gives a difference of (2026×12+12) − (2025×12+3) = 24312 − 24303 = 9 calendar months, while the actual day count is 664 days (94 weeks, 6 days).