Margin Calculator

Calculate gross profit, margin percent, and markup from revenue and cost of goods sold—Reset uses $100,000 revenue and $60,000 cost.

Gross margin

Margin40.00%
Guide & resources

What this margin calculator does

Pricing meetings mix “markup” and “margin” until someone opens a spreadsheet. This margin calculator takes revenue and cost (COGS-style direct cost), then reports profit, gross margin %, and markup % live. Reset restores the teaching default: $100,000 revenue, $60,000 cost—$40,000 profit, 40% gross margin, and about 66.67% markup on cost.

It is gross margin only—no rent, payroll, marketing, or taxes. Pair with the percent calculator for generic ratio questions, the sales tax calculator when revenue must be stated net of collected tax, and the loan calculator when debt service follows a pricing decision. Business owners comparing loan payments to profit can also open the business loan calculator. Explore more on the financial calculator hub and finance calculator index.

Who should use it and when

Retail buyers negotiating vendor quotes. Restaurant operators checking menu item contribution after food cost updates. Etsy sellers translating material cost into list price. Startup founders sanity-checking unit economics before a pitch deck slide says “70% margins” when they meant markup. Accountants training staff on margin versus markup vocabulary.

Run it before you change list prices, after a supplier invoice lands, or when a sales rep quotes “50% off” and you need to know whether you still cover COGS. It is not a full P&L—operating expenses live offline or in accounting software.

Quick start

  1. Enter Revenue—sales for the line item or period at the price customers pay (consistent with your books).
  2. Enter Cost—direct cost of goods sold for the same revenue (materials, wholesale, manufacturing input).
  3. Read Profit, Gross margin %, and Markup % in the results card.
  4. Toggle numbers to test a price increase or supplier hike before you commit.
  5. Tap Reset for $100k revenue, $60k cost, 40% margin.

Gross margin formula

Profit = Revenue − Cost. Gross margin % = Profit ÷ Revenue × 100. On the default, $40,000 ÷ $100,000 = 40%. Margin is always anchored to the selling price—the dollar you collect. That is why a “40% margin” item keeps 40 cents of each revenue dollar after direct cost, not 40 cents of cost.

Markup formula

Markup % = Profit ÷ Cost × 100. On the default, $40,000 ÷ $60,000 ≈ 66.67%. Markup answers “how much did I add on top of cost?” Retail buyers often think in markup; finance teams often speak margin. The calculator shows both so translation errors stop at the loading dock.

Default scenario after Reset: $100,000 revenue and $60,000 cost
Metric Formula Value
Profit Revenue − cost $40,000
Gross margin Profit ÷ revenue 40%
Markup on cost Profit ÷ cost 66.67%
Cost as % of revenue Cost ÷ revenue 60%

Margin versus markup in retail

A buyer says “we need 55% markup.” Sales multiplies cost by 1.55. Finance asks “is that 35% margin?”—different question. At $60 cost, 55% markup yields $93 price ($33 profit), which is only 35.5% margin ($33 ÷ $93). Type revenue and cost here after quoting to see both percents. Mislabeling markup as margin in contracts has caused lawsuits—use the labels this page prints.

Operating expenses not included

Rent, salaried labor, insurance, and software subscriptions are below gross profit on a real income statement. A 40% gross margin product can still lose money if overhead is 45% of revenue. Use this tool for pricing and COGS discipline; use your accounting system for net margin. The salary calculator helps translate employee cost into hourly burden offline, not inside gross margin fields.

Negative margin when cost exceeds revenue

Selling below cost—clearance, loss leader, or spreadsheet error—shows negative profit and negative margin. The math is a warning, not a moral judgment; fix price, reduce cost, or document strategic subsidy. If margin is deeply negative on your hero SKU, cross-subsidy from other lines must be explicit in management reviews.

Sales tax and revenue basis

Enter revenue net of sales tax you collect for the state when tax is not your income. If your POS reports gross including tax, subtract pass-through tax before margin math or use the sales tax calculator to split. Consistency matters more than which convention you pick—match last year’s method.

Restaurant and food cost targets

Operators often target food cost near 28–35% of menu price depending on concept—this page does not embed benchmarks, but you can type plate price as revenue and ingredient cost as COGS. A $15 entrée with $5 food cost is 66.7% margin ($10 ÷ $15). Compare to industry reports manually; regional labor and rent still decide profitability.

Wholesale and private label

Manufacturers selling to distributors may quote wholesale revenue lower than MSRP. Enter the revenue you actually recognize and the unit COGS you incur—margin on wholesale can look thin while retail margin on the same SKU looks fat for the store. Run two rows in a spreadsheet or two calculator passes for each channel.

Discounting without updating cost

A 20% off sale drops revenue while cost stays fixed—margin collapses faster than buyers expect. Model sale price on the discount calculator, then feed the discounted price as revenue here with the same cost to see post-promo margin. Stack coupons by applying discounts sequentially in two discount passes, per that tool’s FAQ.

Debt service coverage intuition

