Profit Margin Calculator
Margin and markup are easy to mix up. Enter your cost and selling price to see both, or enter a target and get the price you need to charge.
Results are calculation aids, not tax, legal or accounting advice. Check rates and rules that apply to you.
Worked example
Inputs: I want to… = find margin and markup from a selling price · Cost = 800 · Selling price = 1000
- Selling price
- ₹1,000
- Cost
- ₹800
- Profit
- ₹200
- Margin (profit ÷ price)
- 20%
- Markup (profit ÷ cost)
- 25%
Formula
- 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 target markup = Cost × (1 + Markup ÷ 100)
Calculation information
Assumptions
- Cost includes everything you want covered before profit.
- One unit, one price.
Rounding
Shown to 2 decimal places.
Limitations
- This is gross margin on the cost you enter; it doesn't include overheads you haven't put in the cost.
Last reviewed 2026-11-15.
Frequently asked questions
What's the difference between margin and markup?
Margin is profit as a share of the selling price; markup is profit as a share of cost. A 25% markup is a 20% margin.
Why can't the target margin be 100%?
A 100% margin would need an infinite price, because margin is measured against the selling price.
Related tools
Related data tools
Free lookups from open public data that go with this kind of work.
- Currency-apiGet exchange rates for one base currency against more than 150 currencies, including a number of crypto assets, in one list. Useful for developers and analysts who want a whole table of rates for a single base code such as usd or eur.
- EU VAT Rates by Commodity CodeEnter a four-digit Combined Nomenclature (CN) code and see the VAT rate each EU member state applies to those goods. Useful for sellers, accountants and anyone pricing products across borders.
- Finance Clearly Tax RatesCheck current UK and US tax figures in one place: UK income tax bands and personal allowance, National Insurance, VAT, ISA and pension limits, plus US retirement limits. This page highlights the key numbers. It helps freelancers, small business owners and anyone planning a tax year.
- India Public HolidaysList India's official public holidays for a year, for the Central government or for one state or union territory. Each row says whether it is a gazetted or a restricted holiday. Useful for HR teams, schools and anyone scheduling work across Indian states.
- UK Bank HolidaysLists UK bank holidays for England and Wales straight from GOV.UK, with dates and notes such as substitute days. Useful for employers, schools and anyone planning around days when banks and many businesses close.
- Marketplace Fee DataSee the seller fees a marketplace or payment processor charges, one line per fee: transaction cut, payment processing, listing fee and so on. Useful for online sellers pricing a product and for anyone comparing where to sell.