Date Calculator

Free date calculator: work out an exact age, count the days between two dates, add or subtract days, weeks or months, and total hours worked. No sign-up.

Runs in your browser. Your files are never uploaded. How it works

Calculate

Date Calculator works out an exact age, the number of days between two dates, a date plus or minus days, weeks, months or years, and the hours between two times. Results update as you type and nothing you enter leaves your browser.

How to use

  1. Pick what to calculate: Age, Days between dates, Add or subtract or Hours between times.
  2. Enter the dates or times. Today’s date is filled in where it makes sense.
  3. Read the result at the top. The boxes below show the same answer in other units: weeks, months, hours, weekdays.

What each mode gives you

Mode You enter You get
Age Date of birth, and the date to count to (today by default) Years, months and days; total months, weeks and days; days until the next birthday; the weekday you were born on
Days between dates Start and end date Days, weeks and days, years-months-days, weekdays (Mon–Fri), weekend days, hours
Add or subtract A date, an amount and a unit (days, business days, weeks, months, years) The resulting date, its day of the week and how many days away it is
Hours between times Start time, end time, break in minutes Hours and minutes, decimal hours, total minutes, time before the break
Days between dates mode with 6 January 2026 and 20 November 2026 entered: the result reads 318 days, with boxes showing 45 weeks 3 days, 10 months 14 days, 228 weekdays, 90 weekend days and 7,632 hours
One span of dates, six ways: 318 days is also 45 weeks and 3 days, 10 months and 14 days, and 228 working days once weekends come out.

The weekday figure is usually the one people came for, and it is worth seeing next to the total: of those 318 days, 228 are Monday to Friday and 90 fall at a weekend. Each box is derived from the same two dates by the rules below, so any of these numbers can be checked by hand.

How dates are counted

These are the rules the calculator follows, so you can check any result by hand:

  • Days between dates counts the start date and not the end date. 1 January to 2 January is 1 day. With Include the end date it is 2.
  • Ages and differences in months use calendar months. The day count restarts each month, so 31 January to 1 March is 1 month and 1 day.
  • Adding months keeps the day of the month, or uses the last day when that day does not exist: 31 January + 1 month = 28 February.
  • 29 February birthdays are counted on 28 February in years without a 29th.
  • Time zones and daylight saving never change a result. Dates are handled as whole calendar days, so a day is always 24 hours here.
  • Business days are Monday to Friday. Public holidays are not known to the calculator.

Common questions it answers

  • How old am I, exactly, in years, months and days, or in total days?
  • How many days until a deadline, a holiday or a due date?
  • What date is 90 days from today, or 6 months after a contract start?
  • How many working days are there between two dates?
  • How many hours did I work from 08:45 to 17:15 with a 45-minute lunch?

For a loan payment or a savings plan over a number of years, see the Loan Calculator and the Compound Interest Calculator.

Privacy

There is nothing to upload. The calculation is a few lines of code that run in your browser. Your date of birth stays on your device, and the anonymous usage statistics only record that the calculator was used, not what was entered. See how it works for how to check this yourself.

Frequently asked questions

How do I calculate the number of days between two dates?

Choose Days between dates, enter the start and the end date. The count includes the start date but not the end date, the way a hotel stay or a rental period is counted. Tick Include the end date if you want both counted, which adds one day.

How is an age in years, months and days worked out?

Whole years are counted first, then whole months, then the days left over. From 15 March 1990 to 4 November 2026 that is 36 years, 7 months, 20 days. Months are calendar months, not 30-day blocks, so the result matches what you would get counting on a calendar.

What happens when I add a month to 31 January?

The day of the month is kept when it exists in the target month. When it does not, the last day of that month is used, so 31 January plus one month is 28 February (29 February in a leap year), and 31 March plus one month is 30 April. Spreadsheets such as Excel's EDATE work the same way.

Are public holidays taken off business days?

No. Business days skip Saturdays and Sundays only, because public holidays differ by country and region. Subtract your holidays from the result yourself.

How do I turn hours and minutes into decimal hours for a timesheet?

Choose Hours between times, enter the start and end time and your break. The result shows hours and minutes and the decimal value: 7 h 30 min is 7.50 hours, 7 h 45 min is 7.75 hours. A shift that ends after midnight is counted into the next day.

Is anything I type sent anywhere?

No. The calculation runs in your browser as you type. Dates of birth and other entries are not sent to a server and are not part of the anonymous usage statistics.

More ways to use Date Calculator

Related tools