Free tool
Selling Price Calculator
Set a margin target. See the price your costs require.
Use this selling price calculator to work out a retail price from your costs and a target margin. Choose gross margin or contribution margin, enter your costs and fees, and see the required price.
Gross margin counts product cost. Contribution margin also counts the other variable costs and selling fees you enter. The result shows both, so you can see what is left after those costs even when you set a gross-margin target.
Per item or order · Gross or contribution target · Price rounded up
Choose your margin
Choose one item or one order. Use that same basis for every amount.
Replace these examples with your own numbers. Results update as you type. Your entries stay on this page until you copy them.
Need help finding your figures in Shopify?
Ask Sidekick for recorded product and selling costs. Check fees against your provider and missing costs against your records. Your target margin is your choice.
Paste the copied text into Shopify Sidekick.
Costs for one sale
Your price target
What’s different about this calculator
Find the selling price needed to reach your chosen margin.
| Basic calculation | What this adds |
|---|---|
| A price based on gross margin | Also offers a contribution-margin target with other selling costs and flat or percentage fees |
| The exact calculated price | Rounds up to your chosen price step, then recalculates the margins |
| Gross margin at the new price | Also shows what remains after all entered costs |
How this tool works
How to calculate selling price from cost and margin
For a gross-margin target, divide product cost by one minus your target margin as a decimal. For a contribution-margin target, add product cost, other variable costs and the fixed fee per sale. Divide that total by one minus both your percentage fee rate and target contribution margin.
The calculator rounds the required price up to your chosen increment, then recalculates fees and margins at that price. Percentage fees apply to the selling price only. In gross-margin mode, other costs and fees affect the contribution result but do not change the price needed to meet your gross-margin target.
Gross-target price = product cost ÷ (1 − target gross margin). Contribution-target price = (product cost + other variable costs + fixed fee) ÷ (1 − percentage fee rate − target contribution margin). Use decimal rates, then round the price up to the selected increment.
A $60 price that leaves $18 contribution
Say one item costs $30, with $8 in other variable costs and a $1 fixed fee. Percentage fees are 5% of the selling price, and your contribution target is 30%. The required price is $39 ÷ (100% − 5% − 30%) = $60. The percentage fee takes $3, leaving $18 contribution. Gross profit is $30, or 50% of the price, because it subtracts only product cost.
Questions & answers
Understanding your result
Which target margin should I choose?
Choose gross margin to set a price based on product cost alone. Choose contribution margin to allow for product cost, other variable costs and selling fees. Both use selling price as the denominator. The calculator works out the price for your target; it does not recommend a margin or predict what customers will pay.
What costs should I include?
Enter product or landed cost for one item, or the products in one order. Put other variable amounts, such as packing and fulfillment, in the separate field. Enter the fixed fee per sale and percentage fees in their own fields. Include advertising or return-cost allocations in other variable costs only if you want them counted, and count each cost once. Keep every amount on the same item or order basis, in one currency.
Is target margin the same as markup?
No. Margin measures what is left as a share of selling price; markup measures it against cost. With a $40 product cost, a 50% gross-margin target needs an $80 price. A 50% markup gives a $60 price and 33.3% gross margin. Use the Markup Calculator if your target is a percentage added to cost.
Why can the calculator say my target is infeasible?
In contribution mode, your target margin and percentage fee rate must add up to less than 100%. The remaining share of the price has to cover the entered costs. Gross-margin mode requires a target below 100%. Either mode also needs a positive cost in the selected calculation to work out a unique positive price.
Why is the achieved margin higher than my target?
The price is rounded up, which can leave slightly more than the target margin. Use one hundredth for cent-sized steps, 1 for whole currency units, or another whole multiple of one hundredth. Fees and both margins are recalculated at the rounded price. Rounding to an increment does not choose a price ending, such as ninety-nine cents.
Does the result include discounts, tax or overhead?
Treat it as the selling price you need to receive after discounts, excluding sales tax you collect. There are no separate discount or tax inputs, and percentage fees use this selling price only. If your provider charges fees on tax or shipping too, reconcile that fee basis before using the result. Fixed overhead, financing costs and tax on profit are not automatically included, so contribution is not company net profit.
