Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Cost To Retail Ratio Calculator
Retail Calculators

Cost To Retail Ratio Calculator

Published onSeptember 16, 2025 Updated onOctober 21, 2026 3:28 am

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.

Cost to Retail Ratio Calculator
Ratio, markup and margin, forwards and backwards


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

Quick answer: An item that costs $30 and retails for $50 has a cost-to-retail ratio of 60.00%, a markup on cost of 66.67%, a gross margin of 40.00%, and $20.00 of profit per unit. Run the same numbers backwards and they agree: a $30 cost at a 40% margin target needs a $50.00 price, and a $50 price at a 40% margin allows at most a $30.00 cost.

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.
On this page
  • 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

1

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.

2

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.

3

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 formulas: Ratio = cost / retail price x 100. Markup = (price minus cost) / cost x 100. Margin = (price minus cost) / price x 100. Price from margin = cost / (1 minus margin). Maximum cost = price x (1 minus margin). The built-in check: ratio + margin = 100%, always.

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.

ModeInputsHeadline resultAlso shown
Ratio from cost and priceCost $30, price $50Ratio 60.00%Markup 66.67%, margin 40.00%, profit $20.00
Price from cost and marginCost $30, margin 40%Price $50.00Markup 66.67%, profit $20.00
Cost from price and marginPrice $50, margin 40%Max cost $30.00Markup 66.67%, profit $20.00
Cost share of the $50 price
60.00%
Margin share of the $50 price
40.00%
Markup on the $30 cost
66.67%

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 costMargin on priceCost-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

Embed the Cost to Retail Ratio Calculator on your own site. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. 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.
  2. 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.
  3. AccountingTools, “The difference between markup and margin” on why the same profit produces two different percentages. AccountingTools: Markup vs margin. Accessed October 2026.
  4. 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.
  5. Investopedia, “Gross margin” on what the margin measures and how it differs across retail categories. Investopedia: Gross margin. Accessed October 2026.
  6. Investopedia, “Markup” on cost-plus pricing and how markup percentages are quoted by sellers. Investopedia: Markup. Accessed October 2026.
  7. 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.
  8. 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.

Related calculators

Retail CalculatorsLong Tail Ratio CalculatorA long tail ratio calculator answers a simple distribution question: of everything you sold, how much came from niche items rather than bestsellers?Retail CalculatorsGarage Sale Value CalculatorPricing is the hardest part of a garage sale.Retail CalculatorsConvenience Store Profit CalculatorA convenience store can ring up impressive daily sales and still keep almost none of it.Retail CalculatorsPawn Shop Offer CalculatorThe number that matters at the pawn counter is not what you paid.Retail CalculatorsConsignment Percentage CalculatorIn a consignment deal, a shop sells your item and keeps an agreed percentage.Retail CalculatorsSales Per Square Foot CalculatorRent is charged by the square foot, so the fairest way to judge a store is by the square foot too.

We use cookies to analyze traffic and to serve ads that keep our calculators free. You can accept or decline cookies below. Learn more

calculatorzilo

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search