Date Calculator: Days Between Dates, Add or Subtract Days
This date calculator does the three date jobs people need most, in three tabs. Count the exact days between two dates (January 1, 2026 to December 31, 2026 is 364 days). Add or subtract days from any date (January 31, 2026 plus 30 days lands on Monday, March 2, 2026). Or find the day of the week for any date (November 19, 2026 is a Thursday). Every result comes with weekday details and unit breakdowns, and leap years are counted automatically.
The Three Calculations
- Days Between. Converts both dates to a day count and subtracts. The result is the number of full days elapsed between the two dates, shown with weeks, hours and minutes, plus a note if the range contains a February 29.
- Add or Subtract Days. Shifts a base date forward or backward by any number of days – negative numbers move into the past. Month ends and leap days are crossed correctly because the shift happens on the calendar, not on a fixed 30-day month.
- Day of the Week. Reports the weekday for any date, with its ISO format and Unix timestamp alongside.
How to Use This Date Calculator
- Pick a tab. Days Between, Add or Subtract, or Day of the Week.
- Enter your dates. Two dates for the difference, one date plus a day count for shifting, or a single date for the weekday.
- Calculate. Results appear with the weekday of each date and breakdowns in other units.
- Check the error messages. If the end date falls before the start date, the calculator tells you instead of returning a negative count.
Worked Example: One Date, Three Answers
- Days between: January 1, 2026 and December 31, 2026 are 364 days apart – and both dates are Thursdays.
- Add days: January 31, 2026 plus 30 days is March 2, 2026. February 2026 has only 28 days, so the count runs through February and lands two days into March – a Monday.
- Day of the week: November 19, 2026 falls on a Thursday.
For a dedicated counter with a fuller breakdown, use the days between dates calculator. Weekdays on their own live on the day of the week calculator, ages on the age calculator, and everything date-related is gathered on the time and date calculators hub.
Date Calculator
Perform various date calculations with ease
Date Math at a Glance
Three real calculations from this page, verified against the calendar. Use them to sanity-check your own results – if your inputs match, your outputs should too.
| Calculation | Inputs | Result |
|---|---|---|
| Days between | January 1, 2026 to December 31, 2026 | 364 days (52.00 weeks, 8,736 hours) |
| Add days | January 31, 2026 + 30 days | March 2, 2026 – a Monday |
| Subtract days | October 1, 2026 – 45 days | August 17, 2026 – a Monday |
| Day of the week | November 19, 2026 | Thursday |
| Days between (leap year) | January 1, 2024 to January 1, 2025 | 366 days, including February 29, 2024 |
Frequently Asked Questions
Does the day count include both the start and end dates?
No – it counts full days elapsed between the two dates, the standard convention. January 1 to January 2 is 1 day, not 2. If you need an inclusive count for a booking or rental, add 1 to the result.
How are leap years handled?
Automatically. The count runs on real calendar dates, so a range covering February 29 includes that extra day, and the results panel flags how many leap days your range contains.
Can I subtract days as well as add them?
Yes. In the Add or Subtract tab, enter a negative number of days to move backwards – for example, -45 from October 1, 2026 gives August 17, 2026.
Why does the calculator refuse an end date before the start date?
A negative day count is almost always a sign the dates were entered in the wrong order. Swap them and calculate again – the size of the gap is the same either way.
Weekdays and day counts on this page follow the Gregorian calendar. The subtract example above was checked by hand: October 1, 2026 minus 45 days is August 17, 2026.
Date Calculation Formula
The calculator converts each calendar date to a day count and computes the difference:
Days Between = Day Number(End Date) – Day Number(Start Date)
- Day Number = days elapsed since a fixed reference date
- Leap years = years divisible by 4, except century years not divisible by 400
- Add/Subtract = base date shifted forward or backward by N days
- Day of Week = remainder of the day number divided by 7
Worked Examples
Example 1: Days Until New Year
From September 30, 2026 to January 1, 2027 is 93 days – useful for countdowns and planning deadlines.
Example 2: Project Deadline
Adding 45 days to October 1, 2026 gives November 15, 2026. The Day of Week tab shows it falls on a Sunday – handy for scheduling.
Frequently Asked Questions
How do I calculate days between two dates?
Enter a start date and an end date in the Days Between tab. The calculator returns the total days plus breakdowns in weeks, months, years, hours, and minutes, and notes leap years in the range.
Does the calculator account for leap years?
Yes. Leap years (divisible by 4, except century years not divisible by 400) are automatically included, and the results flag when the range contains a leap year.
How do I find the day of the week for a date?
Use the Day of Week tab, pick any date, and the calculator shows the weekday along with the ISO format and related details – great for birthdays, anniversaries, and historical dates.
S
Shahnawaz
Shahnawaz is the founder of DaProfitClub, a free online platform offering 100+ calculators and converters for finance, health, math, and everyday life. With a background in finance and mathematics, he designs accurate, easy-to-use tools.
Sources
- U.S. Naval Observatory – Astronomical calendar data
- National Institute of Standards and Technology (NIST) – Time and date standards
- timeanddate.com – Date calculation references