Margin Calculator

Use this free margin calculator to find profit, profit margin percentage, and markup percentage from revenue or selling price and cost.

All tools
Formula steps Estimate limits shown Examples included Private history
Profit margin40%

$100 revenue - $60 cost

Profit
$40.00
Markup
66.6666666667%
Revenue
$100.00
Cost
$60.00

This is business profit-margin math, not brokerage margin or leveraged investing advice.

Formula steps

  1. Subtract cost from revenue to find profit.
  2. Divide profit by revenue to calculate profit margin.
  3. Divide profit by cost to calculate markup.

How to use the margin calculator

  1. Enter the requested dollar amounts, rates, terms, tax settings, or contribution details.
  2. Use rates as percentages, such as 6.5 for 6.5%, and check whether a field asks for a monthly or annual amount.
  3. Press the calculate button to see the answer, supporting metrics, and formula steps.
  4. Use the result as a planning estimate only, then copy it if the assumptions look right.

Common uses

Calculate product or service profit margin.

Compare margin and markup side by side.

Check pricing math before changing a selling price.

Estimate how cost changes affect profitability.

Examples

Retail item $100 price and $60 cost

40% margin and 66.67% markup

Service job $2,500 revenue and $1,400 cost

Profit and margin

Low margin $1,200 revenue and $1,050 cost

Margin check

Frequently asked questions

Plain-language answers about when to use the estimate, what your numbers mean, what is left out, and how privacy works.

When should I use the Margin Calculator?

Use it for early planning and side-by-side comparisons, especially for tasks like these: Calculate product or service profit margin. Compare margin and markup side by side. Treat the answer as a planning estimate, not a final quote.

What is the Margin Calculator doing with my numbers?

In plain language: The calculator subtracts cost from revenue to find profit, divides profit by revenue for margin, and divides profit by cost for markup. If the result seems too high or too low, first check whether each field expects a monthly amount, annual amount, dollar value, or percent.

What does this estimate leave out?

This is business profit-margin math. It does not model brokerage margin accounts, borrowing to invest, leverage risk, taxes, overhead allocation, or accounting rules. Real finance decisions can also depend on fees, timing, local rules, credit details, and provider-specific terms.

Does the site save my finance inputs?

No. The calculator runs in your browser tab. Recent answers stay only on the page while you use it, and they are not sent to a server.

Related tools