Case study · Reusable tool · Website calculator
Advertising ROI calculator
A calculator that takes an advertising budget through estimated reach, visits and sales to revenue, profit and break-even. It can be branded and embedded on another website.
Let someone explore the numbers before they enquire.
A headline return figure is not enough to explain a campaign. Visitors need to see the assumptions and understand the difference between sales revenue and profit after the costs of advertising.
- 01Budget & assumptions
- 02Funnel & cost calculations
- 03Return & break-even estimates
What I built
A connected calculation
Budget, cost per thousand, click-through rate, conversion rate and order value feed a visible funnel. Changing one input updates the figures that depend on it.
Costs remain part of the answer
The model applies profit margin to revenue, then deducts media and production costs. It also shows the revenue needed to break even.
Ready to fit another website
Brand colours, display name, currency and locale are configurable. The tool can be embedded using an iframe.
A small technical footprint
One HTML file contains the interface and calculations. It works locally without a database, account or tracking service.
What this delivers
A visitor can explore how the assumptions affect the outcome instead of reading a fixed example. The same approach works for calculators that support a sales conversation or explain a service.
The technical side
The main components and the decisions behind them.
- Implementation
- Plain HTML, CSS and JavaScript, with no build step or runtime dependencies.
- Maths
- The funnel uses unrounded values internally and rounds for display. Net return deducts total spend from gross profit.
- Distribution
- Configurable branding and iframe embedding allow one hosted tool to be used across multiple websites.
- Limits
- Outputs are scenarios based on entered assumptions, not forecasts or guarantees of campaign performance.
What could this look like for your business?
I can build a calculator using your own pricing or business rules: cost estimates, savings comparisons, eligibility checks or quote builders. We agree what the answer means and how it should be presented.
We can start with a conversation.
You don't need a technical brief. Tell me what you want to make easier, who will use it and what you use now. I'll help work out what needs building.
Talk to me about your idea