Date Calculator
Last Updated:
Calculate exactly how many days, weeks, months, and years are between any two dates. Includes working days.
Days Between Dates
0 days
📐 Formula
Days Between = |Date2 − Date1| ÷ 86,400,000 milliseconds. Working days ≈ Total days × (5/7)
How to Use the Date Calculator
Choose calculation type
Select 'Days between dates' to find the gap between two dates, or 'Add/subtract days' to find a date that is a specific number of days from a starting point.
Enter the start and end dates
Input dates using the date picker. For legal or contract deadlines, verify whether the start date itself counts as day 0 or day 1 — this varies by jurisdiction and contract.
Toggle calendar vs business days
Business days (Monday–Friday, excluding weekends) are used for legal deadlines, contract terms, and financial settlements. Calendar days count every day including weekends and holidays.
Note the day of the week
The result includes the weekday name — useful when scheduling around weekends or when a deadline falls on a holiday.
How Date Calculations Work
Every date corresponds to a Julian Day Number — a continuous count of days since January 1, 4713 BC. Computers subtract two Julian Day Numbers to find the exact number of days between dates, handling leap years, varying month lengths, and calendar reforms automatically. A leap year occurs every 4 years (with exceptions: century years must also be divisible by 400 — 2000 was a leap year; 1900 was not).
Business Day Calculations: Why They Differ
Legal and financial contexts frequently specify business days rather than calendar days. A 30-business-day deadline is approximately 6 calendar weeks — but the exact end date depends on which weekdays fall within the range. Most US legal rules exclude weekends but do not automatically exclude federal holidays; whether a holiday counts depends on the specific rule or contract. The Federal Rules of Civil Procedure (Rule 6) define a business day as any day that is not Saturday, Sunday, or a federal legal holiday. When accuracy matters, verify the applicable rule and consider which holidays fall within the period.
Common Date Calculation Use Cases
Contract expiry and notice periods; court filing deadlines; age verification for legal purposes (e.g. is this person 18 today?); project timelines and milestone planning; warranty and insurance policy durations; payroll and billing cycles; calculating days until an event; and determining how many days of a lease or subscription have elapsed. For legal matters, always confirm the counting method — inclusive vs exclusive of the start date, and calendar vs business days — before relying on any date calculation tool.
Sources & Methodology
Calculations are based on the most current publicly available data from authoritative government and industry sources: