Business, sales and pricing
Cost price calculator
How much you can pay for the product while keeping the desired margin on the sale price.
Business and SalesResult
Fill in the fields and the result appears as you type.
Type the values into the fields and leave the rest to me.
Estimate — not a substitute for professional advice.
How to use
This calculator works the price formula backwards. Instead of starting from the cost and arriving at a price, it starts from the price the market already accepts and shows how much you can afford to pay for the product without giving up the margin you set. It is the calculation for anyone negotiating with a supplier or deciding whether a new cost still fits the price being charged.
- Set a buying ceiling for a product that already has a market price.
- Negotiate with a supplier knowing how far you can go without losing margin.
- Check whether your card or platform fee still fits inside the price you charge.
- Enter the sale price you charge today.
- Enter the lowest acceptable margin, as a percentage of the price — not of the cost.
- If the sale goes through a card or a platform, enter the percentage fee and the fixed fee.
- The result shows the maximum cost, the expected profit, the total fees and the effective margin.
Formula
Maximum cost = price × (1 − margin − fees) − fixed fee
Example
A price of 100 with a 40% margin and no fees allows a maximum cost of 60. With a 10% fee and a fixed fee of 2 it drops to 48 — the same profit of 40 on the sale.
Limitations
- Margin plus fees must add up to less than 100%; above that no cost makes the sale work.
- The figure is a ceiling for the product cost and does not include fixed expenses such as rent or payroll.
- A cost that changes over time must be recalculated whenever the price or the fee changes.
Frequently asked questions
How is this different from the selling price calculator?
Both use the same equation. The selling price calculator starts from the cost and returns the price; this one starts from the price and returns the highest cost that still delivers the margin.
Why is profit shown after the fees are already deducted?
Because the fee leaves the sale before the money reaches you. Deducting only the cost would show a profit that never reaches the bank account.
Related tools
- Profit margin calculatorThe real margin between cost and selling price, with markup alongside for comparison.
- Markup calculatorMultiplier and percentage markup from cost and selling price.
- Selling price calculatorSet a selling price from total cost, your desired margin and the fees charged on each sale.
- Discount calculatorApply a percentage discount and see the final price and how much the buyer saves.
- Gross and net profit calculatorGross profit, expenses and taxes down to the net profit for the period.
- Card fee calculatorFee charged, net amount received and the effective rate of your terminal.