Skip to main content

Habit streak calculator

18 done out of 22 days is an 82% month, whatever the streak says. See both, plus the next milestone and how many days you can still miss.

Runs in your browser. Nothing is sent or saved.By Nabeel MustafaUpdated

Days you hit it

Days that have passed

days

Consecutive days up to today. Zero if you missed yesterday.

Days you are aiming for

Completion rate

82%

Measured against days that have actually happened, not the whole month

You can miss 6 of the 8 days left and still reach 20.

Current streak
4 days

Resets on one miss

Still needed
2

In 8 remaining days

Projected total
25

If your current rate holds

Days you can miss
6

And still hit target

Next milestone
Day 7

3 more days in a row

Milestones passed
0 of 6

Out of 7, 21, 30, 66, 100 and 365 days

The rate and the streak disagree on purpose. A single miss wipes the streak and barely moves the rate, and the rate is usually the one telling the truth about your month.

A calculator answers once. If you want this number to move over months, that needs a record: a free habit tracker that shows today, the month and the year.

Track it free

Streak milestones: 7, 21, 30, 66, 100 and 365 days

The calculator shows the next milestone after your current run and how many days in a row it is away. The list is the set of numbers people actually count towards: a week, the old 21-day figure, a month, 66 days, 100 and a year.

66 is there because it is the median time to automaticity in the best-known study of habit formation, by Phillippa Lally and colleagues at University College London, published in 2009. The range in that study ran from 18 to 254 days, so 66 is a middle, not a deadline. The same study found that missing a single day did not measurably set people back, which is why the rate matters more than the run.

Streaks and rates answer different questions

A streak measures consecutive days and resets to zero on one miss. A completion rate measures the share of days you hit and barely notices a single miss. Both are useful, and confusing them is where a lot of unnecessary guilt comes from.

Someone at 27 out of 30 days with a miss on day 15 has a broken streak and an excellent month. The rate is telling the truth and the streak is telling a story.

The allowance is the most useful number here

If you are aiming for 20 days out of 30 and you are on day 12 with 9 done, you can miss eight of the remaining eighteen and still hit target. Knowing that changes how a missed Tuesday feels.

This is the calculation that keeps people going, because most abandonment happens right after a miss, when the target feels blown. Usually it is not blown at all.

When a streak is worth protecting

Early on, a streak is a genuinely good motivator. The first two weeks of anything are fragile and a visible run gives you a reason to show up on a day you would otherwise skip.

Later it turns into a liability. A long streak makes one missed day feel like a catastrophe, and the catastrophe feeling is what ends the habit, not the missed day. The cost of streak counting is that it eventually punishes you for being human.

How to calculate a habit streak and completion rate

  1. Enter days completed and days elapsed

    How many days you hit, and how many days have passed since you started counting.

  2. Add your current run

    Consecutive days completed up to today. Zero if you missed yesterday.

  3. Set a monthly target

    How many days in a 30 day month you are aiming for. Twenty is a realistic five-days-a-week target.

  4. Read the allowance

    The tool shows how many more days you can miss and still hit the target, which is usually more than it feels like.

Questions people ask

How many days does it take to form a habit?

In Lally and colleagues' 2009 study the median was 66 days, with a range of 18 to 254 depending on the person and the habit. The 21-day figure is older and has no study behind it.

How do you calculate a habit completion rate?

Days completed divided by days elapsed, as a percentage. Measuring against days that have actually passed rather than the whole month stops a month in progress being scored against its own future.

How many days can I miss and still hit my goal?

Remaining days minus the days you still need. This tool works it out from your target and where you are now, and the answer is usually larger than it feels after a miss.

Does one missed day break a habit?

No. What breaks habits is the second and third miss that follow, usually because the first felt like failure. A single gap in an otherwise solid month barely moves your completion rate.

Is a streak the best way to measure a habit?

Early on it helps, because a visible run is a reason to show up. Later it works against you, since one miss resets everything and that feeling is what ends habits. Completion rate is the more durable measure.

Start with three habits and one month.

You will know by the end of it whether this is the tracker that sticks. That is a shorter test than most things you have tried.