Skip to content

Margin calculator

Margin, markup and gross profit calculator

See what each sale leaves, and the price your target margin needs.

Free, with no sign-up. The starting figures are samples: change them to yours. GST is shown separately and is never added to gross profit.

WHAT IT COST YOUWHAT IS LEFTPRICEyour marginwhat each sale leaves
Price, cost and what is left.

Your numbers

One item or one job, or a whole period’s sales. Choose what you know, enter the cost and read the result.

Sample figures Change them to yours.

Amount in A$. Include freight, packaging and other direct costs once. If GST is not fully claimable, enter your actual cost after the credit you can claim.

Amount in A$, on the basis chosen under GST assumptions.

Result per item GST assumptions

Gross profit per item
A$40.00
Effective cost
A$80.00
Selling price excluding GST
A$120.00
Gross margin
33.33%
Markup on cost
50.00%
GST on sale
A$12.00
Customer price
A$132.00

Cost entered excluding fully claimable GST, used as entered. Standard 10% GST on this sale. Selling price entered excluding GST, used as entered.

Gross profit is before overheads and income tax. This is a pricing estimate, not an invoice.

GST assumptions

You choose the basis for each amount. The calculator does not decide GST registration, credit entitlement, input-taxed status or mixed supplies. Check the GST treatment with your accountant before using this result.

Calculation detail

Gross profit is price, or sales, less cost. Margin is gross profit ÷ price, or sales. Markup is gross profit ÷ cost. With a selling price entered, the ratios use the unrounded cost and price. With a target margin or a markup, they use the rounded price quoted, so the achieved figures can differ slightly from the ones you asked for.

Amounts are shown to the nearest cent, half up, so a displayed cost and profit can differ by a cent from the amount a ratio implies. Nothing is recomputed from the rounded labels. This is a pricing estimate, not an invoice or a BAS calculation.

Download the blank worksheet (CSV)

In Google Sheets: import the CSV, format the money columns to two decimals, and keep the margin and markup columns as plain numbers. They hold percentage points, such as 33.3333, so a percent format would multiply them by 100 again. There is no live Xero connection and no automatic refresh.

Keep this markup and margin calculation

Optional. Get your inputs, price, markup and margin by email.

By signing up you agree to get a few emails from me on workflows and automation. Every email has an unsubscribe link. Privacy

The calculation works in your browser. Your figures are sent only if you choose the results email.

General information only. This is not tax agent or legal advice. Ask your accountant about your GST treatment.

What each sale leaves

QUOTEcost plusa bit?priced inyour head

Today. The price is cost plus a bit, worked out in your head.

COSTPRICEWHAT IS LEFTwhat each sale leaves

Put in the cost and the price. See what each sale leaves.

PRICEwhat yourmargin needsbefore the quote goes

Then the price your target margin needs, before the quote goes.

An example. The details are made up.

The detail, if you want it

The price and the profit

The price and the profit

Sample figures, not a customer’s

Sample cost, sample price before GST, gross profit, margin and markup
Sample costSample price before GSTGross profitMarginMarkup
A$80A$120A$4033.33%50%

Margin and markup use the same dollars, with different denominators. Use this calculator to check a price or to find the price your target margin needs. Choose the GST treatment before relying on the result.1, 2, 5, 6

How to use it

How to use it

  1. Enter the cost.

    The landed cost of one item or job.

  2. Enter what you know.

    Its selling price, target margin or markup.

  3. Check the result.

    The GST basis, the gross profit and the achieved margin.

Include the direct costs you want counted. Do not count freight twice. Keep overheads separate when you compare this result with a full business profit.

A worked sample

A worked sample

Sample figures, not a customer’s

The sample calculation in Australian dollars
Sample calculationAUD
Cost before fully claimable GSTA$80.00
Price before GSTA$120.00
Gross profitA$40.00
Standard GST on the saleA$12.00
Customer priceA$132.00

These are sample figures. A$40 divided by A$120 gives a 33.33% margin. Divide the same A$40 by A$80 and the markup is 50%. The GST on the sale is shown separately. It does not become extra gross profit.1, 2, 5, 6

