EveryCalc

Finance category

Mortgage, loan, investing, tax, and money calculators.

Browse finance

Profit Margin Calculator

Calculate gross profit, gross margin, markup, target selling price, and maximum cost. Use batch mode to compare multiple products at once.

$
$

Markup vs. Margin

They sound similar, but they use different base numbers. Margin uses revenue. Markup uses cost.

Gross margin

Profit divided by selling price.

Margin = (Revenue - Cost) / Revenue

Example: a $100 sale with a $60 cost has a $40 profit, so margin is 40%.

Markup

Profit divided by cost.

Markup = (Revenue - Cost) / Cost

Using the same numbers, a $40 profit on a $60 cost is a 66.67% markup.

Batch Margin Table

Add multiple products to compare gross profit, margin, and markup across your catalog.

$
$
$
$
$
$
ProductCostPriceProfitMarginMarkup
Product A$45.00$75.00$30.0040.00%66.67%
Product B$12.00$19.99$7.9939.97%66.58%
Totals$57.00$94.99$37.9939.99%Portfolio view
Editorial noteMaintained by EveryCalc - Reviewed June 2026

EveryCalc calculators are designed for fast, practical estimates with transparent inputs and no required account. We use plain formulas, visible assumptions, and related tools so visitors can check the result from more than one angle.

Results are informational only. For financial, tax, legal, medical, construction, or other high-impact decisions, verify the output against primary sources or a qualified professional.

Learn more about our review process on the EveryCalc methodology page.

Calculation notes and example

Profit margin and markup formulas used here

Gross profit equals selling price minus cost. Margin is gross profit divided by selling price, while markup is gross profit divided by cost. The calculator keeps both visible because businesses often confuse the two when setting prices, which can accidentally compress profit.

Worked example

If a product costs $60 and sells for $100, gross profit is $40. Margin is 40% because profit is divided by selling price. Markup is 66.7% because profit is divided by cost. A business using this page with break-even and business loan calculators can see whether pricing produces enough contribution margin to support debt service.

Edge cases and practical tips

  • Use fully loaded cost when possible, including freight, payment fees, and labor.
  • Target margin should be checked against market price, not set in isolation.
  • Batch mode is useful for spotting products that look busy but contribute little profit.

Useful companion tools: Break-Even Calculator, Business Loan Calculator, Sales Commission Calculator, and ROI Calculator.

How to interpret the profit margin result

Best use

Use the result as a planning number for comparing payments, rates, returns, tax reserves, or cash-flow choices before you request a quote or make a commitment.

Cross-check

Compare the answer with the contract, lender estimate, tax form, brokerage statement, payroll record, or invoice that will control the real-world outcome.

Watch for

Do not rely on a single optimistic rate, return, or fee assumption. Money pages work best when you run low, base, and high cases and keep professional advice separate from the estimate.

This page belongs to the Finance calculator library, so the answer should be read in the context of the decision you are modeling rather than as a universal rule.

Before relying on this profit margin estimate

Most calculator mistakes come from the inputs, not the arithmetic. Use this short audit before you reuse the answer in a spreadsheet, quote, application, or important conversation.

Confirm source numbers

Match balances, rates, fees, taxes, income, and payment dates against the lender quote, payroll record, tax form, statement, invoice, or contract.

Separate cash flow from total cost

A lower monthly payment can still cost more over time if fees, interest, taxes, or a longer term are hidden in the structure.

Run conservative cases

Test at least one higher-cost or lower-return case before using the output for a purchase, refinance, investment, loan, or tax decision.

Rerun this page when the rate, price, term, fee, tax rule, income, expense, or expected holding period changes.

How to Use

  1. Choose the mode that matches what you know: cost and revenue, cost and target margin, or revenue and target margin.
  2. Enter your amounts to instantly see profit, gross margin, markup, and the pricing target you need.
  3. Use the markup vs. margin section to avoid mixing up the two percentages when pricing products.
  4. Scroll to batch mode to compare margins for multiple products and see portfolio-level totals.

Frequently Asked Questions

What is the difference between margin and markup?

Margin is profit divided by selling price, while markup is profit divided by cost. Because they use different base numbers, a 40% margin is not the same thing as a 40% markup.

How do I calculate selling price from cost and margin?

Divide cost by 1 minus the desired margin as a decimal. For example, if cost is $60 and you want a 40% margin, divide 60 by 0.60 to get a $100 selling price.

Can margin ever be higher than markup?

No. For profitable products, markup will always be higher than margin because markup uses cost as the denominator, which is smaller than selling price.

What does batch mode help with?

Batch mode lets you compare margins across multiple products at once, which is useful for checking catalog profitability, spotting weak items, and reviewing total portfolio performance.

Related Calculators

More tools for this decision

More Finance Calculators

Browse all finance

Keep exploring

Next steps in Finance

View finance hub →