Date Calculator

Find the days between two dates, or add or subtract days, months, and years.

Enter your values

Result

31 d
Total days
31
Need help with your result? Ask a question about your inputs or calculation. Ask AI
0 / 2000
20 requests per day · resets at 00:00 UTC

When to use Date Calculator

Find the days between two dates, or add or subtract days, months, and years.

Check a calendar or duration calculation for planning, records and comparisons between dates or times.

How to use this tool

  1. Choose the calculation mode that matches your task and the information you have.
  2. Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
  3. Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
  • Start date
  • End date
  • Days to add
  • Months to add
  • Years to add

How it works

Between dates
Subtract the start date from the end date. A negative result means the end date comes first.

Worked example

The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.

Between dates

Start date
2026-01-01
End date
2026-02-01
Result
31 d
Total days
31

Add or subtract

Start date
2026-01-31
Days to add
0
Months to add
1
Years to add
0
Result
2026-02-28

Understanding the result and its limits

Check whether endpoints, breaks and holidays are included. A date-only calculation is not automatically a time-zone-aware timestamp difference.

Frequently asked questions

Why can two date calculations differ by one day?

One may count both endpoints while another measures elapsed days. Use the convention stated in the method.

Methodology and references

Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.