Why use this calculator
Counting days by hand is deceptively easy to get wrong, because months have different lengths and leap years break the pattern every fourth year. A deadline that feels like three months away can be 89 days or 92 depending on which months it crosses, and that difference matters when a notice period, a warranty or a visa condition is measured in days rather than months.
This tool counts exactly, in both directions, so it works equally well as a countdown to something coming and as a tally since something that happened. It also converts the total into weeks, months and working days, and shows which day of the week your date falls on, which is the first thing anyone planning an event, a settlement or a delivery actually needs to know.
How to use it
- Enter the target date as three separate numbers so there is no ambiguity between the day-first and month-first conventions that cause so many date mistakes.
- Put the four-digit year in the first field, anywhere from 1900 to 2200.
- Put the month in as a number in the second field, so January is 1 and December is 12.
- Put the day of the month in the third field; if you enter a day that does not exist in that month, such as 31 April or 30 February, it is quietly pulled back to the last real day of that month rather than rolling forward into the next one.
- The result updates against today's date every time the page loads, so a countdown you bookmark stays correct.
What each result means
- Target date
- The date you entered, written out in full so you can confirm the day, month and year were read the way you intended.
- Days until
- Whole days from today to a future date, counted from midnight to midnight so the partial day you are in does not distort it.
- Days since
- Whole days from a past date to today, shown when the date you entered has already been and gone.
- Weeks
- The same gap expressed in weeks to one decimal place, which is often the more natural planning unit.
- Months
- An approximation using an average month of 30.44 days. It will not exactly match a calendar month count.
- Years
- The gap in years using 365.25 days to average out leap days, useful for anniversaries and long horizons.
- Working days (approximate)
- Monday to Friday days in the gap. Public holidays are not deducted, so treat it as an upper bound.
- Day of the week
- Which weekday the target date falls on, the first thing you need when booking a venue, a settlement or a delivery.
- Weekend?
- Whether the date lands on a Saturday or Sunday, which matters for deadlines, bank transfers and business-hours deliveries.
- Today
- The date this calculation was run against, so a bookmarked or shared result is never ambiguous about its starting point.
The formula
Days = (Target date at midnight - Today at midnight) in milliseconds / 86,400,000
A negative result means the date has passed and is shown as days since.
Weeks = Days / 7
Months = Days / 30.44, the average calendar month across a four-year leap cycle
Years = Days / 365.25, which averages out the leap day
Working days counts whole weeks times five plus the remaining weekdays, excluding Saturdays and Sundays but not public holidays.
How this number is used in practice
Contracts and legal notices are usually written in days rather than months precisely because days are unambiguous. A thirty-day notice period, a fourteen-day cooling-off period on a property contract, a twenty-one day response window on a tribunal application: each of these is counted in calendar days unless the document says business days, and the difference is substantial.
Thirty calendar days from a Friday is a Sunday, and if the deadline falls on a weekend or a public holiday most jurisdictions roll it to the next business day, which is why the day-of-the-week output matters as much as the count.
Event and project planning runs backwards rather than forwards. Weddings, conferences, product launches and house moves all have a fixed date and a chain of tasks that must finish before it, so the useful question is not how many days remain but which date is six months out, or 100 days out, or one week out.
The milestone table does exactly that, giving you a backwards schedule from the target so invitations, bookings, notice periods and final checks can be pinned to real dates rather than vague intentions.
Personal counts work the same way in reverse. Days since a start date is how sobriety counts, training logs, warranty periods, probation periods and tenancy anniversaries are tracked, and the number is often more motivating than the equivalent in months because it moves every day.
Because this calculator reads your device clock, a date that has passed automatically switches from counting down to counting up without you changing anything.
Worked examples
A countdown to Christmas Day 2026
Enter 2026, 12 and 25. Christmas Day 2026 falls on a Friday, and the day count updates every time you reload.
Counting since a past date, such as 1 January 2026
The result flips to days since and reports that 1 January 2026 was a Thursday.
A leap day, 29 February 2028
Accepted, because 2028 is a leap year. Asking for 29 February 2027 is pulled back to 28 February instead.
A deadline 30 days out that lands on a weekend
30 calendar days is about 22 working days, and the weekend flag tells you when the deadline needs rolling to the following Monday.
When people use it
- Counting down to a wedding, holiday, birthday or product launch
- Checking how many calendar and working days remain before a contract deadline
- Tracking days since a start date for a habit, training block or probation period
- Planning backwards from a fixed event date to set booking and notice milestones
- Confirming which day of the week a future settlement, delivery or appointment falls on
Tips
- Deadlines written in days almost always mean calendar days unless the document explicitly says business days, so read the clause before you rely on the weekday count.
- If a deadline lands on a weekend or public holiday, most jurisdictions roll it to the next business day. Check the weekend flag before you cut it fine.
- The working-days figure excludes Saturdays and Sundays but not public holidays, so subtract your own state or country holidays from it.
- Month counts are approximate because months are not equal. For anything legal or contractual, work in days.
- For an annual event, update the year each time rather than assuming last year's count still applies, because leap years shift the weekday.
- One hundred days is roughly fourteen weeks and a bit under three and a third months, a useful checkpoint for medium-term planning.
- Bookmark the page with your date entered and it will recount against today every time you open it.
What it assumes, and where it stops being accurate
- Dates are counted from midnight to midnight in your device's local time zone, so time of day is ignored entirely.
- Today is read from the device clock, which means the result changes daily and is only as correct as that clock.
- A month is treated as 30.44 days and a year as 365.25 days for the approximate conversions, so neither matches a calendar count exactly.
- Working days count Monday to Friday only and do not deduct public holidays, which vary by state and country.
- A day beyond the end of the target month is pulled back to the last valid day rather than rolling into the following month.
- Daylight saving transitions are handled by the date library and do not add or remove a counted day.
Terms used on this page
- Calendar day
- Any day of the week, including weekends and public holidays. The default unit for most contractual deadlines.
- Business day
- Monday to Friday excluding gazetted public holidays. Used for settlement, banking and many statutory periods.
- Leap year
- A year with 29 February, occurring every four years except century years not divisible by 400.
- Average month
- 30.44 days, being 365.25 divided by twelve. Used to convert a day count into approximate months.
Questions people ask
- How do I count the days until Christmas?
- Enter the year you want, then 12 for December and 25 for the day. The result shows the exact number of days, the equivalent in weeks and months, and the weekday Christmas falls on that year. Because the count runs against your device clock, reloading the page the next day gives you an updated figure automatically.
- Why does the result change every day?
- Because it is measured from today, which moves. This calculator is marked as time-dependent so it recalculates in your browser after the page loads rather than being frozen at whatever date the page was built. That is why a bookmarked countdown stays accurate instead of quietly going stale.
- How do I count business days instead of calendar days?
- The working days result already excludes Saturdays and Sundays. It does not know about public holidays, which differ by state and country, so subtract those yourself from the official list for your jurisdiction. As a quick estimate, calendar days multiplied by five sevenths gets you close for any period longer than a couple of weeks.
- What is the difference between calendar days and business days?
- Calendar days count every day including weekends and public holidays. Business days count only Monday to Friday and normally exclude gazetted public holidays. Legal and financial deadlines specify which applies, and the gap widens quickly: thirty calendar days is about twenty-two business days, which is more than a week of difference.
- Why do the month and year figures look slightly off?
- Because months and years are not uniform. This calculator divides by an average month of 30.44 days and an average year of 365.25 days, which is the only way to convert a fixed day count into those units. A true calendar-month count between two specific dates can differ by a day or two, so use days for anything that matters.
- What happens if I enter a date that does not exist?
- It is corrected rather than rejected. Asking for 31 April gives you 30 April, and 29 February in a non-leap year gives you 28 February, with a note explaining the adjustment. This avoids the common programming behaviour of rolling forward into the next month, which silently produces an answer a day or two out.
Use this with
Days Until Calculator answers one part of the question. These pick up where it stops: Date Calculator, Age Calculator, Hours Calculator and Pregnancy Due Date Calculator.
Where these figures come from
This calculation is jurisdiction-neutral arithmetic. No country-specific rules are applied.
- ISO 8601 date and time format. International standard for unambiguous date representation
- UK Government: Bank holidays. Official public holiday dates for England, Wales, Scotland and Northern Ireland
- NIST Time and Frequency Division. Authoritative timekeeping, leap seconds and civil time
Days Until Calculator produces an estimate for general information. It is not financial, tax, medical, legal or engineering advice. read the full disclaimer. Spotted a wrong number? Report it and it gets fixed. The form picks up this calculator and the inputs you used.