Days Between Dates

Calculate how many days are between two calendar dates. Useful for planning, deadlines, projects, and date tracking.

Result will appear here.

Privacy: calculations run entirely in your browser. No dates are stored or transmitted.

How it works

This calculator compares two calendar dates (not time-of-day). To match how people think about dates, it normalizes both inputs to local midnight and then computes the day difference.

You can optionally enable inclusive counting (counting both start and end dates). This is useful for “How many days is my trip?” style questions where both endpoints are included.

  • Leap years: handled automatically
  • Signed + absolute: shows A→B direction and absolute days
  • Extras: weeks (approx), months (approx), weekdays for each date

Examples

  • 2026-01-01 → 2026-01-31 → 30 days (inclusive: 31)
  • 2026-02-01 → 2026-02-15 → 14 days (inclusive: 15)
  • 2025-03-10 → 2025-04-01 → 22 days (inclusive: 23)

When to use this tool

This tool is designed for quick, practical tasks such as everyday calculations, data formatting, or simple conversions. It is best used when you need fast results without installing software or using complex tools.

When to use

  • Quick checks or one-time calculations
  • Validating or converting data before using it elsewhere
  • Simple tasks that do not require advanced software

When not to use

  • Critical financial, legal, or medical decisions
  • Large-scale or automated processing
  • Situations requiring guaranteed precision beyond basic validation

Always review results before using them in important contexts.

About this tool

This tool helps you perform quick utility operations directly in your browser. It runs entirely in your browser without sending data to a server.

You can use this tool when handling simple tasks without installing additional software. The results should be interpreted as a processed output based on your input data.

FAQ

  • Does the order of dates matter?

    You can use either order. The tool shows the signed difference (A→B) and also the absolute days.

  • Does this include the start date?

    By default it shows the difference in calendar days between the two dates. You can enable “Include start date” to count both endpoints.

  • Does it handle leap years?

    Yes. Because it uses real calendar dates, Feb 29 is handled automatically when applicable.

  • Is this a business days calculator?

    No. This tool counts calendar days (including weekends and holidays). Use a work/business days tool for weekday-only counting.

  • Are my dates stored anywhere?

    No. All calculations run locally in your browser. Nothing is stored or transmitted.

Related tools