Canada version. In Canadian dollars with the GST/HST rate for your province: margin is worked on the pre-tax price, and the tool shows the price your customer pays with tax. US version

Margin and Markup Calculator (Canada, GST/HST)

Work out margin and markup in Canadian dollars on the pre-tax price, then see the total with 5% GST or your province's HST, from 13% in Ontario to 15%.

The interactive tool loads here when JavaScript runs.

About this tool

What is the Margin and Markup Calculator?

In Canada you can show prices before tax and add GST/HST at the till, or build the tax into the price, as long as you tell customers which one you do. The CRA says receipts, invoices, contracts or signs at your place of business can do that. Either way your margin is on the pre-tax price, because the GST/HST you collect goes to the CRA.

The rate depends on the province. GST is 5% in Alberta, British Columbia, Manitoba, Saskatchewan, Quebec and the territories; HST is 13% in Ontario, 14% in Nova Scotia since April 1, 2025, and 15% in New Brunswick, Newfoundland and Labrador and Prince Edward Island. British Columbia, Manitoba, Saskatchewan and Quebec add their own provincial sales tax on top.

This version starts in Ontario: an item that costs $40, priced for a 45% margin. The pre-tax price is $72.73 and the customer pays $82.18 with 13% HST. The same margin in Alberta gives a $76.36 total, which matters if you sell online across provinces. If you price tax-included, switch on "The price I enter includes" and type the total.

  • Solves any valid pair of cost, price, margin, markup and profit
  • Margin to markup conversion table with prices at your cost
  • Shows the margin-as-markup pricing mistake and its cost per unit
  • Optional unit count for batch totals
  • Optional sales tax or VAT rate, with prices entered before or including tax
  • Currency selector, copy and shareable links
Read the guide: Margin, Markup and Break-Even: The Arithmetic of Pricing

Updated

How to use the Margin and Markup Calculator

  1. Choose what you know from the "I know the" menu, for example Cost and target margin.
  2. Type the two values. Margin and markup are entered as percentages, cost and price as money.
  3. Optionally enter the number of units sold to see total revenue and total profit.
  4. Read the margin, markup, profit, price and cost cards. The calculation panel shows each formula with your numbers.
  5. Check the "classic pricing mistake" panel to see what would happen if the margin were applied as a markup, then copy the results or share a link.

Worked examples

Pricing for a 45% margin in Ontario

Input

Cost $40, target margin 45%, HST 13%

Output

Pre-tax price $72.73; markup 81.82%; with HST $82.18 ($9.45 tax)

$40 / (1 - 0.45) = $72.73. A 45% markup on cost would give $58.00, only a 31.03% margin, $14.73 short on every unit.

Same product shipped to Alberta and Nova Scotia

Input

Cost $40, margin 45%, GST 5% or HST 14%

Output

Pre-tax price $72.73 in both; total $76.36 in Alberta and $82.91 in Nova Scotia

Your margin does not change with the province because it is on the pre-tax price. Only the tax line, and the total your customer sees, changes.

Background and insight

The two ratios convert with simple formulas. Markup = margin / (1 - margin), and margin = markup / (1 + markup). A 25% margin needs a 33.33% markup, a 50% margin needs a 100% markup, and a 75% margin needs a 300% markup. Margin can never reach 100% while the item costs anything, because profit can never be the whole price. Markup has no upper limit.

Retailers have historically quoted markup because it is easy to apply on the shop floor: multiply cost by 1.5 and you are done. Finance teams and investors talk about gross margin because it lines up with the income statement, where gross profit is shown as a percentage of revenue. Mixing the two vocabularies in one conversation is where most pricing errors start.

This tool deals in gross margin per item: selling price less the direct cost of the item. It does not subtract rent, salaries, marketing or tax, so it is not net profit margin. For the volume you need to cover those overheads, use the break-even calculator.

Common use cases

  • Setting a retail price

    Start from landed cost and the gross margin your category needs, and let the tool give the shelf price instead of guessing a multiplier.

  • Checking a wholesaler's terms

    A supplier quotes a suggested retail price and a "keystone" markup. Enter price and markup to see the margin you actually keep.

  • Quoting services

    Freelancers and agencies with a cost per hour can find the rate that leaves a target margin after subcontractor or tool costs.

  • Explaining pricing to a team

    Use the conversion table to show sales staff why "50% off cost" and "50% margin" are very different prices.

Tips and limitations

  • If you price tax-included in a store, post a sign or print it on receipts; the CRA lists those as ways to tell customers that GST/HST is included.
  • In British Columbia, Manitoba, Saskatchewan and Quebec, enter GST plus provincial sales tax (for example 12% in BC) to see the customer's total, or GST alone to see only the federal part.
  • Enter your cost before GST/HST if you are registered and claim input tax credits; small suppliers who are not registered should enter cost including the tax they paid.

Sources and further reading

  1. GST/HST calculator (and rates), Canada Revenue Agency. Rates by province, including Nova Scotia at 14% from April 1, 2025.
  2. General Information for GST/HST Registrants (RC4022), Canada Revenue Agency. Telling customers whether tax is included; the small supplier threshold.

Frequently asked questions

Is margin calculated before or after HST?

Before. GST/HST is collected for the CRA, so it is not revenue. If your shelf price includes HST, divide by 1.13 in Ontario (1.05 where only GST applies) to get the pre-tax price, then work out the margin.

Do Canadian prices have to include tax?

No. The CRA lets you either include GST/HST in the price or add it separately, and says you can use receipts, invoices, contracts or signs to tell customers which you do.

What are the GST and HST rates by province?

GST is 5% in Alberta, British Columbia, Manitoba, Saskatchewan, Quebec and the three territories. HST is 13% in Ontario, 14% in Nova Scotia (from April 1, 2025) and 15% in New Brunswick, Newfoundland and Labrador and Prince Edward Island.

How do I calculate the HST included in a price?

Divide the total by 1 plus the rate and subtract. An $82.18 total in Ontario is $82.18 / 1.13 = $72.73 before tax, so $9.45 of it is HST.

Do I charge GST/HST if I am a small business?

Not until you stop being a small supplier. The CRA defines a small supplier as having $30,000 or less of revenue in a single calendar quarter and over the last four consecutive quarters ($50,000 for public service bodies).

Is there an in-depth guide to the Margin and Markup Calculator?

Yes. “Margin, Markup and Break-Even: The Arithmetic of Pricing” covers the background, how it works, common pitfalls and worked examples. Read the full guide.