# Product pricing calculator

A selling fee comes out of the price, so it cannot be added as a simple markup. Landed cost is the unit plus shipping, packaging, and other unit costs. The price that leaves both a margin and a fee is that cost divided by (1 − margin − fee). A 40 percent margin and an 8 percent fee means the cost can only be 52 percent of the price.

Canonical page: https://tools.torontosoft.com/calculators/business/product-pricing-calculator/

## Formula

Price = (unit + shipping + packaging + other) ÷ (1 − margin − fee). Fee dollars = price × fee. Profit = price − cost − fee dollars.

## Worked example

Costs of $12 + $3 + $1 are $16. A 40 percent margin and an 8 percent fee leave 52 percent of the price for cost. The price is 16 ÷ 0.52, about $30.77. The fee is about $2.46 and the profit is about $12.31, which is 40 percent of the price.

- Selling price: $30.77
- Profit after fee: $12.31
- Fee: $2.46
- Landed cost: $16.00

## Assumptions

- The fee is a percent of the selling price, like a card rate or a marketplace referral fee.
- A flat per-order fee should be converted to a per-unit amount and put in other cost, or ignored if you sell many units per order.
- Advertising and returns are not in the fee box unless you add them.

## Sources

- The identity is cost = price × (1 − margin − fee), rearranged for price. Margin here is profit after the percent fee, divided by price.

## Questions

### Why not add the fee on top of a marked-up price?

Because the fee is a percent of whatever price you end on. Adding 8 percent to a price that was built without the fee understates the fee and misses the margin.

### Where do returns go?

Not in this formula unless you raise the fee or the other cost to reflect them. A 5 percent return rate is a real cost.

### Does the margin include the fee?

The margin you enter is what remains after the fee. The fee is shown on its own line so you can see both.


This is a planning estimate. It is not engineering, electrical design, or tax advice.