Lenders ask whether cash flow covers debt payments. Gross profit dollars from this page are a numerator ingredient, not the whole story—you still subtract overhead and compare to payment from the business loan calculator. Pair payment with average monthly gross profit for a rough coverage sense before you apply, not as an underwriting substitute.

Three worked examples (reset to defaults)

Example 1: Default wholesale batch

Reset: revenue $100,000, cost $60,000. Profit $40,000, margin 40%, markup about 66.67%. Use as the team’s shared vocabulary check.

Example 2: Supplier cost hike

Hold revenue at $100,000, raise cost to $70,000. Profit falls to $30,000; margin is 30%; markup about 42.9%. Decide whether to pass through price or absorb until contract renewal.

Example 3: Premium pricing test

Hold cost at $60,000, raise revenue to $120,000. Profit $60,000; margin 50%; markup 100%. Validate demand before you print new tags.

What we do not model

Multi-SKU baskets, allocated overhead, depreciation, inventory shrink, currency, channel fees (Amazon, Stripe), income tax, payroll tax, or contribution margin after variable labor. Inventory accounting (FIFO, LIFO) is not simulated—use cost consistent with your ledger.

Using results responsibly

Educational arithmetic for pricing conversations—not tax, legal, or lending advice. Confirm contract definitions of margin with counsel when deals hinge on a percent. Benchmarks from trade associations vary; do not treat 40% as a universal “good” without industry context.

Break-even after overhead (manual)

If monthly overhead is $25,000 and gross margin percent on average sale is 40%, rough revenue to cover overhead alone is $62,500 ($25k ÷ 0.4) before profit—add desired net margin offline. This page supplies the margin percent input from a representative SKU or blended COGS%.

Bundle pricing

Kits with shared packaging cost need allocated COGS per bundle before margin math. Sum allocated cost and bundle price as one revenue-cost pair here, or calculate line items separately and weight by mix in a spreadsheet.

Commission sales teams

If reps earn commission on revenue, treat commission as operating expense, not COGS, unless your industry accounting classifies it as cost of sale. Misclassification inflates gross margin and surprises owners at year-end.

Subscription and SaaS gross margin

Software COGS is often hosting and support labor—not R&D. Investors quote high gross margins on subscriptions; type revenue and direct delivery cost accordingly. R&D stays below the line in investor decks even though cash burn includes it.

Manufacturing scrap and yield

If 5% of material is scrapped, effective COGS per salable unit is higher than raw invoice ÷ units—adjust cost upward before margin percent. Yield mistakes are a common reason real margin trails the pricing spreadsheet.

Import duties and freight in COGS

Landed cost includes freight and duty when those are required to get sellable goods. Excluding freight makes margin look artificially strong until the freight invoice arrives.

Comparing vendors on unit economics

Two suppliers with identical list price but different shipping terms change COGS. Run margin twice with cost A and cost B at the same revenue to see which vendor buys more overhead coverage per dollar sold.

Seasonal mix shifts

Holiday SKUs may have lower margin but higher volume. Blended margin for the quarter is a weighted average of each line’s margin times its revenue share—compute per line here, blend offline.

Private equity quality of earnings

Buyers normalize COGS during diligence. Seller’s “40% margin” may shrink when inventory capitalization errors are fixed—re-run this math on adjusted numbers before you sign a letter of intent.

Teaching markup without embarrassment

New hires confuse “double the cost” (100% markup) with “100% margin” (impossible on finite cost). The default 66.67% markup versus 40% margin is the gentle correction slide—reset in meetings so everyone sees the same integers.

Price elasticity gut check

If a 10% price hike on $100k revenue ($110k) with unchanged $60k cost lifts margin from 40% to 45.45%, ask whether volume will hold. Margin percent rises nonlinearly with price when cost is fixed—the line chart section above shows the curve.

Keystone pricing shorthand

Retail folklore doubles cost for 50% margin—$60 cost → $120 price yields $60 profit on $120 revenue, exactly 50% margin and 100% markup. Keystone is not universal; luxury goods and commodities break the rule. Type keystone numbers here to show new hires why “double” language is margin 50%, not “100% margin.”

Promotional allowances from vendors

Vendor rebates credited against COGS later in the quarter artificially depress cost if you run margin mid-quarter before the credit posts. Accrue expected rebate into cost or run margin after credit lands—otherwise merchandising looks heroic until accounting true-up.

Labor in COGS for services

Law firms and agencies sometimes treat direct billable labor as COGS for gross margin on projects. Overhead partners still sit below gross profit. If your chart of accounts classifies project labor as expense, this calculator’s margin will not match investor slides until you reclassify consistently.

Multi-currency purchases

Import COGS in euros and revenue in dollars need a consistent FX rate on both sides of the same sale. Margin percent is dimensionless once currencies align; mixing spot rates from different dates skews percent by pennies that matter at scale.

Menu engineering matrix

Restaurants plot popularity versus margin per plate—high margin low volume stars fund low margin high volume plowhorses. Compute margin per item here, export to a spreadsheet quadrant, and price losers upward or drop them. No matrix chart on this page by design—just the per-line percent.

