Pricing & Profit
Markup Calculator
Calculate profit, markup, and profit margin from your cost and selling price—even when a sale produces a loss.
Enter your values
The total cost of one product or service.
The amount charged to your customer.
Results
Markup
—
Enter cost and selling price to calculate markup.
Profit
—
Selling price less cost.
Profit margin
—
Profit as a percentage of selling price.
Results are estimates based on the values entered and are provided for general planning.
Method
How to calculate markup
Markup compares profit with cost, while profit margin compares the same profit with selling price. This calculator derives both measures from an entered cost and selling price.
Formula
Profit = Selling price − Cost Markup = Profit ÷ Cost × 100 Profit margin = Profit ÷ Selling price × 100
Assumptions
- Cost and selling price refer to the same unit or service.
- A selling price below cost is valid and produces negative profit, markup, and margin.
- The result does not add tax, transaction fees, discounts, or costs omitted from the cost input.
The price, profit, and margin calculations retain full numeric precision. Currency and percentages display two decimals.
How to interpret the result
Positive markup means selling price exceeds cost. Negative markup means the sale is below cost. When cost is zero, markup is not applicable because division by zero is undefined.
How markup affects selling price
Markup measures the amount added to cost as a percentage of that cost. A 40% markup means adding $40 for every $100 of entered cost.
When pricing a product, include the costs you need the selling price to recover. Leaving out fulfillment, commissions, or allocated overhead can make the displayed gross profit higher than the amount the business actually retains.
Markup and margin compared
Both percentages describe gross profit, but they divide it by different amounts.
| Measure | Formula | What it shows |
|---|---|---|
| Markup | Gross profit ÷ Cost × 100 | How much profit is added relative to cost. |
| Profit margin | Gross profit ÷ Selling price × 100 | How much of selling price remains after the entered cost. |
| Selling price | Cost × (1 + Markup ÷ 100) | The price produced by adding the selected markup to cost. |
Frequently asked questions
Keep calculating
Related calculators
Check the calculated price with the profit margin calculator, then model how its contribution per unit changes the break-even sales target.
Profit Margin Calculator
Calculate profit, margin, and markup from cost and selling price.
Open calculator Pricing & ProfitSelling Price Calculator
Calculate the selling price needed to reach a target profit margin.
Open calculator Pricing & ProfitBreak-Even Calculator
Estimate the units and revenue needed to cover fixed costs.
Open calculator