Am I Saving?

What is it and how do I use it?

I built an online calculator to help people save money. After entering the costs associated with 2 spending options the calculator outputs the breakeven number of purchases between the two options. Example output from the calculator is shown below:

Before 30 purchases you save money with Option A and after 30 purchases you save money with Option B.

Here are some example decisions the calculator can help with:

The general assumption is that one option will have only a per consumption cost, and the other option will have a per consumption cost PLUS some sort of fixed investment.

I’ve made a quick 2 minute video that explains how to use the calculator.


Why I Made This

I created this for a couple reasons. The first is that while I understand the math involved in comparing costs effectively, it’s really clunky and I lose personal efficiency points when I need to manually do algebra to compare purchasing decisions. Having a deployed calculator means no manual algebra and having access to the tool anywhere / anytime.

The second reason is that this tool makes cost saving calculations available to everyone, regardless of their mathematical inclination. No algebra, no fractions, just a quick informative result about their spending options.

The third and final reason is that lots of cost saving online calculators exist but they are primarily geared towards deciding about renting vs. buying housing. As a consequence, they require lots of context specific user input (interest rates, mortgage rates, etc.) and are not well suited for general cost comparisons. This calculator attempts to fill that gap.

This is my first fully deployed project and I learned a TON building it. Certainly not perfect, but I’m happy with where I ended up.


That completes the general overview of the project and everything below discusses the technical aspects of the project.


Technical Work

I built the interactive graph using bokeh, wrote the html jinja template, styled the front end using bootstrap, and deployed the application using Heroku. This was my first time deploying an application and I don’t think I would have survived without git!

When I started this project I had a few goals. I wanted to:

  1. Use a new python package
  2. Deploy the project
  3. Visualize results
  4. Make something genuinely useful for me and others

I’d say I accomplished all my goals.

  1. I used bokeh to serve an interactive dashboard.
  2. I deployed the project using Heroku and a custom domain name.
  3. I designed the webpage using html and css (lots of bootstrap).
  4. I used this tool the other day to investigate an espresso machine.

Other Ideas

This project really sat in my mind as something that would never end, as kept having (and still keep having) lots of ideas on how to extend it even further. Here are some of my ideas: