MarginCalculator.ioKnow your numbers. Price with confidence.
Free calculators for smarter decisionsExplore tools

How to Price Products for a Target Profit Margin

Pricing from cost alone can leave you with less profit than you planned. The safer approach is to decide what profit margin you need, include the costs you can reasonably estimate, and calculate the minimum checkout price that supports that target.

This guide explains the formula, a full worked example, and how to allow for a discount. It also shows when the result is an estimated contribution or adjusted margin rather than a formal accounting gross margin.

Target profit margin pricing formula

If you have a fixed total cost per unit and percentage selling fees charged on the checkout price, use:

Required selling price = Fixed unit costs ÷ (1 − selling fee rate − target margin rate)

Enter fee rates and target margin as decimals. For example, 5% is 0.05 and 30% is 0.30. The denominator must be greater than zero. If fees plus your target margin equal or exceed 100%, the target cannot be reached at a finite price under this model.

Important: This is a practical pricing formula for margin after the costs you enter. It is not automatically the same as gross margin or net profit margin on financial statements. Gross margin normally compares revenue with cost of goods sold (COGS); overhead, advertising, some shipping expenses and taxes may be classified separately.

Which costs belong in a product pricing calculation?

Start with the costs attached to each sale. Use your own figures, and avoid counting the same expense twice.

  • Product cost: Purchase price or direct manufacturing cost.
  • Packaging: Boxes, labels, inserts and protective materials.
  • Fulfillment: Postage or warehouse fulfillment costs paid by the business.
  • Allocated overhead: A reasonable share of fixed expenses, if you want to recover them through each sale.
  • Percentage selling fees: Payment processing, commissions or marketplace percentages applied to a clearly defined revenue base.
  • Fixed transaction fees: Per-order charges that must be included in the fixed-cost part of the formula.
  • Expected returns and ads: Include a carefully estimated allowance if your goal is profit after those costs. Explain any assumptions you use.

If a marketplace charges fees on shipping or sales tax as well as the item price, a basic single-percentage formula may be too simple. Use the platform-specific eBay profit, Etsy profit or Amazon FBA profit tools for more tailored inputs. Review current platform rules before relying on any estimate.

Worked example: Cost $30, fee 5%, target margin 30%

Suppose your total fixed unit cost is $30, including materials, packaging and delivery. Your selling fee is 5% of the checkout price, and your target adjusted profit margin is 30%.

  1. Convert percentages: 5% = 0.05 and 30% = 0.30.
  2. Calculate the denominator: 1 − 0.05 − 0.30 = 0.65.
  3. Divide fixed cost by the denominator: $30 ÷ 0.65 = $46.1538.
  4. Round up to the next cent, giving a minimum checkout price of $46.16.

At $46.16, a 5% fee is approximately $2.31. Profit after the specified costs is approximately $13.85, or about 30.0% of checkout revenue. Individual platforms may round fees differently, so small differences can occur.

How to calculate a list price before offering a discount

A discount changes the price the customer actually pays, not the direct cost of the product. If you need $46.16 after offering 10% off, the list price must be at least:

List price = Required checkout price ÷ (1 − discount rate)

$46.16 ÷ 0.90 = $51.2889, so the minimum two-decimal list price is $51.29. A 10% discount on $51.29 leaves roughly $46.16 before platform-specific rounding. A lower list price could miss your planned margin.

If discounts, taxes or fees follow special platform rules, test the actual checkout result rather than relying on the headline percentage alone.

Why a 30% markup is not a 30% margin

Markup uses cost as its denominator. Margin uses selling price or revenue as its denominator. They are not interchangeable.

Scenario Cost Price Gross profit Gross margin Markup
30% markup $30 $39 $9 23.08% 30%
30% gross margin $30 $42.86 $12.86 30.00%* 42.87%
30% adjusted margin with 5% fee $30 $46.16 $16.16 before the fee 35.01% before fees 53.87%

*Rounded to two decimal places. The third row is an adjusted-margin pricing case, not a direct gross-margin comparison.

Use these calculators for different pricing decisions

Use the Product Pricing Calculator when you need a target price, selling fees, overhead and a planned discount. Use the Reverse Margin Calculator to work back from direct cost and a target gross margin. Use the Gross Margin Calculator when you already know sales revenue and COGS. For variable-cost decisions, the Contribution Margin Calculator adds a break-even perspective.

Pricing mistakes to check before you publish a price

  • Do not confuse gross, operating, net and adjusted margins.
  • Do not treat a percentage markup as the same percentage margin.
  • Do not ignore shipping paid by the seller or a fixed transaction fee.
  • Do not apply one generic marketplace commission to every category.
  • Do not forget that advertising, refunds and discounts can reduce actual profits.
  • Do not round the minimum required selling price down.

Frequently asked questions

What is a good target profit margin?

There is no universal percentage. Your target depends on product costs, operating expenses, competition, customer demand and the risk of returns. Review your actual numbers before selecting a target.

Does sales tax count as revenue?

Tax collected and remitted on behalf of a tax authority is typically not revenue earned by the seller, but a marketplace may still include it in its fee base. Read the rules for your sales channel and location.

Can I price a product with no percentage selling fee?

Yes. Set the percentage selling fee to zero. If fixed costs are $30 and target margin is 30%, the minimum price is $30 ÷ 0.70, or $42.86 when rounded up.

What if my target margin is impossible?

If your target margin plus percentage fees reaches 100%, this model has no finite solution. You must reduce costs, adjust the target or change the fee structure.

Bottom line: Start with realistic cost assumptions, solve for the checkout price, then test discounts and platform fees separately. The result should support a business decision, not merely produce a percentage.