Contract manufacturing quotes

CM quotes often exclude packaging and inbound freight—add before margin. A 35% margin on ex-factory price can be 22% margin at shelf if logistics were ignored in the RFQ response.

Warranty reserve and returns

Expected return rate should reduce effective revenue or increase effective COGS before margin review. Ignoring 8% returns on DTC goods overstates margin until chargebacks arrive.

Transfer pricing between entities

Sister companies selling internally at artificial prices distort segment margin—consolidated margin matters for lenders. Run intercompany at arm’s length estimates or use consolidated revenue and cost only once.

Flash sales and loss leaders

Selling one SKU at 10% margin to acquire email subscribers may be rational if lifetime value carries the portfolio. Document strategic subsidy in board notes; margin calculator output is the scoreboard, not the strategy veto.

Inventory markdown cadence

Seasonal apparel marks down 30% then 50%—each tranche is a new revenue-cost pair with unchanged unit cost from purchase order. Run margin at each price stair before you blame buyers for “margin collapse.”

Weekly ops rhythm with the default $100k / $60k story

Monday standups can reference one margin number everyone knows: 40% on the flagship bundle after Reset. When procurement announces a 5% COGS increase, change only cost to $63,000 holding revenue—margin falls to about 37% and profit to $37,000. The team sees dollars and percent move together without opening a full GL export.

Sales wants 10% off list for a national account—discount calculator yields new revenue, margin calculator shows whether $90,000 revenue on $60,000 cost still clears 33.3% margin. If policy floor is 35%, the deal needs a smaller discount or a supplier rebate documented before close. Finance stops being the “no” department when the tools agree in the meeting.

Founders pitching investors should match the margin definition on this page to the COGS footnote in the data room. If slides say 55% gross margin but COGS excludes hosting that investors consider variable, diligence will recompute closer to this calculator’s inputs anyway—align early to avoid term-sheet surprises.

Reset before every board deck review so the appendix worked example matches live demo numbers—$40,000 profit on $100,000 revenue is the mnemonic for “we keep forty cents of each dollar after direct cost,” distinct from forty cents on each dollar of cost (which would be markup language).

Franchise disclosure and unit economics

Franchise Item 19 earnings claims often cite average gross sales and cost of goods for franchised units—your location may differ. Type franchisor example revenue and COGS here to see implied margin percent, then compare to your pro forma before you sign. A 40% margin at $100,000 revenue is not the same profit dollars at $70,000 revenue even if margin percent holds—volume still drives cash.

Franchise fees and marketing fund assessments usually sit below gross margin in P&L—they are not COGS in this form. Owners who subtract royalties from revenue before margin confuse net and gross storylines; keep COGS to product cost only unless your accountant defines otherwise in writing.

Amazon FBA and marketplace fees

Referral and FBA fees can be modeled as part of cost when you want “margin after marketplace take.” Revenue is customer price; cost is landed product plus per-unit fulfillment and commission. Thin margin after fees explains why $100,000 top-line revenue with $60,000 product cost is not 40% margin if $15,000 of fees belong in cost—recompute with $75,000 effective cost for honesty.

CFO review cadence

Close each month by recomputing blended gross margin on top SKUs with this page before the leadership email goes out. When margin percent slips a point on unchanged pricing, COGS investigation starts with supplier invoices—not discounting panic. The default forty percent story trains new analysts what “good” looked like in the template model before mix shifted.

Procurement teams negotiating two percent supplier rebates should net rebate into cost before margin review—$60,000 cost with $1,200 expected rebate behaves like $58,800 cost for forward pricing at unchanged $100,000 revenue, lifting margin slightly. Document rebate timing so margin does not look inflated before cash arrives.

When leadership asks for “margin after shipping,” add per-order shipping cost into the cost field for DTC brands while keeping product COGS separate in your ledger—this page accepts one cost number, so sum thoughtfully before you type.

Reset to $100,000 and $60,000 before quarterly reviews so the forty percent margin anchor stays consistent slide to slide.

Questions we hear often

Default margin example?

$100,000 revenue and $60,000 cost—40% gross margin and $40,000 profit after Reset.

Margin versus markup?

Margin is profit divided by revenue; markup is profit divided by cost—both appear in results.

Operating expenses?

Not included—enter COGS only for gross margin, not rent or payroll overhead.

Negative margin?

If cost exceeds revenue, margin turns negative—check pricing or costs.

Sales tax in revenue?

Use net revenue consistent with your books—exclude collected tax if not yours.

Versus percent calculator?

Percent tool handles generic ratios; this page labels margin and markup explicitly.

Restaurant or retail benchmarks?

Not built in—compare your output to industry reports manually.

How we calculate: We grow the starting balance and each monthly contribution at your entered annual return, compounded monthly, for the number of years you specify. The year-by-year table snapshots balance after twelve contribution-and-growth steps per year. We do not model volatility, rebalancing, taxes, dividends separately, or employer match rules—add match to the contribution field if you want it included.

Educational pricing math—not accounting or tax advice.

Last updated: 2026-10-06