Profit Margin Calculator
Work out gross profit, gross margin, markup and the price you should charge. Start from cost and price, or set a target margin and let the tool find the price. Everything runs locally in your browser — no account, no upload, no API call.
Choose a calculation
Results update as you type.
Gross profit
—
Details
Gross margin—
Markup—
Selling price—
Privacy: calculations happen entirely in your browser. Your numbers are never uploaded or shared.
Margin vs markup: margin is profit as a share of the selling price; markup is profit as a share of the cost. A 40% margin is a 66.67% markup, not 40%.
Guide
How to use this tool
- Cost + price — see the profit you actually make and the implied margin and markup.
- Target margin — enter cost and the margin you want; the tool finds the price to charge.
- Target markup — enter cost and your markup; the tool finds the price and resulting margin.
- Price + margin — working backwards from a price and margin to the maximum cost you can afford.
A target margin of 100% or more has no finite selling price, so the tool shows a clear message instead of a misleading number. Currency symbols are deliberately omitted — use the same unit for both inputs.
Keep exploring