Cost To Retail Ratio Calculator
The cost-to-retail ratio tells you what share of the selling price is eaten by cost: a 60% ratio leaves a 40% gross margin, and confusing the two numbers is how retailers quietly underprice a whole product line. The same $20 of profit on a $30 item is a 66.67% markup and a 40.00% margin, and a calculator that only shows one of them invites the mistake.
This calculator works in three directions: cost and price into the ratio, markup, and margin; a target margin into the price you must charge; and a price and margin into the most cost you can afford. It is a retail pricing tool, not a business efficiency ratio.
Gross figures only: the margin here is before rent, labor, payment fees, and markdowns, so treat it as the ceiling your operating costs have to fit under.
Quick Answer
Key takeaways
- Ratio and margin are two slices of the same price: they always add to 100%. A 60% ratio is a 40% margin.
- Markup divides profit by cost and margin divides profit by price, so markup is always the bigger number on a profitable sale.
- Pricing from a margin target means dividing cost by one minus the margin, never adding the margin percentage on top of cost.
- This ratio prices a product. It is not the business cost-to-income ratio, which compares a whole operation’s costs with its income.
- Quick Answer
- How to use the three pricing modes
- The formulas, and the one check that never fails
- Worked example: one item, three directions, one answer
- Markup vs margin: the conversion pairs worth memorizing
- The second job of this ratio: valuing inventory
- What competing pricing tools miss
- Frequently Asked Questions
- Add This Calculator to Your Website
- References
How to use the three pricing modes
Ratio from cost and price is the audit mode. You already sell the item, so enter its cost and shelf price to see the ratio, markup, margin, and profit per unit it actually delivers.
Price from cost and margin is the setting mode. You know what the item costs and the margin your category has to hold, so the calculator returns the price that delivers it, plus the markup that price represents.
Cost from price and margin is the buying mode. The market has fixed the price, so the calculator returns the maximum you can pay a supplier and still keep your margin, which is the number to take into a negotiation.
Do not confuse this page with the cost to income ratio calculation, which divides a business’s total operating costs by its total operating income to judge the whole operation. This page prices individual products at retail; that one measures a business. Sellers who need the margin across a mixed basket rather than one item should use the blended margin calculator after pricing the lines individually here.
The formulas, and the one check that never fails
Cost-to-retail ratio is cost divided by retail price, times 100. Markup is profit divided by cost, times 100: it answers how much you added to what you paid. Gross margin is profit divided by the selling price, times 100: it answers what share of the price you keep. The three describe the same transaction from different angles, and mixing them up is the most common pricing mistake in retail.
The reverse modes are the same relationships solved backwards. A target margin m on a cost c needs a price of c divided by (1 minus m). A price p at margin m allows a maximum cost of p times (1 minus m). The calculator refuses a margin of 100% or more, since that would need a zero or negative cost, and it refuses a price at or below cost in the first mode, since a ratio above 100% means selling at a loss.
Worked example: one item, three directions, one answer
The calculator is pre-filled with this case in all three modes, and every figure below is what it returns.
| Mode | Inputs | Headline result | Also shown |
|---|---|---|---|
| Ratio from cost and price | Cost $30, price $50 | Ratio 60.00% | Markup 66.67%, margin 40.00%, profit $20.00 |
| Price from cost and margin | Cost $30, margin 40% | Price $50.00 | Markup 66.67%, profit $20.00 |
| Cost from price and margin | Price $50, margin 40% | Max cost $30.00 | Markup 66.67%, profit $20.00 |
The bars make the trap visible. Cost and margin are slices of the price, so their bars describe parts of one whole. Markup is measured against the smaller cost figure, which is why its bar runs past the margin’s even though all three rows describe the same $20 of profit. If you want the overall profitability picture once individual lines are priced, the profit ratio calculator puts profit against revenue at the business level.
Markup vs margin: the conversion pairs worth memorizing
Markup and margin are not interchangeable. A 50% markup on cost is only a 33.33% margin on price, and it takes a 100% markup to reach a 50% margin. The conversion runs both ways without any prices at all: margin = markup / (1 + markup), and markup = margin / (1 minus margin), with the percentages as decimals.
| Markup on cost | Margin on price | Cost-to-retail ratio |
|---|---|---|
| 25.00% | 20.00% | 80.00% |
| 33.33% | 25.00% | 75.00% |
| 42.86% | 30.00% | 70.00% |
| 66.67% | 40.00% | 60.00% |
| 100.00% | 50.00% | 50.00% |
| 150.00% | 60.00% | 40.00% |
| 300.00% | 75.00% | 25.00% |
The practical damage happens in one direction. A buyer who hears “we price at a 40% margin” and applies a 40% markup instead charges $42 for a $30 item instead of $50, giving up $8 of profit on every unit while believing the target was met. When a supplier quotes margin and you think in markup, or the reverse, convert before you price. If your target is specifically a 20% margin, the 20 percent margin calculator walks through that single case in depth.
The second job of this ratio: valuing inventory
Accountants use the same ratio for the retail inventory method, a standard estimation technique described in IRS guidance on inventories. Multiply ending inventory at retail by the cost-to-retail ratio to estimate ending inventory at cost, then subtract from the cost of goods available for sale to get cost of goods sold. Example: $250,000 of goods available at cost against $400,000 at retail is a 62.50% ratio; $100,000 of ending inventory at retail is therefore about $62,500 at cost, leaving $187,500 of cost of goods sold. It is an estimate used between physical counts, not a substitute for them, and markdowns complicate it, which is why the accounting version is usually computed on a whole department rather than a single item.
What competing pricing tools miss
The ratio-only tools and markup-only tools reviewed for this page each show part of the picture, and the missing parts are where pricing errors live.
Miss 1: the ratio with nothing attached. Several cost-to-retail tools return the percentage and stop, sometimes as a bare decimal with no markup, no margin, and no profit per unit, so you cannot see what the ratio means for the money you keep.
Miss 2: no reverse solve. Markup calculators that only go forwards cannot answer the two questions sellers actually bring: what price holds my margin, and what is the most I can pay? The two reverse modes here answer both from the same relationships.
Miss 3: markup taught, margin ignored. Tools built around markup alone never warn you that a 50% markup is a 33.33% margin. This page shows both on every result and prints the check that ties them together: ratio plus margin equals 100%.
One honest limit: every figure here is gross. Freight, shrinkage, payment processing, and the markdowns you will eventually take all come out of the margin this calculator shows, so a healthy ratio is the starting point for pricing, not the finish.
Frequently Asked Questions
It depends on the category: grocery runs high ratios with thin margins, while apparel and accessories run lower ones. Compare against your own category’s typical gross margin rather than a universal number; the ratio plus the margin always equals 100%.
Markup divides profit by cost; margin divides profit by price. A 50% markup is a 33.33% margin. Use the conversion table on this page or the calculator’s reverse modes to move between them.
Divide your cost by one minus the margin as a decimal. A $30 cost at a 40% margin needs $30 / 0.60 = $50. Use the Price from cost and margin mode above and it returns the price, the markup, and the profit per unit.
Margin = markup / (1 + markup) and markup = margin / (1 minus margin), using decimals. A 66.67% markup converts to a 40.00% margin, and a 40% margin converts back to a 66.67% markup. No prices are needed for the conversion itself.
The calculator requires the price to exceed cost, since a ratio above 100% means selling at a loss. Loss leaders exist as a deliberate strategy, but that is a pricing decision to make openly, not a calculation error to hide.
In the retail inventory method, ending inventory at retail times the cost-to-retail ratio estimates ending inventory at cost. Subtracting that from the cost of goods available for sale gives an estimate of cost of goods sold between physical counts.
No. Cost-to-retail divides one product’s cost by its selling price to set and check retail prices. A cost-to-income ratio divides a whole business’s operating costs by its operating income to judge efficiency. Similar names, different jobs.
Add This Calculator to Your Website
References
- Internal Revenue Service, “Publication 538, Accounting Periods and Methods” covering inventory accounting, including estimating inventory values between physical counts. IRS: Publication 538. Accessed October 2026.
- AccountingTools, “Retail inventory method” explaining the cost-to-retail percentage and how it converts ending inventory at retail into an estimated cost. AccountingTools: Retail inventory method. Accessed October 2026.
- AccountingTools, “The difference between markup and margin” on why the same profit produces two different percentages. AccountingTools: Markup vs margin. Accessed October 2026.
- Corporate Finance Institute, “Gross profit margin” defining margin as gross profit divided by revenue and how analysts read it. CFI: Gross profit margin. Accessed October 2026.
- Investopedia, “Gross margin” on what the margin measures and how it differs across retail categories. Investopedia: Gross margin. Accessed October 2026.
- Investopedia, “Markup” on cost-plus pricing and how markup percentages are quoted by sellers. Investopedia: Markup. Accessed October 2026.
- US Census Bureau, “Annual Retail Trade Survey” publishing sales and margin data by kind of retail business for category comparisons. US Census Bureau: Annual Retail Trade Survey. Accessed October 2026.
- AccountingTools, “Cost of goods sold” on the components that belong in unit cost before a retail price is set. AccountingTools: Cost of goods sold. Accessed October 2026.
