Cost and Sell Calculator: Pricing Guide
- Tax amount
- $
- Result
- Final price with tax
- $
- Result
- Cost
- 50 $
- You entered
This calculator works out your selling price from cost, markup percentage, and sales tax rate. You enter the cost of an item, choose a markup percentage, and optionally add a sales tax rate; the calculator returns your selling price before tax, the tax amount, and the final price the customer pays.
Formula
The core formula is:
Selling price = Cost × (1 + Markup / 100)
Then, if sales tax applies:
Tax amount = Selling price × (Tax rate / 100)
Final price = Selling price + Tax amount
Where:
- Cost – what you pay to acquire or produce the item (currency units).
- Markup – the percentage you add to the cost to cover overhead and profit.
- Sales tax – the percentage added by the government, collected from the buyer.
Worked Example
Using the default values: cost = $50, markup = 30%, tax = 8%.
- Selling price = 50 × (1 + 30/100) = 50 × 1.30 = $65.00
- Tax amount = 65 × 8/100 = $5.20
- Final price = 65 + 5.20 = $70.20
The calculator shows: Selling price $65.00, Tax amount $5.20, Final price $70.20.
Markup vs. Margin: Know the Difference
A common mistake is confusing markup with profit margin. Markup is the percentage added to cost; margin is the percentage of the selling price that is profit. For example, a 30% markup on a $50 cost gives a selling price of $65, and the profit is $15, which is a margin of 15/65 ≈ 23.1%. If you want a 30% margin, the formula is different: selling price = cost / (1 – margin/100). For a $50 cost and 30% margin, that would be 50 / 0.70 ≈ $71.43. This calculator uses markup, not margin, so be clear which one your business uses.
How to Choose the Right Markup
Your markup should cover all expenses and leave a reasonable profit. Typical approaches:
- Keystone pricing – double the cost (100% markup), common in retail.
- Cost-plus – add a fixed percentage that covers overhead and desired profit.
- Competitor-based – price near what others charge, then back into the markup.
For services, markups of 20–50% are common; for physical goods, 50–100% is typical. But the right number depends on your industry, volume, and market position.
Common Mistakes and How to Avoid Them
- Mixing markup and margin – using the wrong formula leads to underpricing or overpricing. Always confirm which one you are using.
- Forgetting sales tax – if you don’t include tax, your final price is too low and you’ll owe the tax from your pocket.
- Ignoring discounts – if you plan to offer discounts, factor them into the markup so you still profit after the discount.
- Not updating cost – if your cost changes, recalculate the price. A stale cost can silently eat your margin.
Limits of This Calculator
This calculator assumes a simple markup and a single sales tax rate. It does not account for volume discounts, tiered pricing, shipping costs, or variable overhead. For a full pricing model, you would also include fixed costs (rent, salaries) and variable costs (packaging, payment fees). The result is a starting point, not a complete pricing strategy.
Frequently Asked Questions
What is the difference between markup and profit margin?
Markup is the percentage added to cost to get the selling price. Profit margin is the percentage of the selling price that is profit. For example, a 30% markup on $50 cost gives a $65 selling price and a 23.1% margin. They are related but not the same.
Should I include sales tax in my selling price?
No, sales tax is collected from the customer on top of the selling price. You are acting as a collection agent for the government. The final price the customer pays includes tax, but your revenue is the pre-tax selling price.
What is a typical markup for retail products?
Keystone pricing (100% markup) is common in retail, meaning you sell for double what you paid. However, the ideal markup varies by industry, product type, and market. Some items (like electronics) have lower markups, while others (like clothing) may have higher ones.
How do I calculate selling price if I want a specific margin?
Use the formula: Selling price = Cost / (1 – Margin%). For example, if cost is $50 and you want a 30% margin, the selling price is 50 / 0.70 = $71.43. This calculator uses markup, so you would need to convert or use a margin calculator.
What if I offer a discount? How does that affect my price?
If you plan to discount, you should set your initial markup higher so that after the discount you still achieve your target profit. For instance, if you want a final price of $65 after a 20% discount, the pre-discount price should be 65 / (1 – 0.20) = $81.25.
Related
Formula used
in cost | Cost | $ | 50 | 0 in markup | Markup | % | 30 | 0 in tax | Sales tax | % | 8 | 0 out sell | Selling price before tax | $ | cost * (1 + markup/100) | 2 out tax_amt | Tax amount | $ | sell * tax/100 | 2 out total | Final price with tax | $ | sell + tax_amt | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.