Date calculator
Two date tasks in one place: how many days lie between two dates, and which date you reach by adding or subtracting a period. Switch on working days to skip Saturdays and Sundays.
Date calculator
Formula, assumptions and rounding
- Calculator type
- Global
- Formula
- Days between two dates = the number of days after the start date up to and including the end date.
- Adding days or weeks moves the date by exactly 7 days per week. Adding months or years keeps the day of the month, and uses the last day of the month if that day does not exist (31 January + 1 month = 28 or 29 February).
- Working days: each calendar day from Monday to Friday counts, Saturday and Sunday do not. A week is 5 working days.
- Assumptions
- Proleptic Gregorian calendar, years 1 to 9999, with leap years every 4 years except century years not divisible by 400.
- Only weekends are excluded. Public holidays, bank holidays and local working weeks are not considered.
- If you enter the end date before the start date, the dates are put in order and the result is shown as a positive count.
- Units
- Days, weeks, months, years. Dates are shown in your browser's language and format.
- Rounding
- All results are whole numbers of days; nothing is rounded. Weeks are rounded down, with the remaining days shown.
- Last reviewed
Privacy: everything you enter is processed in your browser and is not sent to our servers. How we handle data
How to use Date Calculator
- Choose 'Days between two dates' or 'Add or subtract time'.
- Enter the dates, or a starting date, an amount and a unit (days, weeks, months or years).
- Tick the working-days option if you want weekends skipped. It works with days and weeks.
- Select Calculate and read the result with its day of the week.
Assumptions and limits
- Working days exclude Saturdays and Sundays only. Public holidays, bank holidays and local working weeks are not considered.
- The start day is not counted when finding the days between two dates; the end day is.
- Adding months or years to a month-end date uses the last day of the shorter month (31 January plus 1 month gives 28 or 29 February).
- Supported years are 1 to 9999 in the Gregorian calendar.
Frequently asked questions
- Are public holidays counted as working days?
- Yes, they are treated as ordinary days. Only Saturdays and Sundays are excluded, because holidays differ by country, state and employer. Subtract any holidays yourself.
- Is the start date included in the count?
- No. The count runs from the day after the start date up to and including the end date, so 20 November to 21 November is 1 day.
- What is one month after 31 January?
- There is no 31 February, so the result is the last day of February: the 28th, or the 29th in a leap year.
- What if my end date is before my start date?
- The tool puts the two dates in order and tells you it did so, so the answer is always a positive count.
Related tools
- Age CalculatorFind your exact age in years, months and days from a date of birth, plus total days and the date of your next birthday. Handles month ends and 29 February.
- Percentage CalculatorWork out X% of a number, what percent one number is of another, percentage increase or decrease, and add or subtract a percentage. Exact decimal maths in your browser.
- Unit ConverterConvert between metric, imperial and US units for length, mass, temperature, area, volume, speed and data size, using exact documented conversion factors.
- Loan EMI CalculatorWork out the regular payment, total interest and total repayment on a fixed-rate loan, with a full amortisation schedule you can copy or download as CSV. Currency set by country.
Page last reviewed: