Skip to content
FrAIFlow
English

Blog

The same sale has a 23% margin and 38.33% profit on cost

Written and maintained by FrAIFlowPublished Report an error

Our test sale had a price of 100, a product cost of 60, shipping of 5, a 10% sales fee and a fixed fee of 2. The amount left was 23. Its margin was 23% of sales, while profit divided by product cost was about 38.33%. Both percentages described the same sale. They differed because they used different denominators.

Sales 100 minus product 60, shipping 5 andfees 12 leaves 23; the target selling price for 20% margin is 95.72.
A selling price of 100 leaves 23 after the entered costs. A 20% target produces 95.72 after upward price rounding.

Put the fee on the correct amount

The percentage fee in this calculator is charged on the entered selling price. At 100, the 10% component is 10; the fixed charge makes total fees 12. Subtract 60 for the product, 5 for shipping and 12 for fees, and the result is 23. Omitting shipping would overstate this example’s profit by 5.

That result is the profit within the costs you supplied. Advertising, returns, packaging, taxes and overhead are absent unless you include them in a suitable input. A marketplace may apply its fee to a different base or round each charge separately. Check its statement before treating this model as a settlement calculation.

Reverse the equation for a target margin

For a 20% target margin with these same costs, the equation is P = (60 + 5 + 2) ÷ (1 − 0.10 − 0.20). It gives approximately 95.7142857. FrAIFlow rounds the target selling price upward to the next 0.01, so the displayed target is 95.72. Rounding down to 95.71 would fall slightly short under this model.

The fee percentage and target margin together must remain below 100%. Otherwise there is no positive share of each sale left to cover those fixed costs. The calculator refuses that condition. It also leaves the product-cost ratio unavailable when product cost is zero rather than dividing by zero.

Keep display rounding separate from the contract

Money is displayed to two decimal places, but the percentage calculation uses the underlying values. At the target price, a percentage fee can contain fractions of a cent before display rounding. A platform that rounds each fee before subtraction may produce a slightly different settlement. The calculator does not select a currency or know its smallest permitted payment unit.

Record the original 100 sale, then choose target-price mode and enter 20. Compare the inputs and results to see what changed. A target price is a condition for this entered cost model, not a prediction of demand or a guarantee of business profit. Recheck costs when delivery charges or fee terms change.

Recorded input and result

Reproducible example
How this calculation worksReproducible example
Selling price100
Product cost · Shipping · Fees60 · 5 · (10% × 100 + 2) = 12
Profit23
Profit margin %23%
Profit ÷ product cost %38.333333…%
Target margin % 20% → Selling price95.72

Verification and scope

Verified with exact decimal arithmetic in the calculator engine and saved browser records. The target-price boundary and zero-cost ratio were checked. No tax, marketplace contract or statutory accounting treatment is assumed.

Actual calculator screen · English interface
Actual calculator screen · English interface · Sales profit and target price
The image shows the English interface. The article, diagram and linked calculator are available in your selected language.
How we checked it and useful sources

Start with a specific failure, keep the original, change one relevant condition, and reopen the output. We distinguish our controlled tests from other people's reports and from instructions based on documentation.

How these guides are made

Did this help you solve your problem?

We send your selected answers and page information, never your files or input contents. Feedback is kept for up to 30 days. Privacy

Did this help you solve your problem?