Date Calculator

The earlier date. The day count starts here and does not include this date itself.

The later date. It must fall on or after the start date.

The date you count from. Add moves forward from it, subtract moves back from it.

Whole days, weeks, months, or years, from 0 to 100000. Adding months lands on the last day of the target month when the start day does not exist there: 31 January plus 1 month is 28 February in a common year.

Any calendar date, past or future. Try 1 January 2000, which was a Saturday.

The earlier date. The breakdown counts whole years, then whole months, then the remaining days from here.

The later date. It must fall on or after the start date.

      This tool provides date arithmetic for general guidance only. It uses the proleptic Gregorian calendar for every date, including dates before the Gregorian calendar was adopted in 1582, and it does not account for local calendar changes, holidays, or business-day rules. Check deadlines and legal dates against the official calendar or document that sets them.
      Quick answer: A date calculator counts the days between two dates, adds or subtracts time from a date, and finds the day of the week for any date. From 1 January 2024 to 1 January 2025 is 366 days, because 2024 is a leap year, and 28 days after 20 November 2026 is 18 December 2026. Pick a mode above, enter your dates, and the result appears at once.

      Last reviewed: 20 November 2026. Reviewed every 180 days; next review due 19 May 2027.

      How to use the Date Calculator

      A date calculator answers the small calendar questions that come up every day: how many days are left until a deadline, what date falls 28 days from now, what day of the week a date lands on, and how long a span of time really is. This calculator has four modes, one for each of those questions, and every mode runs on the same calendar rules, so the answers agree with each other. All four modes count calendar days in UTC, which means daylight saving time can never shift a result by a day. Pick a mode from the tabs at the top of the tool, enter your dates, and the result appears as you type.

      1. Pick a mode. The four tabs are Days between dates, Add or subtract, Weekday finder, and Duration breakdown. Each tab shows only the fields its calculation needs, and switching tabs keeps the other modes untouched.
      2. Count the days between two dates. Enter a start date and an end date. The start date is the earlier date and the end date is the later one: the tool treats the field labelled Start date as the start, and it shows an error if the end date falls before the start date. The headline answer is the exclusive count, the number of days you cross to get from the start date to the end date. The results also show the inclusive count, which counts both dates, the same span in weeks, and the breakdown in years, months, and days.
      3. Add or subtract time from a date. Enter a start date, pick Add or Subtract, then enter an amount and a unit: days, weeks, months, or years. Adding 28 days to 20 November 2026 gives 18 December 2026. Adding 1 month to 31 January 2026 gives 28 February 2026, because February has no 31st day; the section on the month-end rule below explains exactly how that works. The quick chips under the amount set common values in one tap: 7 days, 28 days, 90 days, 6 months, or 1 year.
      4. Find the day of the week. Enter any date, past or future, and the tool names its weekday. It also shows the day of the year, how many days remain in the year, and whether the year is a leap year. Try 1 January 2000, which was a Saturday.
      5. Break a span into years, months, and days. Enter a start date and an end date, and the tool counts whole years first, then whole months, then the remaining days. From 15 March 2020 to 20 November 2026 is 6 years, 8 months, and 5 days, or 2,441 days in total. If the span you are measuring is someone's age, our Age Calculator gives the same breakdown from a date of birth.
      6. Use the quick chips. In the days-between mode, the chips set the end date 7, 28, 90, or 365 days after the start date. In the add mode, the chips set the amount and unit in one tap. Every chip recalculates at once.
      7. Read the results. The big number at the top is the headline answer. Below it, a plain-language sentence states the result in full, and the list underneath gives the supporting figures: weekdays, inclusive counts, totals in days, weeks, and months. The notes at the bottom of the results state the counting rules the answer rests on.
      8. Copy the result. The Copy result button copies the plain-language sentence to the clipboard, ready to paste into a message, a document, or a calendar note.

      How it works

      The calculator runs on the Gregorian calendar, the calendar used in most parts of the world today. It has 12 months, and the months keep the lengths the Gregorian calendar gives them: January 31 days, February 28 days in a common year and 29 in a leap year, March 31, April 30, May 31, June 30, July 31, August 31, September 30, October 31, November 30, and December 31. A common year has 365 days and a leap year has 366. Every date the tool accepts must be a real date on this calendar: 31 February is rejected, with a message telling you how many days that February actually has.

      The leap year rule is the part people get wrong most often, so it is worth stating in full. A year is a leap year if it is divisible by 4, except that a year divisible by 100 is not a leap year, unless it is also divisible by 400. The rule has three tests, applied in that order: divisible by 400 means leap year, divisible by 100 but not by 400 means common year, and otherwise divisibility by 4 decides it. That is why 2024 is a leap year, 1900 was not, 2000 was, and 2100 will not be. Over any 400 consecutive years the rule produces 97 leap years instead of 100, which makes the average calendar year 365.2425 days long, close to the 365.2422-day tropical year the Earth actually takes to orbit the Sun. A full 400-year cycle holds 146,097 days, which is exactly 20,871 weeks, so the calendar repeats its weekday pattern every 400 years.

      Every calculation runs in UTC, on calendar dates with no time of day attached. That choice matters because of daylight saving time: in local time, the day the clocks spring forward has 23 hours and the day they fall back has 25 hours, and arithmetic on local midnights can land a day out. Counting whole calendar days in UTC removes the problem entirely, so a week that contains a clock change still has exactly 7 days here. The section on daylight saving time below works through the 2026 dates.

      Worked example 1: a leap year span. From 1 January 2024 to 1 January 2025 is 366 days, because 2024 is a leap year and the span crosses 29 February 2024. The same span a year earlier, 1 January 2023 to 1 January 2024, is 365 days. Zoom in closer: from 28 February 2024 to 1 March 2024 is 2 days, because 29 February sits between them, while from 28 February 2023 to 1 March 2023 is 1 day. Any calculation that crosses February in a leap year picks up the extra day, and any calculation that does not cross it stays the same.

      Worked example 2: adding a year to a leap day. Add 365 days to 29 February 2024 and you land on 28 February 2025, because the 365 days you add contain no 29 February. Add 1 year to 29 February 2024 and you also land on 28 February 2025, but for a different reason: the target month, February 2025, has only 28 days, so the result is clamped to its last day. Add 4 years instead and you land on 29 February 2028, because 2028 is a leap year and the day exists there. The clamp rule is stated in full in the month-end section below.

      Worked example 3: a duration breakdown. From 15 March 2020 to 20 November 2026 is 6 years, 8 months, and 5 days. The breakdown counts whole years first: 15 March 2020 to 15 March 2026 is 6 years. Then whole months: 15 March 2026 to 15 November 2026 is 8 months. Then the remaining days: 15 November 2026 to 20 November 2026 is 5 days. The same span is 2,441 days in total, or 348 weeks and 5 days. The breakdown and the day count are two views of one span, and they always agree.

      What your result means

      The days-between result tells you how much time sits between two dates, which is the number you need for countdowns, deadlines, and planning. If a project starts on 1 March 2026 and must finish by 15 March 2026, you have 14 days of working time between those dates, and the inclusive count of 15 days tells you how many calendar dates the project touches. Read both numbers: the exclusive count is the gap, the inclusive count is the coverage, and mixing them up is the most common date-counting mistake there is.

      The add-or-subtract result tells you the date a deadline or an event lands on. A 28-day return window that starts on 20 November 2026 ends on 18 December 2026. A 90-day notice period starting on 1 March 2026 ends on 30 May 2026. A six-month subscription starting on 31 August 2026 renews on 28 February 2027, because February 2027 has 28 days and the result clamps to its last day. The result always names the weekday too, so you can see at a glance whether a deadline falls on a weekend.

      The weekday result settles the question behind a surprising number of everyday arguments: what day of the week was that date, or will it be. It is the check to run before booking travel, setting an anniversary, or quoting a date in a document. The day-of-year figure alongside it is useful for planning across a year: 29 February 2024 is day 60 of a 366-day year, with 306 days remaining in it.

      The duration breakdown turns a bare day count into something you can say out loud. A span of 2,441 days is hard to picture; 6 years, 8 months, and 5 days is not. Use it for ages, for lengths of service, for how long a project ran, or for how long it has been since an event. The breakdown counts whole years and whole months, so it reads the way people naturally describe a span, and the total days underneath it keep the exact figure one line away.

      Inclusive vs exclusive day counts

      Two honest ways of counting the days in a span differ by exactly one, and the difference causes more confusion than any other date question. The exclusive count counts the days you cross to travel from the start date to the end date. The inclusive count counts every calendar date the span touches, start date and end date included. This calculator states its convention plainly: the headline day count is exclusive, and the inclusive count is shown alongside it, always exactly one more.

      Take 1 March 2026 to 15 March 2026. The exclusive count is 14 days: cross 14 midnights and you arrive at 15 March. The inclusive count is 15 days: the dates 1 March through 15 March are 15 calendar dates. Both numbers are correct answers to different questions. If you ask how many days pass between the two dates, the answer is 14. If you ask how many days a hotel stay from 1 March to 15 March covers, the answer is 15 nights counted by dates, though hotels charge by nights, which is the exclusive count again.

      Counting methodWhat it counts1 March to 15 March 2026Same date twice
      Exclusive (this tool's headline)Days crossed from the start date to the end date14 days0 days
      Inclusive (shown alongside)Every calendar date touched, both ends included15 days1 day

      The same-date case makes the convention easy to remember. Enter the same date twice and the exclusive count is 0 days, because no time passes between a date and itself, while the inclusive count is 1 day, because the span touches one calendar date. If a form, a contract, or a booking asks for a number of days, check which convention it uses before you answer: a rental priced per day usually means the exclusive count, a countdown to an event usually means the exclusive count too, and a holiday booked from one date to another is usually priced on nights, which is again the exclusive count. When in doubt, state both numbers and say which one you mean.

      Adding months and years: the month-end rule

      Adding days is simple, because every day exists. Adding months is not, because months have different lengths, and the day you start from may not exist in the month you land in. This calculator states its rule plainly and applies it every time: adding months or years lands on the same day number when the target month has it, and clamps to the last day of the target month when it does not. The rule is sometimes called month-end clamping, and it is the rule most date tools and spreadsheet date functions use.

      CalculationResultWhy
      31 January 2026 plus 1 month28 February 2026February 2026 has 28 days, so the result clamps to its last day
      31 January 2024 plus 1 month29 February 2024February 2024 is a leap February with 29 days, so the result clamps to 29 February
      31 March 2026 plus 1 month30 April 2026April has 30 days, so the result clamps to 30 April
      29 February 2024 plus 1 year28 February 2025February 2025 has 28 days, so the result clamps to its last day
      29 February 2020 plus 4 years29 February 20242024 is a leap year, so 29 February exists and no clamp is needed
      31 March 2026 minus 1 month28 February 2026Subtracting follows the same rule in reverse: February 2026 has 28 days

      The clamp rule has one consequence worth knowing: adding 1 month twice is not always the same as adding 2 months once. From 31 January 2026, adding 1 month gives 28 February 2026, and adding another month gives 28 March 2026, because the day number is now 28 and March has a 28th. Adding 2 months in one step gives 31 March 2026, because March has a 31st. Both answers follow the same rule; the difference comes from the intermediate clamp. If you need a date a fixed number of months out, add the whole amount in one step.

      The same rule governs years, and it is the reason a leap-day birthday is a genuine puzzle. Someone born on 29 February 2020 turns 1 on 28 February 2021 under the clamp rule, because February 2021 has no 29th day, and turns 4 on 29 February 2024. Some families celebrate on 1 March instead, and some jurisdictions have their own rule for when a leap-day birthday legally falls; the calculator follows the clamp rule and says so in the result, so you can see exactly what it did.

      Daylight saving time and your results

      In the United States, daylight saving time begins at 2 a.m. local time on the second Sunday in March and ends at 2 a.m. local time on the first Sunday in November. In 2026 those dates are Sunday, 8 March and Sunday, 1 November. The schedule comes from the Uniform Time Act of 1966, as amended by the Energy Policy Act of 2005, and it has been in effect in its current form since 2007. The Department of Transportation regulates daylight saving time and time zones. Not every place follows the change: Hawaii and most of Arizona stay on standard time all year, as do the territories of American Samoa, Guam, the Northern Mariana Islands, Puerto Rico, and the U.S. Virgin Islands, while the Navajo Nation in Arizona does observe it.

      On the spring-forward day the clock jumps from 2 a.m. to 3 a.m., so that day has 23 hours. On the fall-back day the clock returns from 2 a.m. to 1 a.m., so that day has 25 hours. Neither fact changes a calendar-day count: 8 March 2026 is one calendar day, and 1 November 2026 is one calendar day, and a span that crosses either of them counts exactly the same as a span that does not. From 1 March 2026 to 15 March 2026 is 14 days, spanning the spring-forward, and from 25 October 2026 to 8 November 2026 is 14 days, spanning the fall-back. The two spans are identical in length, and both are the same as any other 14-day span.

      That stability is why this calculator counts in UTC. A tool that subtracts local midnights can return 13 days and 23 hours for a span that crosses the spring-forward, or 14 days and 1 hour for one that crosses the fall-back, and a careless rounding step turns either into the wrong day count. Counting whole calendar dates in UTC never sees the clock change at all, so the answer is the same in every time zone and on every device. One limit follows from the same choice: the tool counts calendar days, not elapsed hours. If you need the exact number of hours between two moments across a clock change, that is a different calculation, and the calendar-day answer here will be off by the hour gained or lost.

      Common mistakes to avoid

      Counting both end dates by accident. The most common error in date math is answering the exclusive question with the inclusive number, or the other way around. From 1 March to 15 March is 14 days of time passing and 15 calendar dates touched. Decide which question you are answering before you count, and read the label on the result: this tool prints both numbers, with the exclusive count as the headline.

      Forgetting the leap day. Any span that crosses 29 February in a leap year is one day longer than the same span in a common year. From 1 January 2024 to 1 January 2025 is 366 days, not 365, and a deadline counted as 365 days from 29 February 2024 lands on 28 February 2025, not 1 March. Check whether February in the span has 29 days before you trust a round number.

      Assuming every month has 30 days. Months run 28 to 31 days, and a rough 30-day month is wrong by up to 3 days a month. Six months from 31 August 2026 is 28 February 2027, not 31 February, and 180 days from 1 January 2026 is 30 June 2026, not 1 July. Use the calculator for the exact date instead of multiplying months by 30.

      Adding 1 month to 31 January and expecting a 31st. February has no 31st day, in any year, so the result must land somewhere else. This tool clamps to the last day of February: 28 February in a common year, 29 February in a leap year. Other tools roll the extra days into March, which gives 2 or 3 March instead; both conventions exist, which is why the rule is stated in the result every time it applies.

      Reading a duration as exact months. A duration of 1 month can mean 28, 29, 30, or 31 days, depending on which month it is. From 15 March to 15 April is 31 days; from 15 February to 15 March in 2026 is 28 days. The breakdown in years, months, and days describes the span in calendar terms, and the total days underneath it give the exact length. Use the total when the exact length matters.

      Trusting a clock-change week to be short a day. The week of the spring-forward still has 7 calendar days, and so does the week of the fall-back. The lost or gained hour changes the length of one day in hours, not the number of days in the week. From 1 March 2026 to 8 March 2026 is 7 days, and from 25 October 2026 to 1 November 2026 is 7 days.

      Mixing up day and month order when typing dates. The date 03-04-2026 means 3 April in most of the world and 4 March in the United States. The date fields on this page use your browser's date picker, which removes the ambiguity, and the engine reads dates in year-month-day order. If you type a date by hand anywhere, write the month as a word: 3 April 2026 can be misread by nobody.

      Frequently asked questions

      How many days are there between two dates?

      Enter the two dates in the days-between mode and the calculator counts the days you cross from the start date to the end date. From 1 January 2024 to 1 January 2025 is 366 days, because 2024 is a leap year, and from 1 January 2023 to 1 January 2024 is 365 days. The result also shows the inclusive count, which counts both dates and is always exactly one more, plus the same span in weeks and in years, months, and days.

      What date is 28 days from today?

      Use the add mode: enter today as the start date, pick Add, and enter 28 days. From 20 November 2026, 28 days later is 18 December 2026. Because 28 days is exactly 4 weeks, the result always falls on the same weekday as the start date, so 28 days after a Friday is always a Friday. The quick chips under the amount set 7, 28, or 90 days in one tap.

      How do I find the day of the week for a date?

      Enter the date in the weekday finder tab and the tool names its weekday at once, along with the day of the year and how many days remain in the year. For example, 1 January 2000 was a Saturday, 20 July 1969 was a Sunday, and 4 July 1776 was a Thursday. The weekday comes from the proleptic Gregorian calendar, so very old dates follow the same arithmetic as modern ones.

      How does the calculator handle leap years?

      A year is a leap year if it is divisible by 4, except that a year divisible by 100 is not a leap year unless it is also divisible by 400. That is why 2024 is a leap year, 1900 was not, 2000 was, and 2100 will not be. The calculator applies the full rule, so a span crossing 29 February in a leap year picks up the extra day: from 28 February 2024 to 1 March 2024 is 2 days, while the same span in 2023 is 1 day.

      Does daylight saving time change the answer?

      No. Every calculation runs on whole calendar dates in UTC, so the clock change never touches a result. In 2026, daylight saving time began on Sunday, 8 March and ends on Sunday, 1 November, and the day the clocks spring forward has 23 hours while the day they fall back has 25 hours, but each is still one calendar day. From 1 March 2026 to 15 March 2026 is 14 days, spanning the spring-forward, and from 25 October 2026 to 8 November 2026 is 14 days, spanning the fall-back.

      What happens when I add 1 month to 31 January?

      The result is clamped to the last day of February, because February has no 31st day. From 31 January 2026, adding 1 month gives 28 February 2026, and from 31 January 2024 it gives 29 February 2024, because 2024 is a leap year. The same rule governs years: adding 1 year to 29 February 2024 gives 28 February 2025. The result states the clamp plainly whenever it applies.

      What is the difference between inclusive and exclusive day counts?

      The exclusive count is the number of days you cross to get from the start date to the end date, and the inclusive count is the number of calendar dates the span touches, both ends included. From 1 March 2026 to 15 March 2026 the exclusive count is 14 days and the inclusive count is 15 days. This calculator shows the exclusive count as the headline answer and the inclusive count alongside it, and the two always differ by exactly one.

      How is a duration broken into years, months, and days?

      The breakdown counts whole years first, then whole months, then the remaining days. From 15 March 2020 to 20 November 2026 is 6 years, 8 months, and 5 days: 6 whole years to 15 March 2026, 8 whole months to 15 November 2026, and 5 days to 20 November 2026. The same span is 2,441 days in total. Because months vary from 28 to 31 days, the breakdown describes the span in calendar terms, and the total days underneath it give the exact length.

      Sources

      • Wikipedia: Gregorian calendar — the leap year rule (divisible by 4, except years divisible by 100 unless divisible by 400), 1800 and 1900 not leap years and 1600 and 2000 leap years, 97 leap years and 146,097 days in every 400-year cycle, the mean year of 365.2425 days against the 365.2422-day tropical year, the October 1582 reform, and the lengths of the 12 months. Accessed 20 November 2026.
      • NIST: Local Time FAQs — daylight saving time begins at 2 a.m. on the second Sunday in March and ends at 2 a.m. on the first Sunday in November, the Uniform Time Act of 1966 set the national schedule, the Department of Transportation regulates daylight saving time, and Hawaii, American Samoa, Guam, Puerto Rico, the Virgin Islands, and most of Arizona do not observe it. Page created 16 September 2024, updated 11 October 2024. Accessed 20 November 2026.
      • Old Farmer's Almanac: Daylight Saving Time 2026 Dates — in 2026 daylight saving time starts on Sunday, 8 March and ends on Sunday, 1 November, both at 2 a.m. local time; in 2027 it starts on Sunday, 14 March and ends on Sunday, 7 November; the Energy Policy Act of 2005 set the current schedule, in effect since 2007. Page updated 28 October 2026. Accessed 20 November 2026.