Portfolio / Grocery & gas price tracker
Grocery & gas price tracker
Log what you pay (or pull prices in automatically), and the app tells you the all-time high, the low, the average, whether today is a good day to buy, and how much you’ve lost by buying at the wrong time.
Pick an item. Let’s see if you’ve been paying too much. No judgment. Some judgment.
Meet Linda, who drives for work and shops for a family of five.
Gas and groceries are her two biggest flexible expenses. She has a feeling she always fills up on the expensive days, and egg prices seem to jump every other week, but she has no record to prove it or plan around.
Example scenario: the people and businesses on this page are made up.
Before
- No idea what a "good" price actually is
- Filling up whenever the tank is low
- Prices that feel random
- No way to know how much buying high cost her
After
- All-time high, low and average for every item
- A heads-up when today is above average
- "Potential savings lost" in dollars
- A habit of buying at better times
Try it yourself
Price history
Your purchases
| Week of | Price | Bought | Spent | vs average |
|---|
Log a price or a purchase
* Enter prices by hand, or pull them in automatically. Check whether your data source (a store, a gas price service, a receipt app) offers an API or export before building.
A browser simulation with sample prices and purchases. Not financial advice.
What this could be worth to you
A few cents here and there adds up when it’s every tank of gas and every grocery run.
Example numbers to start you off. Move the sliders to match your business. These are estimates, not a guarantee or financial advice; your results depend on your situation.
The problem
Prices move constantly, and without a record it’s impossible to know whether you’re paying a fair price, or how much buying at the wrong time costs over a year.
The solution
A small app where you log prices and purchases by hand, or connect to a price source if one offers an API. It keeps the history, calculates highs, lows and averages, and compares every purchase with the average to show the savings you missed.
How it's built
- CollectType in prices, or pull them from an API if one exists.
- StoreKeep every price and purchase in one history.
- CompareHighs, lows, averages and today vs. normal.
- ScoreWhat each purchase cost vs. the average.
- NudgeAn alert when today is a good or bad day to buy.
"Potential savings lost" is one line of pandas:
avg = prices["price"].mean()
buys["lost"] = (buys["price"] - avg).clip(lower=0) * buys["qty"]
print(f"High {prices.price.max():.2f} · Low {prices.price.min():.2f} · Avg {avg:.2f}")
print(f"Potential savings lost: ${buys.lost.sum():.2f}")
What it makes possible
- Know a good price when you see one
- Buy at better times, automatically reminded
- Small savings that add up every month
Skills shown
More to try
Want to track prices for your business?
Supplies, materials, fuel or inventory: the same idea works on what your business buys.
Starting prices are for smaller projects. Bigger or more complex jobs are priced by scope: how much there is and how long it takes.