Skip to main content

Calculate the sum of everything up to a given number

My wife showed me a Tik Tok series where someone was decluttering their life by getting rid of an increasing amount of items every day for 30 days. That’s kind of hard to type out, but the idea was getting rid of one thing on day 1, then two things on day 2, etc. until tossing thirty things on day 30.

It was late a night, and we both struggled with the math of determining how many items this person would give away by the end of the experiment1. Being an engineer, I set out the next day to create a little tool to calculate that for you.

Type in the number of steps (in our case 30 for thirty days), and select “Calculate” to see the sum:

Try this interactive on seanmcp.com

I remember seeing something similar when I was in college and folks would try to raise support to go on a mission trip. They would have a board with every number from 1 to 100 (or so) and try to find people who are willing to donate that amount. With this calculator, you should be able to figure out how long your support board needs to be with some guess and check.

Hopefully this helps someone else.

Happy counting!

Footnotes

  1. Spoiler: It’s 465 items