What the result means

What the result means

Reading the result

Each kind of result and the next check
ResultNext check
Positive gross profitCheck the overheads and other costs still to cover
Below-cost saleRecheck the cost, discount and selling price
Undefined ratioRead the zero-denominator message

This is a pricing check. It does not tell you the business’s net profit. A target price also needs a commercial check, because your customer may not accept it. Keep the assumptions with the quote and check them when costs change.

For the weekly check of cost against quote on every open job, see job costing for trades. For margin by job from your job software, see job profit reporting in your software. The other checks are in all Works Better calculators.

Questions

Questions

What is the difference between margin and markup?

Margin divides gross profit by the selling price. Markup divides the same gross profit by cost. In the sample, A$40 profit on an A$80 cost and A$120 sale gives 50% markup and 33.33% margin. Neither percentage tells you what overheads the business still needs to cover.5, 6

How do I find a price for a target margin?

Divide cost by one minus the target margin written as a decimal. For a sample A$80 cost and a 40% target, A$80 divided by 0.60 is A$133.3333. This tool rounds the minimum quoted price up to A$133.34 before GST. It then shows the margin that quoted price achieves. This is algebra from the two formulas, not a separate rule.5, 6

Should I enter GST-inclusive or GST-exclusive amounts?

Choose the basis beside each amount. The standard option removes 10% GST only where the input includes it and the purchase GST is fully claimable. If some GST cannot be claimed, enter the actual cost after the available credit instead. Ask your accountant about uncertain treatment. The calculator does not decide your entitlement.1, 2, 3, 4

How do I work out gross profit for the whole business?

Choose “Total sales and cost of sales”. Enter the sales and the cost of sales for the same period, as your profit and loss report shows them (usually both excluding GST). Gross profit is sales less cost of sales, and gross margin is that profit divided by sales. On sample figures, A$650,000 of sales less A$412,500 of cost of sales leaves A$237,500, a gross margin of 36.54%. It is still before overheads and income tax.

Can a gross margin equal 100%?

Yes, in the arithmetic, if cost is zero and the selling price is positive. Markup is then undefined because its denominator is zero. That does not show the business has no other costs. A target-margin calculation of 100% is different: the price formula would divide by zero, so the tool rejects it.

Does gross profit equal the cash I can keep?

No. This tool subtracts the cost you entered from the normalised selling price. It does not separately deduct every overhead, interest cost or income-tax amount. Check which costs you included before comparing products or jobs. Use a full profit and loss and a cash forecast for the wider business decision.6, 7

Will this change prices in Xero or my job software?

No. The calculator runs on this page and produces a CSV you can check. It does not connect to your accounts or update a live price list. Keep the current price, the target and the approval together before changing software. A person should approve the change in the system you use.

Sources

Sources

The formulas, limits and rounding rules in this calculator are its own design, not rules from these pages. The limits (A$1,000,000,000 an amount, A$1 trillion for a generated price) are software limits, not commercial or tax thresholds.

Renzo Demartini, Chartered Accountant (CA ANZ)

Sources read 5 November 2026. Arithmetic checked against this page's test cases; not a professional review.

For the decision across a whole business, see the wider job-margin decision on renzodemartini.com.

I get the systems you already have talking to each other and working together, so you get your nights and weekends back and are home for dinner.

Renzo

Renzo Demartini, Chartered Accountant

Works with Xero, MYOB, QuickBooks, n8n and Zapier, your job software, and whatever else you run.

Get a free fit check by email

Send the form with the workflow to fix and your email. Your software, team size and timing are optional, but they help. I reply by email, usually with a question or two, and tell you whether it's a fit. No call needed. If it is, the next step is the A$1,500 Workflow Audit.

Tell me what’s stuckStep 1 · Fit check · free, by email

Optional, but it helps me reply

Sending saves your details in HubSpot so I can reply. No mailing list. No payment is taken. How your enquiry is handled.