Free Profit Margin Calculator

Enter revenue and cost to get gross profit, profit margin and markup on cost — the three numbers that tell you whether a product or business is actually healthy.

Private by design. This tool runs 100% in your browser — your inputs are never uploaded to any server.

How to Use the Profit Margin Calculator

  1. Enter total revenue.
  2. Enter total cost.
  3. Click Calculate Margin for profit, margin and markup.

Features

Derives profit as revenue minus cost, margin as profit/revenue and markup as profit/cost, with zero-guards so edge cases like free products don’t break the math.

Benefits & Use Cases

Founders check unit economics, freelancers ensure projects are profitable after costs, and investors compare efficiency across companies.

Tips

Margin and markup answer different questions — margin for “how much of each dollar we keep,” markup for pricing from cost. Know which one you need.

Frequently Asked Questions

What is profit margin?

Profit divided by revenue, as a percent — the share of each sales dollar kept as profit.

Margin vs markup?

Margin = profit/revenue; markup = profit/cost. A $30 profit on $100 revenue is 30% margin but 42.9% markup on $70 cost.

What is a good profit margin?

Varies hugely: grocery ~2–3%, software 70%+. Compare within your industry, not across.

Does it handle losses?

Yes — if cost exceeds revenue you get a negative margin, shown honestly.

Related Tools