Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Days Between Dates

Calculate the exact number of days, weeks, and months between any two dates with business day counting and calendar visualization.

What is the Days Between Dates Calculator?

The Days Between Dates Calculator is a simple yet powerful tool that instantly calculates the exact number of days between any two dates. Whether you need to know how many days until an event, calculate project timelines, or figure out billing periods, this calculator gives you the answer in seconds.

Smart calculation: Results update in real-time as you change dates or options — no need to press a "Calculate" button.

What Can You Calculate?

This tool goes beyond just counting days. When you select two dates, you'll see comprehensive information:

Total Days

Exact count between dates with optional end date inclusion

Exact Duration

Broken down into years, months, and days

Business Days

Working days excluding weekends

Time Conversions

Weeks, hours, minutes, and seconds

Calendar Info

Weekend days, full weeks, months, and years

Weekday Breakdown

Visual chart showing count of each day of the week

Flexible Weekend Settings

Not every country follows the same work week. This calculator lets you choose your weekend days to match your region:

Saturday & Sunday

Most common worldwide — used in North America, Europe, and most of Asia

Friday & Saturday

Used in many Middle Eastern and North African countries

Thursday & Friday

Used in some countries with specific regional needs

Single Day Options

Friday only or Sunday only for specific regional requirements

Automatic updates: Changing the weekend setting instantly recalculates all results, including business days, the weekday breakdown chart, and the calendar view.

How to Use the Calculator

1

Select Your Dates

Click the Start Date field to open the date picker and choose your first date. Then click the End Date field to select your second date.

Quick tip: Click the Today button below each field to instantly set it to today's date.
2

Adjust Options

Customize the calculation using the options below the date fields:

  • Include end date — Check this box to add one extra day to the count. Useful when both the start and end dates should be counted (e.g., vacation days, hotel stays)
  • Weekend — Select which days are considered weekends in your region. This affects business day calculations, the weekday breakdown chart, and calendar highlighting
3

View Your Results

Results appear instantly as soon as both dates are selected:

Main Result Card

Total days, exact duration (years, months, days), and business day count

Time Units

Converts total into weeks, hours, minutes, and seconds

Calendar Info

Weekend days, full weeks, full months, and full years in the range

Weekday Breakdown

Visual chart showing how many of each weekday fall within the range
Calendar View: Displays a scrollable visual calendar with color-coded dates — indigo for start date, red for end date, light tint for in-range days, and orange border for today.
4

Copy or Swap

  • Click Copy Result to copy a text summary of the calculation to your clipboard
  • Use the swap button between the date fields to quickly switch the start and end dates
Automatic Saving: Your selected dates and options are automatically saved in your browser. When you return to the tool, your last calculation will be restored.

Key Features

Essential Calculation Features

Instant Calculation

Get exact number of days between any two dates instantly. Calculation updates in real-time as you change dates or options.

  • No "Calculate" button needed
  • Immediate results
  • Real-time updates

Include End Date Option

By default, counts days between dates (exclusive). Enable to add one extra day for inclusive ranges.

  • Perfect for vacation days
  • Rental periods
  • Event durations

Exact Duration Breakdown

For longer date ranges, see the exact duration in years, months, and days alongside the total day count.

  • Human-readable format
  • Precise calculation
  • Multiple formats

Business Days Counter

Automatically counts working days (excluding weekends) in the selected range.

  • Work schedule planning
  • Project timelines
  • Billing cycles

Customization & Conversion Options

Custom Weekend Selection

Choose from five weekend options to match your country or region.

  • Sat-Sun (most common)
  • Fri-Sat (Middle East)
  • Thu-Fri (some regions)
  • Single day options

Time Unit Conversions

See the date range expressed in multiple time units for different use cases.

  • Weeks and days
  • Total hours
  • Total minutes
  • Total seconds

Calendar Information

View supplementary data about the selected date range.

  • Weekend days count
  • Full weeks
  • Full months
  • Full years

Swap Dates

