Use this free day counter to find the exact days between two dates. Enter a start and end date to get a weeks-and-days breakdown and an inclusive count option, with results explained.

Day Counter

Count the exact calendar days between any two dates — with weeks, and an inclusive option for stays and leave.

Free to use Weeks breakdown included Inclusive option Save PDF · PNG · Share

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

Enter a valid value for start date.

First date, in YYYY-MM-DD form.

Enter a valid value for end date.

Second date, in YYYY-MM-DD form.

Enter a valid value for include the end date? (1 = yes, 0 = no).

Counting both endpoints adds one day.

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Day Counter tinyexe.comFree online calculators

TinyExe · Day Counter Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

Start date

—

End date

—

Include the end date? (1 = yes, 0 = no)

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Day Counter to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      A day counter subtracts one calendar date from another to give the exact number of days between them. From 1 January 2026 to 31 January 2026 is thirty days, or four weeks and two days. Choosing the inclusive option adds one day, counting both the first and the last calendar day in the span itself.

      • Days = end date minus start date, using real calendar dates
      • Leap days are counted automatically
      • Inclusive counting adds 1 day

      Common day-count spans

      Reference values for this calculator.

      SpanDaysTypical use
      30 days30Monthly billing cycle
      60 days60Notice periods
      90 days90Quarter, trial periods
      120 days120Payment terms
      365 days365Non-leap year

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      Days between dates = (End date - Start date) in calendar days; inclusive count adds 1

      Enhancement: reports the span as weeks plus days, gives both the exclusive and inclusive counts, and handles reversed dates with a signed result instead of failing.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      January span

      Start 2026-01-01, end 2026-01-31, exclusive

      CalculationSteps
      31 January minus 1 January on the calendar = 30 days; 30 / 7 = 4 weeks and 2 days.30 days.

      Result

      Example 2

      Same day, inclusive

      Start and end 2026-06-15, include end = yes

      CalculationSteps
      Difference is 0 days; inclusive adjustment adds 1.1 day.

      Result

      Example 3

      Leap February

      Start 2024-02-01, end 2024-03-01

      CalculationSteps
      February 2024 has 29 days, so the span is 29 days.29 days.

      Result

      How to use this calculator

      Step 1

      Enter the start date in YYYY-MM-DD form.

      Step 2

      Enter the end date in the same form.

      Step 3

      Choose whether to include the end date itself in the count.

      Step 4

      Press Calculate to see the total days and the weeks-and-days breakdown.

      Step 5

      If the result is negative, the end date is earlier than the start date.

      In short: The day counter is the signed count of calendar days needed to move from a start date to an end date.

      Frequently asked questions

      Does the day counter include both dates?

      Only if you choose the include-end option. The standard difference counts the days you must advance from the start date to reach the end date; including the end date adds one for people counting calendar days occupied, such as hotel stays or leave.

      How does it handle leap years?

      It uses real calendar dates, so 29 February is counted automatically in leap years. The span from 1 February to 1 March is 29 days in 2024 and 28 days in 2025.

      Why is my result negative?

      A negative result means the end date is before the start date. The size of the number is still the correct distance between the two dates.

      Can I count 30, 60 or 120 days from today?

      Yes — enter today as the start date and the target date as the end date, or work backwards: a date exactly 30 days after the start will return a count of 30.

      Does it count working days only?

      No. This counter counts calendar days. For business-day counts excluding weekends and holidays you need a working-days tool with a holiday calendar.

      About this calculator

      A day counter measures the distance between two calendar dates. Enter a start and an end date and it returns the number of days between them, a weeks-and-days breakdown, and — optionally — the inclusive count that treats both endpoints as occupied days.

      Two counting conventions cause most disputes. The difference count answers 'how many days must pass' — 1 January to 31 January is 30. The inclusive count answers 'how many calendar days does this cover' — the same January span covers 31 calendar days if you count both the 1st and the 31st. Hotels, leave forms and rental agreements usually mean the inclusive idea; deadlines and interest usually mean the difference. This tool shows the logic for both so you can pick deliberately.

      Leap years are the other trap in manual counting. February has 29 days in years divisible by 4 (except century years not divisible by 400), so a span crossing February changes length depending on the year. Because the calculator works with real calendar dates in UTC, daylight-saving clock changes cannot make a 'day' 23 or 25 hours and skew the result.

      A signed result is useful, not an error: a negative count simply means the second date is earlier. Event planners use that deliberately, counting backwards from a launch date to find when a 60-day preparation window must begin.

      Use it for leave balances, notice periods, project deadlines, visa and subscription windows, pregnancy and training countdowns, and contract terms written as '30 days from today' or 'within 120 days'. Any question phrased as 'how many days until' or 'how many days between' is a day-counter question.

      How to calculate it yourself

      Step 1

      Note the start date and the end date in YYYY-MM-DD form.

      Step 2

      Count the whole months between them using real month lengths, including 29 February in leap years.

      Step 3

      Add the remaining days at the start and end of the span.

      Step 4

      Decide whether your purpose needs the difference count or the inclusive count (add 1).

      Step 5

      Optionally divide by 7 to express the span in weeks and remaining days.

      Real-life examples

      Handing in notice

      An employee must give 30 days' notice and wants the last day to be 31 January 2026. Counting back, the notice must be handed in by 1 January 2026.

      31 January minus 30 days lands on 1 January, and the counter confirms a 30-day span.

      Notice handed in on 1 January satisfies the 30-day term exactly.

      Booking a hall for a course

      A trainer runs a course from 15 June to 15 June — a single day — but the venue charges per calendar day occupied.

      The exclusive difference is 0, the inclusive count is 1 day.

      The trainer budgets for 1 day of hire, not zero, because the inclusive count matches how the venue charges.

      Ideas & use cases

      • Work backwards from a deadline: enter a past start and the deadline as the end to verify a preparation window really contains the days a plan assumes.
      • Compare contract wordings: run the same span with and without the inclusive option to see whether a one-day difference could decide a dispute.
      • Plan countdown milestones: count the total days to an event, then set 30-, 60- and 120-day checkpoints by choosing end dates that return exactly those counts.

      Limitations & sources

      • Calendar days only — it does not exclude weekends or public holidays, and it does not handle times of day.

      Sources: Gregorian calendar arithmetic; day length 86,400 seconds for date differences (UTC date-only calculation avoids daylight-saving errors)

      Day Counter · TinyExe calculator suite Free to use · No sign-up · Instant results