Calcufast

Profit margin calculator

Profit margin answers: what share of the sale price is gross profit? Markup answers a different question: what percent did you add on top of cost? They are not the same number.

Quick answer (calculator defaults)

With cost $70, sale price $100, and a 35% target margin:

  • Gross profit: $30.00
  • Profit margin: 30.00%
  • Markup on cost: 42.86%
  • Price for 35% target: $107.69
  • Profit at 35% target: $37.69

Formulas

Margin, markup, and target price

Margin (%) = ((Sale price − Cost) / Sale price) × 100

Markup (%) = ((Sale price − Cost) / Cost) × 100

Recommended price = Cost / (1 − Target margin / 100)

Gross profit = Sale price − Cost

Margin is calculated on price. Markup is calculated on cost. A 30% markup produces a 23.08% margin, not 30%.

Step-by-step example (defaults)

  1. Cost = $70
  2. Sale price = $100
  3. Gross profit = 100 − 70 = $30
  4. Margin = 30 / 100 × 100 = 30%
  5. Markup = 30 / 70 × 100 = 42.86%
  6. 35% target → price = 70 / (1 − 0.35) = $107.69

Scenario table (same engine logic)

Values rounded to 2 decimals like the calculator.

CostSale priceTarget %ProfitMarginMarkupTarget price
$70$10035$30.0030.00%42.86%$107.69
$50$8030$30.0037.50%60.00%$71.43
$100$15040$50.0033.33%50.00%$166.67
$200$25025$50.0020.00%25.00%$266.67
$1,000$1,30030$300.0023.08%30.00%$1,428.57
$80$8020$0.000.00%0.00%$100.00

Markup vs margin (equivalents)

If you mark up cost by a percent, real margin on price is lower.

Markup on costReal margin on priceExample (cost $100)
25%20.00%Sell at $125
30%23.08%Sell at $130
42.86%30.00%Sell at $142.86
50%33.33%Sell at $150
100%50.00%Sell at $200

Discounts and minimum margin

If your current margin is 30% ($70 → $100) and you discount the $100 price:

DiscountFinal priceProfitResulting margin
0%$100.00$30.0030.00%
5%$95.00$25.0026.32%
10%$90.00$20.0022.22%
15%$85.00$15.0017.65%
30%$70.00$0.000.00%

When to use it

Common mistakes

  • Calculating the percentage on cost and calling it margin.
  • Forgetting card fees, shipping, packaging, or marketplace commissions.
  • Pricing only from competitors without checking gross profit.
  • Applying discounts without knowing the minimum acceptable margin.

FAQ

Margin measures profit as a percentage of sale price. Markup measures profit as a percentage of cost. With cost $70 and sale $100, margin is 30% and markup is 42.86%.

Divide cost by 1 minus the target margin. With a 35% target and cost $70: 70 / 0.65 = $107.69.

Yes. If the sale price is lower than cost, the calculator shows a loss and a negative margin. That can make sense for one-time clearance, but not as a permanent price.

It depends on the industry. High-volume products may work with lower margins, while services, specialized products, or slower-moving inventory often need higher margins. Use the scenario table to test your target.

For consumer prices, taxes are often included in the displayed price. For profitability, separate tax, cost, and real gross profit—and use the sale-price-with-VAT tool when needed.

Negotiate better cost, reduce waste, packaging, or fees, increase average order value, sell bundles, or limit discounts.

The denominator changes. A 30% markup on $100 cost yields a $130 price; $30 profit on $130 is a 23.08% margin, not 30%.