Quickly swap the start and end dates with a single click.

  • One-click swap
  • Instant recalculation
  • Convenient reversal

Visual Analysis & Data Management

Weekday Breakdown Chart

A horizontal bar chart shows how many of each weekday appear in the date range.

  • Monday through Sunday
  • Weekend bars styled differently
  • Easy identification

Visual Calendar View

A scrollable calendar displays all months in the date range side by side.

  • Color-coded dates
  • Horizontal scrolling
  • Today highlighted
  • Up to 36 months

Copy to Clipboard

Copy a text summary of your calculation with one click.

  • Start and end dates
  • Total days
  • Exact duration
  • Business days

Persistent Settings

Your preferences are automatically saved and restored.

  • Selected dates saved
  • Include end date preference
  • Weekend setting
  • Browser local storage

Frequently Asked Questions

How does the calculator count days?

By default, the calculator counts the number of days between the start and end dates, not including the end date itself.

Default (Exclusive)

January 1 to January 3

  • Result: 2 days
  • Counts: Jan 1 → Jan 2
  • End date not included
Include End Date

January 1 to January 3

  • Result: 3 days
  • Counts: Jan 1 → Jan 2 → Jan 3
  • End date included

What are business days?

Business days (also called working days) are the days that are not weekends. By default, this means Monday through Friday.

Customizable: You can change which days count as weekends using the Weekend dropdown to match your region's work week.
  • Excludes weekend days
  • Adapts to regional settings
  • Perfect for project planning
  • Useful for billing cycles

Does it handle leap years correctly?

Yes. The calculator correctly accounts for leap years in all calculations.

Example: Calculating from February 1 to March 1 in a leap year will return 29 days instead of 28.

Leap year rules are automatically applied based on the Gregorian calendar system.

What if I enter the end date before the start date?

The calculator automatically handles this — it will swap the dates internally so the earlier date is always the start.

  • No error messages
  • Automatic correction
  • You can also use the swap button to manually switch the dates

How does the "Include end date" option work?

When enabled, the tool adds 1 to the total day count. This is useful when you want to count both the start and end dates as part of the range.

Common Use Cases:

  • Hotel stays — Check-in to check-out dates
  • Vacation days — First day to last day of leave
  • Event durations — Start date to end date inclusive
  • Rental periods — First day to last day of rental

Can I use different weekend days?

Yes. The calculator supports five weekend configurations to match different regional work weeks:

Saturday-Sunday

Most common worldwide

Friday-Saturday

Middle East & North Africa

Thursday-Friday

Some specific regions

Single Day

Friday only or Sunday only
Automatic updates: Changing the weekend setting affects business day counting, the weekday breakdown chart, and the calendar view highlighting.

Is there a limit to the date range?

The calendar view displays up to 36 months for optimal performance and usability.

No calculation limit: There is no limit on the date calculation itself — you can calculate the difference between dates that are decades or even centuries apart.

Is my data saved or sent anywhere?

No. All calculations happen entirely in your browser. Your privacy is fully protected.

  • 100% client-side calculation
  • No server communication
  • No data collection
  • Settings saved only in your browser's local storage
Privacy guaranteed: Your dates and preferences never leave your device.

Can I copy the results?

Yes. Click the Copy Result button to copy a formatted text summary to your clipboard.

What Gets Copied:

  • Start date
  • End date
  • Total days
  • Exact duration (years, months, days)
  • Business days count

The copied text is formatted and ready to paste into documents, emails, or spreadsheets.

Weekend:
Select two dates to calculate the difference
Select Start Date and End Date using the date pickers or click Today for quick selection
Enable Include end date to count both the start and end dates in the total
Change the Weekend setting to match your region (Sat-Sun, Fri-Sat, Thu-Fri, etc.)
Scroll the Calendar View horizontally to see all months in your date range
Click Copy Result to copy the full calculation summary to your clipboard
All calculations are done in your browser - no data is sent to any server
Want to learn more? Read documentation →
1/7
Start typing to search...
Searching...
No results found
Try searching with different keywords