Enter cost and sale price values.

✦
Introduction

Introduction

This profit margin calculator estimates profit and gross margin from revenue and cost. It can also compare markup, selling price, and target-margin scenarios for a product or service.

The result is a calculation aid, not a complete business forecast. Taxes, overhead, refunds, discounts, financing, inventory changes, and operating expenses may need separate treatment.

%
Definition

What is profit margin?

Profit margin is profit expressed as a percentage of revenue. Gross margin commonly uses revenue minus the direct cost of goods or services, divided by revenue.

Markup is different: it expresses profit as a percentage of cost. A 25% markup does not equal a 25% margin because the denominators are different.

Profit margin formulas

ProfitProfit = revenue − cost

Use consistent units and periods. Profit can be positive, zero, or negative.

MarginMargin = profit ÷ revenue × 100

Margin uses revenue as the denominator, so the same profit can produce different margins at different sales levels.

MarkupMarkup = profit ÷ cost × 100

Markup uses cost as the denominator and should not be labelled as margin.

For a target margin m written as a decimal, a simple target price is cost ÷ (1 − m), before tax, fees, or other adjustments.

↗
How to use

How to use this calculator

  1. Enter selling price or revenue and the direct cost.
  2. Review profit as the difference between revenue and cost.
  3. Review margin as profit divided by revenue and markup as profit divided by cost.
  4. Use the target-margin mode to estimate a price when the target and cost are known.
  5. Add overhead, tax, refunds, and other operating assumptions separately for a fuller business view.
▦
Worked examples

Examples

Example 01Basic gross margin

What is the margin when revenue is 100 and direct cost is 60?

    Example 02Markup comparison

    What is the markup in the same scenario?

      Example 03Target margin price

      What price gives a 30% margin on a cost of 70?

        Example 04Loss scenario

        What happens when revenue is 80 and cost is 100?

          Example 05Discounted sale

          How does a discount affect margin?

            Example 06Overhead reminder

            Does a 40% gross margin mean 40% net profit?

              ◎
              Result interpretation

              How to interpret the result

              A margin percentage describes the share of revenue remaining after the selected cost. It does not by itself show cash flow, scalability, demand, or business health.

              Compare margins only when accounting definitions, product mix, periods, and cost categories are consistent.

              !
              Common mistakes

              Common mistakes

              Calling markup a margin or using cost instead of revenue as the margin denominator.

              Using list price when the actual sale price is lower.

              Leaving shipping, returns, payment fees, or direct labour out of direct cost without documenting the choice.

              Treating gross margin as net profit after overhead and taxes.

              ◇
              Limits and special cases

              Limitations and financial safety

              This tool does not provide accounting, tax, investment, pricing, or business advice. It does not validate your cost classification or financial records.

              Use consistent accounting definitions and consult an accountant or qualified adviser for reporting, tax, financing, or major pricing decisions.

              ؟
              Frequently asked questions

              FAQ

              What is the margin formula?

              Margin is profit divided by revenue, multiplied by 100. Profit is revenue minus the selected cost.

              What is the difference between margin and markup?

              Margin divides profit by revenue. Markup divides profit by cost.

              Can margin be negative?

              Yes. If selected cost is greater than revenue, the result is a loss and the margin is negative.

              Does margin include tax?

              Only if tax is included in the cost or expense assumption. Label the scenario clearly.

              How do I price for a target margin?

              For a simple case, divide cost by one minus the target margin expressed as a decimal.

              Should discounts use list or sale price?

              Use the actual revenue received after the discount when calculating the realized margin.

              What costs belong in gross margin?

              Definitions vary, but gross margin often uses direct costs. Document whether materials, direct labour, shipping, and production costs are included.

              Is a higher margin always better?

              Not necessarily. Volume, cash flow, customer value, competition, risk, and operating costs also affect a business decision.

              Install this tool

              Add this tool to your device for quick access.