Skip to calculator

How long until it’s a habit?

Habit Formation Calculator

Estimate how many days your habit will take to feel automatic. Describe the habit, how often you’ll do it and what sets it off, and get a likely range, dated milestones and the changes that would shorten it.

Describe your habit

01 / YOUR HABIT
Habit settings
How big is it?
Days per week
What sets it off?
How does it feel?

Free, no signup. Your answers stay in this tab. Nothing is saved or sent.

02 / YOUR ESTIMATEUpdates as you change your answers

The short answer

How long will it take to form your habit?

For a habit repeated daily after the same cue, expect around two months before it feels automatic, and longer for anything bigger or less frequent. Research does not support one fixed number. In the study behind the well-known 66 days, individual results ranged from 18 to 254 days, and a 2024 review found medians of 59 to 66 days and averages of 106 to 154 days.1,2

Your own timeline depends mostly on the four things this calculator asks about: how big the habit is, how often you repeat it, how stable its cue is, and whether you want to do it.3,4 For the full research story, including where the 21-day myth came from, read how long it takes to build a habit.

How this calculator estimates your timeline

The starting point is the 66-day median from Lally and colleagues, whose participants repeated one eating, drinking or activity behavior daily in a consistent context.1 A moderate habit, done every day after the same cue, lands on 66 days. Each answer then adjusts that number:

Your answerOptionsEffect on the estimate
How big is it?Simple / Moderate / Demanding50 / 66 / 92 days if done daily after a fixed cue
Days per week1 to 7× (7 ÷ days per week)0.6: 5 days ≈ ×1.22, 3 days ≈ ×1.66
What sets it off?Same cue / Usually / Whenever×1.0 / ×1.2 / ×1.45
How does it feel?Enjoy / Neutral / Chore×0.9 / ×1.0 / ×1.2
Likely window–0.55× to 1.9× the typical estimate

These multipliers are Storey’s rule of thumb, anchored to the research rather than measured by one study. They are published here so you can see exactly why your estimate moved. The curve in your result follows the shape Lally’s team reported: automaticity rises quickly at first, then levels off.

Estimated days to form a habit, by size and frequency

Typical estimate with the likely window in brackets, for a neutral habit tied to one fixed cue.

Habit sizeEvery day5 days a week3 days a weekOnce a week
Simple e.g. a glass of water after breakfast50 (28–95)61 (34–116)83 (46–158)161 (88–305)
Moderate e.g. read 10 pages, a 15-minute walk66 (36–125)81 (44–153)110 (60–208)212 (117–365+)
Demanding e.g. a 45-minute workout92 (51–175)113 (62–214)153 (84–291)296 (163–365+)

How to shorten your timeline

Give it one fixed cue. “After I pour my morning coffee” is easier to repeat than “sometime in the morning”, and a stable context is linked to stronger automaticity.4 The Habit Stack Builder helps you pick an anchor and write the plan.

Repeat it more often, if the habit allows. Repetitions build the link between cue and action. Moving from three days a week to five shortens the typical estimate by about a quarter.

Start smaller than feels necessary. A two-minute version you actually repeat beats a 45-minute version you skip. A minimum viable habit keeps the routine alive on hard days.

Don’t restart the count after a miss. One missed day did not materially change habit formation in the research.1 If a miss has grown into a long gap, here is how to start again after breaking a streak.

Questions about habit formation

How accurate is this habit formation calculator?

It gives a realistic range, not a prediction. The estimate is calibrated to the 66-day median from Lally and colleagues’ 2010 study, in which people repeated one behavior daily in a consistent context, then adjusted for how complex your habit is, how often you repeat it, how stable its cue is and how much you want to do it. Individual results in that study ranged from 18 to 254 days, so the likely window is the most useful part of your result.

Why is my estimate longer than 21 days?

Because the 21-day rule is not supported by habit research. It traces back to observations by plastic surgeon Maxwell Maltz about how long people took to adjust to change, not to measurements of habit formation. Three weeks of repetition builds real momentum, but most measured habits took around two months or longer to become substantially automatic.

Does doing a habit every day make it form faster?

Usually, yes. Every repetition is another chance for the cue and the action to link, so a habit repeated daily tends to become automatic in fewer calendar days than one repeated three times a week. Some habits naturally belong on a weekly schedule, so choose the most frequent rhythm you can actually keep.

What happens if I miss a day?

Very little. In the Lally study, missing one opportunity did not materially affect habit formation. What matters is returning at the next cue so one miss does not become a new pattern of skipping. You do not need to restart the count.

How do I know when a habit has formed?

Look for less negotiation rather than a date on the calendar. Signs include remembering without reminders, the cue making you think of the behavior, starting with little deliberation, and noticing when you miss it. A habit can feel automatic to start and still take effort to do.

Can I make a habit form faster?

You cannot guarantee a speed, but you can improve the conditions. Tie the habit to one fixed cue, repeat it as often as is realistic, shrink it to a version that takes a couple of minutes, and choose a version you genuinely want to do. The calculator shows which of these would shorten your estimate the most.

Sources

  1. Lally, P., van Jaarsveld, C. H. M., Potts, H. W. W., & Wardle, J. (2010). How Are Habits Formed: Modelling Habit Formation in the Real World. European Journal of Social Psychology, 40(6), 998–1009.
  2. Singh, B., Murphy, A., Maher, C., & Smith, A. E. (2024). Time to Form a Habit: A Systematic Review and Meta-Analysis of Health Behaviour Habit Formation and Its Determinants. Healthcare.
  3. Bürgler, S., Milyavskaya, M., McMillan, G., Burns, R. J., Lally, P., & Gardner, B. (2026). What Makes a Habit? Investigating Potential Determinants of Habit Formation. Personality and Social Psychology Bulletin.
  4. Stojanovic, M., Grund, A., & Fries, S. (2022). Context Stability in Habit Building Increases Automaticity and Goal Attainment. Frontiers in Psychology, 13, 883795.