Profit Margin Calculator

Calculate gross profit, margin and markup from cost and revenue — or price from a target margin.

Runs in your browser — nothing uploaded Free · no sign-up
Loading tool…

How to use the Profit Margin Calculator

  1. Enter your values in the fields above (all fields are validated as you type).
  2. Choose any options such as units, rates or frequency.
  3. Read the result instantly — it updates automatically.
  4. Use Copy to copy the result, or Reset to start again.

About this tool

The Profit Margin Calculator gives an exact answer using standard formulas, and shows how the result was calculated so you can check it yourself. Inputs are validated so that empty, negative or impossible values are flagged instead of producing a misleading number.

All calculations run instantly in your browser with full floating-point precision; results are rounded only for display.

Also searched as: profit margin calculator · markup calculator · gross margin · selling price from margin · margin vs markup

Supported formats and good to know

  • Everything is calculated in your browser — what you type is not sent to our server.

Formula and method

Profit = revenue − cost. Margin % = profit ÷ revenue × 100. Markup % = profit ÷ cost × 100. Price for a target margin = cost ÷ (1 − margin ÷ 100).

Practical examples

Cost $60, price $100 → profit $40, margin 40%, markup 66.67%.

Frequently asked questions

How is the result calculated?

Profit = revenue − cost. Margin % = profit ÷ revenue × 100. Markup % = profit ÷ cost × 100. Price for a target margin = cost ÷ (1 − margin ÷ 100).

Is my data private?

Everything happens locally in your web browser. Your files and text are never uploaded to our server, so the tool also works for confidential material.

Is the Profit Margin Calculator free?

Yes. It is free to use with no account required.

Related articles