Skip to content
CalculatorAtlas

Weeks Between Dates Calculator

Tested

Time between two dates in weeks.

Tested, not yet published. The formula for this calculator is implemented and passes its automated checks. This page stays non-indexable until it is reviewed and published.

Results

Enter your values and press Calculate. Results appear here.

  • • Result

Quick answer

Weeks between = ⌊days ÷ 7⌋ with the remainder in days. 1 January to 31 December 2025 is 364 days, which is exactly 52 weeks and 0 days.

Enter two dates. The calculator returns the weeks, the remaining days and the total days.

Related tools: Days Between Dates Calculator: Number of days, weeks and months between two dates. Years Between Dates Calculator: Time between two dates in years. Months Between Dates Calculator: Time between two dates in months.

How to use the Weeks Between Dates Calculator

  1. Pick start date.
  2. Pick end date.
  3. Press Calculate to see the result, and use Reset to start again.
Inputs of the Weeks Between Dates Calculator
InputWhat to enterAllowed values
Start dateA calendar date—
End dateA calendar date—

Formula and method

Formula

weeks = ⌊days ÷ 7⌋, remainder days

Exact integer arithmetic.

The order of the dates does not matter. Months and years are counted on the calendar; days are exact.

Worked examples

These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.

Example 1

Inputs: Start date = 2025-01-01; End date = 2025-12-31.

Results of example 1
ResultValue
Weeks and days52 weeks, 0 days
Total days364

Example 2

Inputs: Start date = 2024-01-01; End date = 2024-03-01.

Results of example 2
ResultValue
Weeks and days8 weeks, 4 days
Total days60

The first line is the headline result (weeks and days). Below it the weeks Between Dates Calculator lists total days, which describe the same case from other angles. Exact integer arithmetic.

The calculation

From 1 January 2025 to 31 December 2025 there are 364 days (the end date minus the start date), and 364 ÷ 7 = 52. Including both ends would give 365 days, or 52 weeks and 1 day.

Uses

Pregnancy tracking, project plans, training schedules and loan terms often use weeks. The difference excludes the start day; identical dates give 0.

How the counting works

The calculator takes the difference between the two dates and splits it into whole weeks and leftover days. From 2025-01-01 to 2025-01-11 the difference is 10 days, which is 1 week and 3 days.

The end date is not counted as an extra day: 2025-01-01 to 2025-12-31 is 364 days, exactly 52 weeks. If you need an inclusive count, add one day.

What happens with invalid input

These messages are produced by the calculator itself, so you know what to fix.

  • Start date: entering "x" shows "Start date must be a valid date." beside that field and no result.

Choosing between the Weeks Between Dates Calculator and similar calculators

Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.

Choosing between the Weeks Between Dates Calculator and similar calculators
CalculatorYou enterIt returns
[Days Between Dates Calculator](/date-calendar/days-between-dates-calculator/)start date, end date and count end date?Days between
[Years Between Dates Calculator](/date-calendar/years-between-dates/)start date and end dateYears, months and days
[Months Between Dates Calculator](/date-calendar/months-between-dates-calculator/)start date and end dateMonths and days
[Date Calculator](/date-calendar/date-calculator/)start date and operationResulting date
[Days Until Calculator](/date-calendar/days-until-calculator/)target dateDays until

Background: dates and times

Date and time results depend on the conventions a tool uses: whether the end date counts, whether weekends and holidays are skipped, how months of different lengths are handled and whether time zones are applied. This page states its convention, and the worked examples show it.

Dates use the Gregorian calendar and calendar days unless the page says otherwise; check deadlines against the rule in your contract or regulation.

Assumptions and limitations

  • Identical dates give 0

If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for start date to confirm this.

Frequently asked questions

How many weeks in a year?

52 weeks and 1 day (2 in a leap year).

Can I enter the later date first?

Yes, the order does not matter.

How do I count weeks until an event?

Enter today as the start.

Does it count both the start and end date?

No. It counts the difference between the dates, so Jan 1 to Dec 31 of the same year is 364 days. Add one day for an inclusive count.

How are partial weeks shown?

As remaining days. A difference of 10 days is shown as 1 week and 3 days.

What does the Weeks Between Dates Calculator calculate?

Time between two dates in weeks. It returns Weeks and days and Total days.

What formula does the Weeks Between Dates Calculator use?

weeks = ⌊days ÷ 7⌋, remainder days. The order of the dates does not matter.

What do I need to enter in the weeks Between Dates Calculator?

You enter Start date and End date.

How is the result rounded or limited?

Exact integer arithmetic. Identical dates give 0.

What is an example of a weeks Between Dates result?

With start date 2025-01-01 and end date 2025-12-31, the weeks and days is 52 weeks, 0 days.

Sources

  • ISO 8601-1: Date and time, representations for information interchange (calendar dates, ordinal dates and week dates)
  • Gregorian calendar reform, papal bull Inter gravissimas (1582): the leap-year rule used for all dates

Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.