Offertje
Offertje · United Kingdom

Embed a free profit margin calculator in GBP

Add a working margin and markup calculator to an article, business resource page or course. Copy the iframe code; no account or API key is needed.

Try the calculator your readers will see

Open the calculator without an embedded frame

Copy this HTML into your website

Select and copy the code below. Use a Custom HTML block in WordPress or an embed element in your page builder. A plain text block will display the code instead of the calculator.

Place it where the calculation helps

  1. Choose the edition matching your readers and currency. The UK widget uses GBP; the US widget uses USD.
  2. Paste the complete code into an HTML block below your explanation of pricing. No separate JavaScript installation is required.
  3. Preview the published page on a phone and a computer. Keep the width responsive; increase the height if your layout needs more room.
  4. Keep a normal link to the full calculator near the widget so readers can continue if their browser or editor blocks frames.

Useful places for this widget

Explain the two percentages before asking readers to choose

Gross margin divides gross profit by selling price. Markup divides gross profit by cost. For a target margin, price = cost ÷ (1 − margin/100). For markup, price = cost × (1 + markup/100). Enter costs and prices on the same tax basis. This is gross profit: fixed costs and personal tax are not deducted.

Worked example

A direct cost of 80 and a target margin of 20% give a price of 100 and gross profit of 20. A 20% markup instead gives a price of 96, profit of 16 and a margin of 16.67%. All figures are illustrative.

The widget shows a gross-profit calculation, not take-home profit or a recommended selling price. Use a consistent tax basis for costs and selling prices.

How the embedded version works

The calculation runs in the reader’s browser. The frame uses no cookies, browser storage, advertising scripts or analytics requests. It still loads its HTML, stylesheet and script from Offertje, so ordinary hosting requests are necessary. The link opens the full calculator in a new tab; that page has its own privacy information and standard site measurement.

About & privacy