Work out gross profit margin and markup from any two known values: cost, revenue, margin percentage or markup percentage. Ideal for pricing products and services.
How to use the Margin calculator
Enter your values in the fields above. The results update as you type, so you can try different scenarios quickly. Press Reset to restore the example values. Nothing you type is stored or sent anywhere: all calculations happen in your browser.
Formula and method
Worked example
Using i know of Cost and revenue, the margin calculator returns Gross profit: $40.00; Margin: 40%; Markup: 66.67%; Cost: $60.00. Change any value in the calculator above to see how the result responds.
Frequently asked questions
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. A 50% markup equals a 33.3% margin.
Which should I use for pricing?
Use markup to add a percentage to cost and margin to target a share of revenue as profit.
Related tools
Results are estimates for information and education only and are not financial, tax or investment advice. Rates, fees and rules vary; speak to a qualified professional before making decisions.