Toolvito

Works on this device

Habit Streak Calculator

Count how many days in a row you have kept a habit, and your longest run. Type a start date, paste the dates you did it, or type one tick for each day. Rest days do not end a streak. Set a target, such as 100 days, to see the date you reach it.

Enter your values

Type or paste the dates you kept the habit, for example from a calendar or a notes app.

Your values

Year-month-day, such as 2026-10-01: one on each line, or with commas or spaces between them. "2026-10-01 to 2026-10-05" adds every day from the first to the last. A date typed twice counts once.

Days before it are not counted. Leave it empty to start on the first date in your list.

Usually today. Leave it empty to use today on this device.

With the tick, a date to check that counts and is not done is still open, not missed. Untick it to count it as a day that is over.

Only these days count for a streak. Other days are rest days: they do not end a streak.

A number of days in a row that you want to reach, such as 30 or 100.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose how you want to enter your habit: Streaks from a list of dates, Streaks from a row of marks, or Streak since a start date when no day was missed.
  2. For a list, type or paste dates as year-month-day, such as 2026-10-01. "2026-10-01 to 2026-10-05" adds every day from the first to the last.
  3. For marks, type one mark for each day from the first date: x for done and - for not done. Rest days need a mark too.
  4. Choose the days that count: every day, Monday to Friday, or the days you choose. Add a streak target if you have one.
  5. Choose Calculate. The tables show every streak and every missed day. You can copy the result, print it or download it as a CSV file.

The rules for a streak

  • A streak is a run of days that count, all done, one after another. It is counted in days that count, not in calendar days.
  • A missed day is a day that counts and was not done. It ends the streak.
  • A rest day is a day of the week that does not count, such as Saturday and Sunday for a habit of the working week. It neither adds to a streak nor ends it. A tick on a rest day is kept and shown as a tick on a rest day.
  • The date to check is usually today. While it is not over, a day that counts and is not done yet is still open: it is not a missed day, and the current streak counts back from the day before. Untick not over yet to count it as a day that is over.
  • Completion rate = days done ÷ days that count, from the first day to the date to check.
  • Streak target date: the day the streak reaches the target if you keep the habit on every day that counts from the next open day.

Worked examples

Since a start date. You started on 1 September 2026 and did it every day up to 14 October 2026: a streak of 44 days. A target of 100 days needs 56 more days, so you reach it on 9 December 2026. 30 days were reached on 30 September, and 50 days come on 20 October.

From a list of dates. You did it from 1 to 12 September, 14 to 30 September, on 2 and 3 October, and from 5 to 13 October. On 14 October, before you have done it, the day is still open. The current streak is 9 days (5 to 13 October) and the longest is 17 days (14 to 30 September). 40 of 43 days were done: 93.02%. The missed days are 13 September, 1 October and 4 October. A streak of 100 days needs 91 more days from 14 October: 12 January 2027.

From marks. From 1 October, the marks "xxxx-xxxxx-xxx" give a current streak of 3 days (12 to 14 October), a longest streak of 5 days (6 to 10 October), and 12 of 14 days done: 85.71%.

Rest days. A habit for Monday to Friday, done every weekday for two weeks, is a streak of 10 days. The weekend between does not end it.

Which tool to use

  • This page works out streaks once, from what you type. To tick your habits day by day, keep them on your device and print a tracker, use the Habit Tracker. It counts streaks by the same rules.
  • For progress toward a number by a date, use the Progress Percentage Calculator.

Limits you should know

  • A day is done or not done. Amounts, such as 8 glasses of water, are not counted.
  • Rest days are days of the week. A single day off, such as a day of illness, is a missed day here.
  • Apps and games have their own streak rules, such as a "freeze" that saves a streak. This calculator does not copy any of them.
  • Up to 20,000 days. Today comes from the clock of your device when the date to check is left empty. Nothing you type is sent anywhere.

Related tools