Calculate the original cost from a selling price and markup percentage, or solve for selling price, markup or margin from the other two values.
Assumptions Read first
- Select the value to find, then complete the displayed inputs. Only fields for that solve mode are used.
- โMarkup Percentageโ is markup on cost, not profit margin. It uses: (Final Price โ Original Cost) รท Original Cost ร 100.
- Negative markup means selling below cost. When finding cost, โ100% markup cannot determine a unique cost from a zero price and cannot yield a positive price. Finding markup requires a positive cost. A 100% gross margin cannot determine selling price from cost.
- Simple, single-step calculation only; no compounding, tiered or cumulative markups. Taxes, shipping, fees, coupons, and currency conversion are not included unless you incorporate them into the inputs.
- Amounts are labeled in US dollars. The calculator does not convert currencies. Decimals are allowed.
- Amounts display up to two decimal places and percentages up to three; very small nonzero amounts use scientific notation. Rounding affects display only.
- This tool performs arithmetic only and does not constitute pricing, accounting, or tax advice.
When to Use This Calculator
- Back-calculate the Original Cost from a known Final Price and Markup Percentage.
- Find the Final Price given an Original Cost and desired Markup Percentage.
- Determine the Markup Percentage between a known cost and selling price.
- Sanity-check vendor quotes, discounts (negative markup), and internal pricing scenarios.
Input Definitions
- Original Cost ($) โ The nonnegative baseline cost before markup/discount. It must be greater than zero when computing Markup Percentage.
- Markup Percentage (%) โ Percent applied to cost. Positive increases price; negative represents a discount. Defined as ((Final โ Cost) รท Cost) ร 100.
- Final Marked-Up Price ($) โ Selling price after applying markup to the Original Cost.
- Formulas
- Final Price = Original Cost ร (1 + Markup% รท 100)
- Markup% = ((Final Price โ Original Cost) รท Original Cost) ร 100
- Original Cost = Final Price รท (1 + Markup% รท 100)
- Input tips โ Choose a solve mode and enter the displayed values. Markup cannot be below โ100%; gross margin cannot exceed 100%. Inverse calculations reject cases that cannot have a unique nonnegative answer.
Related Calculators
- Reverse Fee Calculator
- Gross to Net Media Advertising Calculator
- Price Per Piece Calculator
- Absorption Cost Calculator
- All Business Calculators
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Cost from price + markup | Reverses a markup to find what an item cost before the markup was added | Requires the selling price and the markup percentage |
| Price from cost + markup | Finds the selling price after a markup is added to cost | Requires the cost price and the markup percentage |
| Markup from cost + price | Finds the markup percentage between a cost and a selling price | Requires the cost price and the selling price |
| Cost from price + margin | Reverses a gross margin to find the cost behind a selling price | Requires the selling price and the gross margin percentage |
| Price from cost + margin | Finds the selling price that leaves a set gross margin | Requires the cost price and the gross margin percentage |
Amounts are in US dollars. Every result lists the cost price, selling price, gross profit, markup on cost, gross margin and the price multiplier, so a markup and its matching margin can be read from one calculation.
Reverse Markup Formula
| C | Cost price before the markup ($) |
| P | Selling price after the markup ($) |
| M | Markup as a percentage of cost (%) |
A markup is added to cost, so it cannot be reversed by taking the same percentage off the price. Taking 30% off $130 gives $91, while the cost behind a 30% markup is $100.
Cost from price + markup
The formula above applies directly: a $130 selling price with a 30% markup comes from a cost of 130 รท 1.30 = $100. A negative markup stands for a sale below cost, so a โ20% markup divides the price by 0.80. A markup of โ100% is rejected, because it makes every price zero and the cost cannot be recovered.
Price from cost + markup
A $100 cost with a 30% markup sells for 100 ร 1.30 = $130.
Markup from cost + price
An item that costs $100 and sells for $130 carries a markup of 30 รท 100 ร 100 = 30%. A cost of zero is rejected, because a percentage of nothing is undefined.
Cost from price + margin
G is the gross margin, which is the gross profit as a percentage of the selling price [2]. A $200 selling price at a 40% margin has a cost of 200 ร 0.60 = $120.
Price from cost + margin
A $120 cost at a 40% margin sells for 120 รท 0.60 = $200. A margin of 100% is rejected, because it would leave no room for any cost.
Limits of This Estimate
- Markup and margin describe the same profit against different bases, so the two percentages are never equal. The $100 item sold for $130 has a 30% markup and a 23.077% margin. Check which one a supplier, price list or contract means before reversing it.
- Sales tax, fees, shipping and discounts are left out unless they are already part of the amounts entered. A price that includes sales tax has to have the tax removed first.
- Prices are shown to two decimal places, while the calculation uses unrounded values, so a result can differ by a cent from one worked with rounded figures.
Sources
- Toronto Metropolitan University, Ted Rogers School of Management, Margins vs Markups: markup and margin percentage formulas and their rearrangements for price and cost
- Internal Revenue Service, Internal Revenue Manual 4.10.4.5.5.3, Gross Profit Margin to Sales: gross profit margin as sales less cost of goods sold, divided by sales
