All Free Tools

E-commerce Tool

Profit Margin Calculator

Calculate gross profit amount and profit margin percentage from revenue and cost.

Free to use. No account required. Calculator inputs are processed in your browser.

Use the tool

Change the inputs to recalculate instantly.

Profit amount

$40

Profit margin

40%

How the calculation works

Profit margin % = ((Revenue − Cost) ÷ Revenue) × 100

Worked example

If revenue is $100 and cost is $60, profit is $40 and profit margin is 40%.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost, so the percentages are not interchangeable.

Which costs should I include?

Use the costs relevant to your decision. Product margin often starts with cost of goods, while net business margin includes a much wider set of expenses.

Can margin be negative?

Yes. If cost is higher than revenue, the calculated profit and margin are negative.

Related free tools