Margin Calculator

Calculate profit margin, markup, selling price, or cost depending on the mode.

Calculate margin from cost and revenue

Enter all required values.

About this calculator

Use this calculator to understand profit margin and markup.

How to use

  1. Choose a calculation mode.
  2. Enter the cost, revenue, or margin values.
  3. Read the profit, margin, and markup outputs.

Formula

Margin = (revenue − cost) ÷ revenue × 100
Markup = (revenue − cost) ÷ cost × 100

Example

Cost 60 and revenue 100 → profit 40, margin 40%, markup 66.67%.

FAQ

What is the difference between margin and markup?

Margin is profit as a share of revenue. Markup is profit as a share of cost.

What if revenue is zero?

The result is undefined, so the calculator shows an error.

Related calculators

Results are for informational purposes only. Verify important calculations independently.