Skip to content
All work
Enterprise2026 Case study

Price-Check

Replaced a weekly 30-branch price spreadsheet with a margin engine, a web dashboard and a Flutter field app.

Price-Check
Price-Check landing page
Branches
30
Products tracked
218
Competitor price points
~3,000

The challenge

A retail and wholesale group compared prices against local competitors in a large weekly workbook that only a couple of people understood. Formulas varied by sheet and nobody fully trusted the margin numbers.

Our solution

We parsed the real workbook first, fixed the assumptions it exposed, and built a PostgreSQL schema, a tested margin engine behind a Node API, a Next.js dashboard and a Flutter app for capturing competitor prices in store.

Built withNext.jsNodeExpressPostgreSQLFlutterPython

How we built it

The approach.

  1. 01

    Read the data before trusting the spec

    The spec said standard-rated and exempt products used different margin formulas. The data showed the formula was the same and only the cost input changed, so that is what the engine implements.

  2. 02

    Name both ratios

    The workbook mixed markup over cost with gross margin over the competitor's price under similar labels. The API returns both, named, so nobody compares one with the other by mistake.

  3. 03

    Separate real competitors from internal references

    Some "competitor" columns were the group's own reference prices. They are flagged as internal and left out of margin-to-match unless someone asks for them.

  4. 04

    Capture prices where they are

    A Flutter field app lets staff record competitor prices in the store, feeding the same database the dashboard reads.

The spreadsheet problem

Every week, a retail and wholesale group with 30 branches compared its prices against local competitors in a large Excel workbook. It worked, but only one or two people understood it, and nobody fully trusted the margin numbers because the formulas varied by sheet.

What the data taught us

We started by parsing the workbook, not by building screens. That surfaced things the written spec had wrong. Standard-rated and exempt products did not use different formulas, they used different cost inputs. The "Margin" column was markup over cost while "Margin to match" was gross margin over the competitor price. Several "competitor" columns were the group's own reference prices. Most branches used one sheet layout and seven used a lighter one. Fifteen rows had costs more than double the price, almost certainly pack-size typos.

Each of those findings became a rule in the system instead of a surprise in a meeting.

What we built

A PostgreSQL schema with branches, products, competitors and weekly prices; a Node and Express API with the margin engine and JWT auth; a Next.js dashboard showing branch-level margin, markup and lines undercut by competitors; and a Flutter app for capturing prices in the field. The engine is tested against real rows from the workbook to six decimal places.

Where it landed

The dashboard runs on Vercel, so margins by branch and product are reviewed in a browser instead of a shared spreadsheet. Price-Check is available as a product for other multi-branch retailers and wholesalers.

Frequently asked questions

What is the difference between markup and gross margin?

Markup is profit as a share of cost, (sell − cost) ÷ cost. Gross margin is profit as a share of the selling price, (sell − cost) ÷ sell. They give different numbers for the same sale, which is why Price-Check returns both, clearly named.

Can Price-Check import our existing spreadsheet?

Yes. The ETL was built for a real multi-branch workbook with two sheet layouts and is adapted to each customer's format.

Let's build together

Have somethingworth building?

Tell us about it. You'll get an honest read on scope, timeline and cost within one business day — from the people who would actually do the work.

Or email us directly — info@techiesofepi.com