Profit margin calculator
Work out your profit margin and markup from cost and price, or find the selling price you need for a target margin. Free, with no sign-up.
Use any currency. Cost means everything it takes to make or buy one unit.
- Selling price
- 100.00
- Profit
- 20.00
- Margin
- 20%
- Markup
- 25%
How it's worked out
Profit = 100.00 − 80.00 = 20.00
Margin = profit ÷ price = 20%
Markup = profit ÷ cost = 25%
Next steps
Margin and markup formulas
- Profit = selling price − cost
- Margin = profit ÷ selling price × 100
- Markup = profit ÷ cost × 100
- Price for a target margin = cost ÷ (1 − margin ÷ 100)
- Price for a markup = cost × (1 + markup ÷ 100)
Markup and margin side by side
| Markup | Margin |
|---|---|
| 10% | 9.09% |
| 20% | 16.67% |
| 25% | 20% |
| 50% | 33.33% |
| 100% | 50% |
| 200% | 66.67% |
What counts as a good margin?
It depends heavily on the business. Services and digital products often run high margins because each extra sale costs little, while retail and food usually run much lower. Rather than chasing a number, make sure your margin covers your overheads, like rent, wages and software, with room left for profit.
Next steps
Found your price? Send a quotation or an invoice, and use the GST or VAT calculator to add tax.
Questions
- What's the difference between margin and markup?
- Both measure profit, but against different things. Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. Buying at 80 and selling at 100 gives a 20 profit: that's a 20% margin but a 25% markup.
- How do I calculate profit margin?
- Margin = (selling price − cost) ÷ selling price × 100. For a cost of 80 and a price of 100: (100 − 80) ÷ 100 × 100 = 20%.
- How do I find the price for a target margin?
- Price = cost ÷ (1 − margin ÷ 100). For a cost of 80 and a 20% margin: 80 ÷ 0.8 = 100. Adding 20% to the cost (96) is a common mistake, which gives a margin of only about 16.7%.
- Why can't my margin be 100% or more?
- Margin is a share of the selling price, and profit can never be bigger than the whole price. Markup has no such limit: selling something for three times its cost is a 200% markup, but only a 66.67% margin.
- Should I include tax in the cost and price?
- Work out margins without GST or VAT, since the tax isn't your money. Use prices before tax on both sides.
More free tools
- Invoice generatorYour logo, line items and tax, downloaded as a PDF.
- GST invoice generatorTax invoices with GSTIN, HSN/SAC and CGST, SGST or IGST worked out.
- SAC code finderSearch the official GST list of SAC codes for services, by keyword or number.
- HSN code finderSearch the GST portal's list of HSN codes for goods, by product or number.
- GSTIN checkerCheck a GST number for typos, and see its state, PAN and the full state code list.
- Receipt generatorProof of payment for cash, card, UPI or bank transfer, marked Paid.
- Rent receipt generatorMonthly rent receipts for HRA claims, with landlord PAN, in one PDF.
- Salary slip generatorPayslips with earnings, deductions and net pay in words, as a PDF.
- Quotation generatorQuotes and estimates with your logo and a valid-until date, as a PDF.
- Merge PDFCombine PDFs into one, in any order. Files never leave your device.
- Split PDFPull out the pages you need, or split a PDF into several files.
- Compress PDFShrink scanned and image-heavy PDFs, right in your browser.
- Organise PDF pagesReorder, rotate and delete pages, with a preview of each one.
- Rotate PDFTurn sideways or upside-down pages the right way up, one page or all of them.
- Sign PDFDraw or type your signature and place it on any page. No printing or scanning.
- Add page numbers to PDFNumber every page, in the position and style you choose.
- Watermark PDFStamp Confidential, or who an ID copy is for, across every page.
- Unlock PDFRemove the password from a PDF you can open, like a bank statement or e-Aadhaar.
- Protect PDFAdd a password, so only people who have it can open the file.
- JPG to PDFTurn photos and scans into one PDF, in the order you choose.
- PDF to JPGSave every page of a PDF as a JPG image.
- Compress imageShrink a photo or signature to 20KB, 50KB or any size, for online forms.
- Resize imageSet an exact size in pixels, cm, mm or inches, with the DPI a form asks for.
- Passport size photo makerCrop a photo to 3.5 × 4.5 cm or 2 × 2 inch, and print a sheet of eight.
- Image converterConvert between JPG, PNG and WebP, up to 50 images at a time.
- Signature makerDraw, type or clean up your signature, and save it as a transparent PNG.
- QR code generatorLinks, Wi-Fi, email or phone. Custom colours and your logo.
- Barcode generatorEAN-13, UPC and Code 128 barcodes, as PNG, SVG or a sheet of 24 labels.
- Wi-Fi QR code generatorGuests scan it and join your Wi-Fi. No typing passwords.
- WhatsApp link generatorA click-to-chat link and QR code for your number, with a ready-made message.
- Google review QR codePrintable cards that take customers straight to your Google review form.
- UPI QR code generatorA scan-to-pay QR for your shop or fees, as printable cards or an image to send.
- Email signature generatorA professional signature for Gmail, Outlook and Apple Mail. Copy and paste.
- Income tax calculatorOld vs new regime for FY 2026-27, with HRA, 80C and other deductions.
- In-hand salary calculatorTurn a CTC into monthly take-home pay, after PF, tax and more.
- HRA exemption calculatorHow much of your HRA is tax-free, with all three limits worked out.
- GST calculatorAdd or remove GST from any price, with the CGST, SGST and IGST split.
- VAT calculatorAdd or remove VAT at UK, EU and other rates.
- Amount in wordsAny amount in words, in lakh and crore or millions, for cheques and invoices.
- SIP calculatorWhat a monthly SIP could grow to, with an optional yearly step-up.
- EMI calculatorMonthly EMI, total interest and a yearly breakdown for any loan.