All calculators

Guide · E-commerce

Build a Price That Covers Percentage Fees

Solve backward from cost and a desired contribution amount when fees depend on price, with a worked check and infeasible target boundaries.

By PriceAndProfit Editorial Updated 3 min read

On this page
  1. Recover a specific dollar contribution
  2. A percentage target uses another denominator
  3. Check a proposed shelf price
  4. Use the actual fee structure
  5. Recognize an impossible target

Adding a percentage fee to cost usually under-recovers that fee because the provider assesses it on the final payment. Solve the price equation instead. First define whether your goal is a dollar contribution per order or a contribution percentage of selling price. Those are different targets. Also identify which expenses are fixed per order and which increase with price, so the calculation does not put the same charge in both groups.

Recover a specific dollar contribution

Assume product, packaging, and delivery together cost $28 per order. A hypothetical payment charge is 4% of the selling price plus $0.30, and you want $12 of contribution before fixed overhead. The price must leave $40.30 after the percentage charge, so price equals $40.30 divided by 0.96, or $41.979166…. A cent-level quote rounded upward is $41.98. Using full precision, the fee is $1.9792 and contribution is $12.0008.

Price for dollar contribution = (order cost + fixed fee + target contribution) ÷ (1 − fee rate); price for target margin = (order cost + fixed fee) ÷ (1 − fee rate − target margin)

A percentage target uses another denominator

For a 30% contribution margin measured against selling price, the equation becomes price minus 4% of price minus $28.30 equals 30% of price. The resulting price is $28.30 divided by 0.66, or $42.878787…, rounded upward to $42.88. This target leaves approximately $12.86 contribution. It is not a 30% markup on cost, and it is not a final net profit margin because fixed expenses remain uncovered.

Check a proposed shelf price

If you choose $39 instead, the hypothetical percentage charge is $1.56 and the fixed charge is $0.30. Contribution becomes $39 minus $28 minus $1.56 minus $0.30, or $9.14. Its margin is $9.14 divided by $39, or 23.44% of selling price. Write that result next to the proposed price rather than preserving a target margin that the revised price no longer delivers. Commercial acceptability remains a separate question.

Use the actual fee structure

Some charges apply to merchandise, others to delivery collected, and others to a different base. A single percentage works only when all included percentage charges share the modeled price base. Add separate equations for different bases, minimum charges, or tiers. This method determines an ordinary selling price for planning. It does not assume a seller may add a separate fee to checkout or that any specific payment or marketplace policy permits doing so.

Recognize an impossible target

The dollar-target formula requires the retained share after percentage fees to be positive. For the margin-target equation, one minus fee rate minus target margin must be greater than zero when positive costs must be recovered. A zero denominator means there is no finite price satisfying that target; a negative denominator is not a useful negative selling price. Keep those conditions visible, retain precision during calculation, and verify the final rounded price against the original contribution equation.

Method references: OpenStax: break-even and contribution analysis; Stripe: balance transaction types. Accessed October 22, 2026. All dollar figures are hypothetical worked examples.

Related calculators & guides