Profit Margin Calculator

Calculate gross profit, profit margin and markup from revenue and cost in seconds. — free, fast and private.

Your profit margin will appear here.

Example: $1,000 revenue and $600 cost → $400 gross profit, 40% profit margin, 66.67% markup.

How to use Profit Margin Calculator

  1. Enter your total revenue (sales).
  2. Enter your total cost of goods or services.
  3. Click Calculate to see gross profit, margin % and markup %.
  4. Use the numbers to price products or check business health.

Note: this tool runs in your browser. Nothing is uploaded.

Frequently Asked Questions

What is the difference between margin and markup?

Margin is profit as a percentage of revenue: (revenue − cost) ÷ revenue × 100. Markup is profit as a percentage of cost: (revenue − cost) ÷ cost × 100.

What is a good profit margin?

It varies by industry — retail often runs 20–40% gross margin, software can exceed 70%. Compare with similar businesses, not with other industries.

Why is markup higher than margin?

Because markup divides by the smaller number (cost) while margin divides by revenue, so markup is always the larger percentage for the same sale.

Is my data uploaded anywhere?

No. All calculations run in your browser and your numbers are never sent to a server.