# Date Difference Calculator

> Count the days between two dates in years, months, weeks and working days with holidays. Add or subtract days and work out an exact age. Free and instant.

Canonical: https://cromagnon.app/tools/date-difference
Last updated: 2026-10-26

- Category: Utility
- Formats: DATE
- Use it: https://cromagnon.app/tools/date-difference (free, runs in the browser)

## What it does

Find out exactly how long it is between two dates. The calculator gives the total number of days and the same span in years, months and days, weeks and days, whole months, working days, weekend days, hours, minutes and seconds. Include the end date when you count both days (leave, hotel nights counted as days, event days), choose a Saturday–Sunday, Friday–Saturday or other weekend, and paste public holidays to leave them out of the working days. Two more calculators add or subtract days, weeks, months, years or working days from a date, and work out an exact age with the days to the next birthday.

## How to use it

1. Pick a start and an end date, or use the Today buttons. Swap reverses them.
2. Tick Include the end date if both days should count.
3. Choose the weekend and paste any holidays, one date per line, to get working days.
4. Read the result in every unit, then copy it or copy a link that reopens the same dates.
5. Switch to Add / subtract or Age for the other two calculators.

Tip: Counting a deadline in working days? Use Add / subtract with the working days box: it skips weekends and the holidays you list and lands on the exact date, which is easier than counting a calendar by hand.

## Include the end date or not?

By default the end date isn't counted, the way spreadsheets and most calculators work: from Monday to Friday is 4 days, and =B1-A1 in Excel gives the same answer. That is right for ages, durations and "how many days until". When both the first and last day count, such as days of annual leave, a five-day course or a rental counted per day, tick Include the end date and Monday to Friday becomes 5 days.

## Years, months and days

Months have different lengths, so the calculator counts whole months first and then the days left. A month counts once the same day of the month is reached: 15 January to 15 March is exactly 2 months; 31 January to 29 February is 29 days, because 31 February doesn't exist. This matches how people state ages and contract terms. The total in days is always exact, and leap years are handled for any date from year 1 to 9999.

## Working days, weekends and holidays

Working days are the days that are not weekend days and not holidays. Pick the weekend your country or company uses: Saturday and Sunday in most places, Friday and Saturday in much of the Middle East, Friday or Sunday only, or none for a seven-day operation. Then paste the public holidays for the period as YYYY-MM-DD, one per line; a name after the date is fine. Holidays that fall on a weekend are only counted once.

## Adding and subtracting dates

Add or subtract any mix of years, months, weeks and days. Years and months go first, then weeks and days, and when the day doesn't exist in the new month the result is that month's last day: 31 January plus one month is 28 February (29 in a leap year). For notice periods and delivery promises, use working days instead: Friday plus one working day is the following Monday.

## Everyday questions it answers

- **How many days until…?**: A wedding, an exam, a visa expiry or the end of a project: set today as the start.
- **How long was it?**: The length of a job, a tenancy, a trip or a contract in years, months and days.
- **When is the deadline?**: 30 calendar days or 10 working days from a date, skipping weekends and holidays.
- **How old exactly?**: Age for forms, school admissions or insurance, with the days to the next birthday.
- **How many working days are left?**: Days you can actually work on something before a due date, with public holidays removed.

## Tips

- **Countdowns**: Set the start to today and the end to the event: the result shows the days, and working days, to go.
- **Share the answer**: The address bar keeps the dates, so Copy link gives a colleague the same calculation.
- **ISO week numbers**: Each date's ISO week and day of the year are shown, handy for production plans and sprint calendars.
- **Decimal years**: Need 3.42 years for interest or depreciation? It's in the results, based on the average year of 365.2425 days.
- **Born on 29 February**: The age calculator treats 28 February as the birthday in other years.
- **Excel equivalents**: =B1-A1 gives days, =DATEDIF(A1,B1,"y") whole years and =NETWORKDAYS(A1,B1,holidays) working days including both ends.

## Questions

### How many days are there between two dates?

Enter both dates: the large number is the days between them, not counting the end date. Tick Include the end date to count both days.

### How do I calculate working days between dates?

Choose your weekend and paste the holidays; the working days box shows the result. With the end date included it matches Excel's NETWORKDAYS.

### How are months counted when they have different lengths?

Whole months first, then the remaining days. A month counts once the same day of the month is reached.

### Can I add 90 days to a date?

Yes. Use Add / subtract, enter 90 in Days, and the result shows the date and its weekday.

### How do I calculate my exact age?

Open Age, enter your date of birth, and see your age in years, months and days, plus days to your next birthday.

### Does it work with dates far in the past or future?

Yes. Any date from year 1 to 9999 works, leap years included, using the calendar in use today (the proleptic Gregorian calendar).

### Why does my result differ from another calculator by one day?

Usually because one counts the end date and the other doesn't. Tick or untick Include the end date to match.

### Is anything sent to a server?

No. Every calculation runs in your browser, on your device. Nothing you type is uploaded, stored or logged.

## Related

- [Time Zone Converter](https://cromagnon.app/tools/timezone-converter)
- [Unix Timestamp Converter](https://cromagnon.app/tools/timestamp-converter)
- [Cron Expression Parser](https://cromagnon.app/tools/cron-parser)
- [Unit Converter](https://cromagnon.app/tools/unit-converter)
- [Math Studio](https://cromagnon.app/studios/math-studio)
- [All tools](https://cromagnon.app/tools)
