# Profit margin & markup calculator

> Free profit margin and markup calculator. Enter cost and price to get profit, margin and markup, or find the price for a target margin.

URL: https://gofirmhub.com/en/finance/margin-calculator/
Last updated: 2026-10-26


Enter your cost and selling price to see your profit, margin and markup — or work out the price you need for a target margin.

Runs entirely in your browser. Nothing you enter is stored or uploaded.

## Margin vs markup

Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. The same profit gives a smaller margin than markup, so it’s worth being clear which one you mean.

## The formulas

Profit = price − cost. Margin = profit / price × 100%. Markup = profit / cost × 100%.

- Example: cost 60, price 100. Profit 40, margin 40%, markup 66.7%.
- The other way round: for a 30% margin on an item that costs 60, the price is 60 / 0.70 = 85.71.

## Markup to margin

Margin = markup / (1 + markup). Some common values:

- 25% markup = 20% margin
- 33.3% markup = 25% margin
- 50% markup = 33.3% margin
- 100% markup = 50% margin

## Margin and VAT or sales tax

Always work out your margin on prices excluding VAT or sales tax. The tax belongs to the government, not to your revenue: if a customer pays 120 including 20% VAT, your revenue is 100.

## Frequently asked questions

### What is a good profit margin?
It depends entirely on your industry and costs — there is no universal number. Compare against typical figures for your sector.

### How do I price for a target margin?
Divide your cost by (1 minus the target margin as a decimal). For a 30% margin on a €60 cost, that’s 60 / 0.70. The calculator shows this under “Required selling price”.

### Is a 50% markup the same as a 50% margin?
No. A 50% markup on a cost of 100 gives a price of 150 and a margin of 33.3%. For a 50% margin the price has to be 200, which is a 100% markup.

## Related free tools

- [Free Business Finance Calculators](https://gofirmhub.com/en/finance/): Free finance calculators for small businesses: VAT, profit margin and markup, and break-even. All run in your…
- [Break-Even Calculator (Free)](https://gofirmhub.com/en/finance/break-even-calculator/): Free break-even calculator. Enter fixed costs, price per unit and variable cost per unit to find your…
- [Free Online Timesheet Calculator](https://gofirmhub.com/en/timesheet-calculator/): Calculate weekly hours worked, overtime, and total pay. Export your timesheet to PDF or CSV. No sign-up…
- [Free Pay Stub Generator & Paystub Maker (PDF)](https://gofirmhub.com/en/pay-stub-generator/): Free online paystub creator and check stub maker. Make a PDF pay stub or paycheck stub in minutes, for…
- [Free Invoice Generator: Make a PDF Invoice Online](https://gofirmhub.com/en/invoice/generator/): Create a professional PDF invoice in minutes. Free invoice generator, no sign-up, works in your browser. Your…
- [Free Quote & Estimate Generator (PDF)](https://gofirmhub.com/en/quote/generator/): Create a professional PDF quote or estimate in minutes. Free, no sign-up, works in your browser. Your data…
- [Free Business Plan Template & Builder](https://gofirmhub.com/en/business-plan/): Free business plan template and builder. Fill in each section in your browser and download a clean plan. No…
- [VAT Calculator — Add or Remove VAT](https://gofirmhub.com/en/finance/vat-calculator/): Free VAT calculator. Add VAT to a net amount or remove VAT from a gross amount, at any rate. Runs in your…
