Margin Calculator
Work out gross margin, markup and profit from cost and selling price, or find the price for a target margin.
Made with โค๏ธ By Latticedigital.co for ๐
Use the Margin Calculator
Calculated on your device โ nothing is uploaded.
How it works
- Enter your Cost ($) and Selling price ($).
- Press Calculate. The result updates as you type, so you can try different values.
- Read your result. The answer appears below the buttons, with the working shown where it helps.
Gross margin = (price โ cost) รท price ร 100. Markup = (price โ cost) รท cost ร 100. Margin is measured against the selling price; markup is measured against the cost โ so the same sale has a higher markup than margin.
Worked example
Cost $60, price $100: profit is $40, gross margin is 40% and markup is 66.7%.
Frequently asked questions
Margin or markup โ which do I use?
Margin tells you what share of each sale you keep; use it for profitability. Markup is used to set prices from costs.
What is a good margin?
It depends on the industry. Grocery stores run 1โ3%; software can run 70โ90%. Compare with businesses like yours.
Is this calculator free?
Yes โ it is free to use, with no sign-up and no limits. Every calculation runs in your own browser.
Last updated: 8 November 2026
Estimates only โ not financial, tax, medical or legal advice. Check with a professional before making a big decision.
The short version
That is the Margin Calculator in a nutshell: enter your numbers above and read the result โ no sign-up, and nothing you type ever leaves your device. Looking for another tool? Browse all 204 free calculators or try the Mortgage Calculator next.