Back to articles
The Compounding Math of Daily Habits (With Real Numbers)

The Compounding Math of Daily Habits (With Real Numbers)

via Dev.to WebdevEastkap

The Compounding Math of Daily Habits (With Real Numbers) Everyone talks about "compound interest" when it comes to habits. What almost nobody does is show the actual math. I built HabitStock partly as a personal experiment: what does the compounding effect of habits actually look like when you run it through a real price model? Turns out the numbers are more dramatic than most people expect -- and more forgiving after a miss than any streak counter would have you believe. The Setup HabitStock treats each habit like a stock ticker. Every day you complete the habit, the price goes up by a base amount. Every miss, the price drops by 1.8x that same amount (mimicking the Kahneman-Tversky loss aversion coefficient: we feel losses roughly 1.8-2.5x more than equivalent gains). Starting price: 100. Let's run three scenarios over 30 days. Scenario 1: Perfect Month 30/30 days completed. Daily gain: +5 points. Day 30 price: 100 + (30 x 5) = 250 Simple, obvious. But here is what is interesting: thi

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles