Habit grid maker
Type a habit, pick a colour, then tap or drag across the days you did it, or fill them from a start date with a done rate. You get a year of colored squares, like a GitHub contribution graph, with your streaks counted, ready to download as a PNG.
Tap a square to switch a day on or off, or drag across squares with a mouse. With a keyboard, use the arrow keys to move and Space to switch a day.
The grid maker needs JavaScript to draw your squares.
How full a year of squares gets
A done rate turns into squares like this. A year has 365 squares (366 in a leap year), arranged in 52 or 53 columns of weeks.
| Done rate | Squares filled in a year | In a 30-day month | Days a week, on average |
|---|---|---|---|
| 100% | 365 | 30 | 7 |
| 90% | 329 | 27 | 6.3 |
| 80% | 292 | 24 | 5.6 |
| 70% | 256 | 21 | 4.9 |
| 50% | 183 | 15 | 3.5 |
| 3 days a week | 156 | 13 | 3 |
How it works
- Columns are weeks, rows are weekdays. The first column starts on the Monday (or Sunday) on or before the first day of the range, so a year needs 53 columns.
- Fill automatically switches on about the chosen share of days from the start date to today, at random but repeatably, so the same settings give the same grid. Days before the start date stay empty.
- Streaks. The current streak counts back from today, or from yesterday if today isn’t marked yet. The best streak is the longest unbroken run. Consistency is days done ÷ days so far in the range.
- The PNG is drawn on a canvas in your browser at double resolution, with the habit name, the counts and a small habitforever.app credit. Nothing is uploaded.
Why a grid beats a streak counter
A streak number only tells you about the last break. A grid shows the whole pattern: the strong months, the weekend gaps, the week you were ill and came straight back. That matters, because missing a single day didn’t materially affect habit formation in Lally and colleagues’ 2010 study. One empty square in a long run of color looks like what it is, a blip. More on that in what a broken streak really means, and how long the squares usually take to add up to a habit in how long it takes to form a habit.
FAQ
What is a habit grid?
A habit grid shows one square per day, colored when you did the habit, laid out in columns of weeks like a GitHub contribution graph. It makes a year of consistency visible at a glance.
Can I make a grid for a past year?
Yes. Choose a year in the Range menu, then tap the days you did it or fill them from a start date with a done rate.
Is anything I make uploaded?
No. The grid and the PNG are made in your browser, and nothing is sent to a server or saved.
Can I use the image anywhere?
Yes. The PNG is yours to share or print. It carries a small habitforever.app credit in the corner.
Sources
- 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. doi.org/10.1002/ejsp.674