NanoCount

Days between two dates

Count the exact number of days from one date to another. Pick a start and an end date and the calculator shows the days between them, in weeks and months too, with an option to count both days.

To find the number of days between two dates, subtract the earlier date from the later one. For example, there are 30 days from June 1 to July 1, or 31 if you count both the start and end day. Enter any two dates above for the exact result in days, weeks and months.

Count the days between two dates
30 days
That is 4 weeks and 2 days, or about 1 months.

How it works

The calculator subtracts the two calendar dates at midnight, so there is no time-of-day or daylight-saving drift. The plain result is the number of nights between the dates. Ticking include both the start and end day counts inclusively, which adds one day, the way you would count the length of a holiday or an event.

Every calendar day counts, weekends and holidays included. If you need working days only, or working days minus public holidays, use the working days calculator instead.

How to use it

  1. Enter the start date in the From field.
  2. Enter the end date in the To field.
  3. Read the result in days, then in weeks and months below it. Tick include both days to count inclusively.

Examples

FromToDays
June 1, 2026July 1, 202630 days
January 1, 2026December 31, 2026364 days
February 28, 2028March 1, 20282 days (2028 is a leap year)
May 10, 2026May 24, 202614 days (2 weeks)

Counts are exclusive by default (the number of nights between the dates). Counting both the start and end day adds one.

What people use it for

  • Counting down to a deadline, launch or exam
  • Working out how far along a pregnancy is, or the days to a due date
  • Measuring the length of a trip, project or notice period
  • Finding an age in days, or a relationship or sobriety milestone
  • Checking the days between two historical dates

Frequently asked questions

How do I count the days between two dates?

Pick a start date and an end date above. The calculator subtracts the two calendar dates and shows the number of days between them, plus the same span in weeks and months.

Should I include the end day?

By default the count is exclusive: the number of nights between the two dates. Tick include both the start and end day to count inclusively, which adds one day. Use inclusive counting when both days count, such as the length of a trip.

How many weeks are between two dates?

Divide the total days by seven. The calculator shows this for you: the whole weeks plus any leftover days. For example, 30 days is 4 weeks and 2 days.

Does it count weekends and holidays?

Yes. This calculator counts every calendar day. For working days only, use the working days calculator, which can also subtract public holidays.

Does it handle leap years?

Yes. February 29 is included in leap years, so a span that crosses a leap day counts the extra day automatically.

Can I count days from today?

Yes. Leave the start date on today and pick any end date to count forward from the current day.

More date tools