Profit Margin Calculator

Calculate profit margin and markup from cost and revenue, and see the exact profit in dollars.

Calculated in your browser. No data sent to servers.

Formula reviewed Nov 2026

Try an example

$
$

Profit Margin

-

-

Markup

-

How to use this calculator

Enter the cost of your product or service and the revenue (selling price) it generates. The calculator shows your profit margin percentage, your markup percentage, and the absolute profit.

The formula behind this result

Profit = Revenue − Cost. Profit Margin (%) = (Profit ÷ Revenue) × 100. Markup (%) = (Profit ÷ Cost) × 100. Margin and markup are different ways to express the same profit.

Frequently asked questions

What's the difference between margin and markup?

Margin is profit as a percentage of revenue, while markup is profit as a percentage of cost. They use the same profit but different denominators.

Why is markup always higher than margin?

Because markup is calculated on a smaller base (cost) than margin (revenue). The only exception is when cost equals revenue, in which case both are zero.

How do I convert markup to margin?

Margin = Markup ÷ (1 + Markup). For example, a 50% markup equals a 33.3% margin.

Explore more