Date calculator: how to count days between dates accurately

How to calculate the number of days between two dates
Counting the number of days between two dates is one of the most common date calculations people need — whether for tracking project deadlines, counting pregnancy weeks, planning events, or calculating age. While you can count on a calendar, a date calculator gives you an instant, accurate result without manual counting errors.
The simplest approach: use our days between dates calculator. Enter your start date and end date, and you'll get the exact number of calendar days, weeks, and months between them — no math required.
Why manual date counting goes wrong
People make predictable errors when counting dates manually:
The fence post error. When counting from January 1 to January 10, is the answer 9 or 10? It depends on whether you're counting the end date. Most date calculators (including ours) exclude the start date and include the end date — so January 1 to January 10 equals 9 days. But people often make this off-by-one error.
Month length variations. February has 28 days (29 in leap years), April has 30, March has 31. When counting across month boundaries, it's easy to lose track. A date difference calculator handles this automatically.
Leap year confusion. Leap years occur every 4 years, except for century years not divisible by 400. So 2000 was a leap year, but 1900 was not, and 2100 will not be. Most people forget these exceptions. Our add days to date calculator accounts for leap years automatically.
Types of date calculations
Adding or subtracting days from a date
"What date is 90 days from today?" is a surprisingly common question. It comes up for legal deadlines, return windows, probation periods, medical follow-ups, and visa validity.
Use our add days to date calculator or subtract days from date calculator. Enter your starting date and the number of days, and get the result instantly.
For common timeframes, we also have dedicated pages:
- 30 days from today
- 60 days from today
- 90 days from today
- 180 days from today
Days between two dates
Need to know exactly how many days between two dates? Our days between dates calculator gives you the result in calendar days, weeks, and months. It works for past dates (how long ago was something?) and future dates (how many days until an event?).
For specific event countdowns, try our holiday countdowns — we track the days until major holidays automatically.
Business days between two dates
Not all days are created equal when it comes to work deadlines. Our business days calculator counts only Monday through Friday, excluding weekends. This is essential for:
- Legal deadlines (many are specified in "business days")
- Shipping estimates
- Project planning
- HR calculations (notice periods, PTO accruals)
Note that our business days calculator doesn't automatically exclude federal holidays — those vary by employer and jurisdiction.
Date difference in multiple units
Sometimes you need the difference expressed in years, months, and days rather than a flat day count. Our date difference calculator breaks down the gap into these components. For example, from March 15, 2024, to February 20, 2026 is 1 year, 11 months, and 5 days.
This is particularly useful for calculating age. Speaking of which, our how old am I calculator does exactly this — enter your birth year and get your exact age in years, months, and days, along with your generation, milestone birthdays, and fun facts.
What day of the week is a date?
"What day of the week was I born?" or "What day is December 25 this year?" — our weekday calculator answers these instantly. It works for any date, past or future.
For monthly planning, check our 2026 calendar which shows the day of the week for every date.
Practical use cases for date calculations
Pregnancy and due date calculation
Pregnancy due dates are calculated as 280 days (40 weeks) from the first day of the last menstrual period (LMP). Our due date calculator handles both LMP-based calculation and IVF due date calculation, which adjusts based on whether the embryo transfer was Day 3 or Day 5.
Lease and contract calculations
"My lease starts April 1 and runs for 6 months — when does it end?" Use the add days calculator with 183 days, or calculate the exact end date manually: September 30. For complex multi-year calculations, the calculator eliminates errors from leap years and varying month lengths.
Age verification
Many legal thresholds are based on exact age: driving at 16, voting at 18, drinking at 21, retirement at 65. Our how old am I calculator computes exact age from any birth year. For a specific year, try pages like born in 1990 or born in 2000.
Project management
How many working days do you have to complete a project? The business days calculator gives you the exact count. For a project starting today with a 60-day deadline, check 60 days from today.
Travel planning
Counting days between booking and departure, visa validity windows, or the number of travel days in your itinerary. Use the days between dates calculator for any of these.
How dates work in calendars
Our modern Gregorian calendar was introduced by Pope Gregory XIII in 1582 to correct a 10-day drift that had accumulated in the older Julian calendar. The key innovation was the leap year rule: a year is a leap year if divisible by 4, unless it's divisible by 100 — but years divisible by 400 are still leap years.
This means:
- 2024 is a leap year (divisible by 4)
- 2100 is NOT a leap year (divisible by 100 but not 400)
- 2000 WAS a leap year (divisible by 400)
The Gregorian calendar is accurate to within one day per 3,236 years. You can explore any month in detail with our calendar, which includes holidays, week numbers, and day counts.
How weeks are counted
A calendar week starts on either Sunday or Monday, depending on your convention. The ISO 8601 standard (used in most of the world) defines Monday as the first day of the week. The US traditionally uses Sunday.
"Weeks from today" calculations are straightforward — just multiply by 7. Check our pages for:
- 1 week from today
- 2 weeks from today
- 4 weeks from today
Our weeks between dates calculator can also tell you the exact number of weeks (and remaining days) between any two dates.
Frequently asked questions
How many days are in a year?
A common year has 365 days. A leap year has 366. The average year length in the Gregorian calendar is 365.2425 days. For detailed time conversions, see our page on how many hours in a year.
How do I calculate my exact age?
Use our how old am I calculator. Enter your birth year and get your precise age in years, months, and days, plus fun facts about your generation and milestone birthdays.
What is 90 days from today?
Check our 90 days from today page for the exact date, updated daily.
How many business days are in a month?
Typically 20-23 business days, depending on the month and where weekends fall. Use our business days calculator for exact counts between any two dates.
How accurate are online date calculators?
Our date calculators account for leap years, varying month lengths, and all Gregorian calendar rules. They're accurate for any date from year 1 onward. All calculations happen instantly in your browser — no server requests needed.
Try it free
Date Calculator
Builds tools that get used. Founded Timerjoy after a frustrated search for an ad-free online timer. More about the project.


