Day Calculator
Find the exact number of days between any two dates. Calculate calendar days, working days, or even how many days until a future event.
How to Calculate Days Between Two Dates
Calculating the number of days between two dates is one of the most common date-related tasks โ whether you're tracking a project deadline, figuring out how long until a vacation, calculating someone's age, or determining payment terms in a contract.
Our day calculator does this instantly and accurately, supporting both calendar days (all 7 days of the week) and working days (Monday to Friday only, excluding weekends).
Formula: Days Between Two Dates
The calculation is straightforward: Days = (End Date โ Start Date) in milliseconds รท 86,400,000 (milliseconds per day). Our tool uses JavaScript Date objects, which correctly handle leap years, month lengths, and daylight saving time transitions.
Common Use Cases
- Age in days: Use your birthdate as the start date and today as the end date to find exactly how many days old you are.
- Project timelines: Calculate working days between project start and deadline to schedule tasks accurately.
- Payment terms: "Net 30" contracts require counting exactly 30 calendar days from an invoice date.
- Days until an event: Enter today as start date and the event date as end date to find the countdown in days.
- Lease and contract durations: Calculate the exact length of a rental period or contract in days.