Focus & productivity

Habit formation calculator

Choose how difficult your new habit is to see roughly how long it may take to become automatic.

A well-known study found habits took 18 to 254 days to become automatic, with 66 days as a typical middle. Simple habits form faster than demanding ones.

How long habits really take

The popular idea that habits form in 21 days is a myth. The most cited research tracked people building new routines and found the time to reach automatic behaviour ranged widely, from around 18 days for something simple to over 250 days for something demanding, with a median near 66 days. This calculator maps your chosen difficulty onto that range so you set a realistic expectation from the start.

DifficultyExampleRough days
EasyA glass of water after wakingAbout 18
ModerateA short daily walkAbout 66
HardA demanding daily workoutUp to 254

What makes a habit stick

The strongest predictor of success is doing the behaviour in the same context each time, so anchor it to something you already do, such as after your morning coffee. Keep the starting version small enough that you never have a reason to skip it, and let it grow once it is reliable. Missing a single day has almost no effect on the long-term pattern, so treat a lapse as normal rather than a failure. The number here is a guide to keep you patient, not a target to race towards.

Frequently asked questions

Is it really not 21 days?

No. Twenty-one days is a myth from a misread observation. Real research shows a wide range, with many habits taking two to three months and demanding ones much longer.

Does missing a day reset the clock?

No. Studies found a single missed day had little effect on forming the habit. What matters is getting back to it, not perfect unbroken streaks.

How can I speed things up?

Make the habit small, tie it to an existing routine, and keep the context consistent. Difficulty and consistency drive the timeline far more than willpower or motivation.