★ MONEY · SMALL BUSINESS · COST OF GOODS SOLD

Cost of Goods Sold (COGS) Calculator: Profit & Margin

On the defaults — $50,000 of revenue, $8,000 of beginning inventory, $22,000 of purchases and $6,000 of ending inventory — the cost of goods sold is $24,000.00, the gross profit is $26,000.00 and the gross margin is 52.00%. Put in your own revenue, beginning inventory, purchases and ending inventory, and the calculator works out what the goods you sold cost you, what you kept, and the margin — the share of every sales dollar that stays in the business after the goods are paid for. This one finds the COST of what you sold — one business, four numbers: the contribution-margin-calculator page is CONTRIBUTION MARGIN — revenue minus variable costs — not the cost of the goods themselves; the inventory-turnover-calculator page is TURNOVER — how fast the stock sells — not what it cost; the break-even-point-calculator page is BREAK-EVEN — the sales that cover the fixed costs — not the cost of the goods; and the gross-margin-return-on-investment-calculator page is GMROI — the profit each dollar of inventory earns — not the cost itself. No cost-of-goods-sold calculator of any kind exists on this site — this one is the first.

1310

Cost of goods sold calculator

Cost of goods sold = beginning inventory + purchases − ending inventory; gross profit = revenue − cost of goods sold; gross margin = gross profit ÷ revenue × 100. On the defaults — revenue $50,000.00; beginning inventory $8,000.00; purchases $22,000.00; ending inventory $6,000.00; cost of goods sold $24,000.00; gross profit $26,000.00; gross margin 52.00%. The COGS is $24,000.00, the gross profit is $26,000.00 and the margin is 52.00%: for every $100 of sales, $48.00 paid for the goods and $52.00 stayed in the business. The COGS, the profit and the margin are three outputs, never the same number. The COGS rises when the beginning inventory rises or the purchases rise, and falls when the ending inventory rises: $12,000 of beginning inventory instead of $8,000 lifts the COGS to $28,000.00 and cuts the margin to 44.00%, and $12,000 of ending inventory instead of $6,000 drops it to $18,000.00 and lifts the margin to 64.00%. The COGS does NOT move when the revenue moves — the revenue is what you sold the goods for, not what they cost: at $60,000 of revenue the COGS is still $24,000.00 and the margin is 60.00%, and at $40,000 it is still $24,000.00 and the margin is 40.00%. When the revenue is $0 there are no sales to measure a margin against — the calculator says plainly the margin is undefined, never hides it — and the COGS is still $24,000.00 and the profit is −$24,000.00. When the ending inventory is bigger than the beginning inventory plus the purchases, the COGS goes negative — $35,000 of ending inventory gives a COGS of −$5,000.00 and a margin of 110.00% — which means the count is wrong, and the calculator says so in Accuracy & limitations. A one-dollar move in the revenue moves the margin by only 0.002 points, so the neighbour’s displayed figure can sit a hair from the target — the page prints the unrounded six-decimal margin in full so the rounding does not mislead you. The calculator shows all of it with notes, never hides it.

Your revenue — what you sold the goods for — in dollars — the default is $50,000.

The beginning inventory — what you had on hand at the start of the period — in dollars — the default is $8,000.

The purchases — what you bought during the period — in dollars — the default is $22,000.

The ending inventory — what you have left at the end of the period — in dollars — the default is $6,000.

COGS $24,000.00; gross profit $26,000.00; gross margin 52.00%COGS $24,000.00; gross profit $26,000.00; gross margin 52.00%COGS $24,000.00; gross profit $26,000.00; gross margin 52.00%. On $50,000.00 of revenue, $8,000.00 of beginning inventory, $22,000.00 of purchases and $6,000.00 of ending inventory, the COGS is $24,000.00, the gross profit is $26,000.00 and the gross margin is 52.00%.

Revenue: $50,000.00

Beginning inventory: $8,000.00

Purchases: $22,000.00

Ending inventory: $6,000.00

Cost of goods sold: $24,000.00

Gross profit: $26,000.00

Gross margin: 52.00%

Verdict: Gross margin 52.00% — $26,000.00 of profit on $50,000.00 of revenue; at or above a 50% margin

Branch: Revenue $60,000: COGS $24,000.00; gross profit $36,000.00; gross margin 60.00%

Branch: Revenue $40,000: COGS $24,000.00; gross profit $16,000.00; gross margin 40.00%

Branch: Beginning inventory $12,000: COGS $28,000.00; gross profit $22,000.00; gross margin 44.00%

Branch: Beginning inventory $4,000: COGS $20,000.00; gross profit $30,000.00; gross margin 60.00%

Branch: Purchases $30,000: COGS $32,000.00; gross profit $18,000.00; gross margin 36.00%

Branch: Purchases $15,000: COGS $17,000.00; gross profit $33,000.00; gross margin 66.00%

Branch: Ending inventory $12,000: COGS $18,000.00; gross profit $32,000.00; gross margin 64.00%

Branch: Ending inventory $0: COGS $30,000.00; gross profit $20,000.00; gross margin 40.00%

Branch: Revenue $75,000: COGS $24,000.00; gross profit $51,000.00; gross margin 68.00%

Branch: Revenue $30,000: COGS $24,000.00; gross profit $6,000.00; gross margin 20.00%

Reverse: Smallest revenue for the margin to STAY at or above 50%: $48,000

Reverse: Smallest revenue for the margin to STAY at or above 50% (rounded): $48,000

At $48,000 the figures are: COGS $24,000.00; gross profit $24,000.00; gross margin 50.00% (unrounded 50.000000%)

At the lower neighbor the figures are: COGS $24,000.00; gross profit $23,999.00; gross margin 50.00% (unrounded 49.998958%)

At the upper neighbor the figures are: COGS $24,000.00; gross profit $24,001.00; gross margin 50.00% (unrounded 50.001042%)

Reverse verdict: STEP

Reverse: Largest ending inventory for the COGS to STAY at or above $20,000: $10,000

Reverse: Largest ending inventory for the COGS to STAY at or above $20,000 (rounded): $10,000

At $10,000 the figures are: COGS $20,000.00; gross profit $30,000.00; gross margin 60.00% (unrounded 60.000000%)

At the lower neighbor the figures are: COGS $20,001.00; gross profit $29,999.00; gross margin 60.00% (unrounded 59.998000%)

At the upper neighbor the figures are: COGS $19,999.00; gross profit $30,001.00; gross margin 60.00% (unrounded 60.002000%)

Reverse verdict: STEP

Reverse: Smallest purchases for the COGS to STAY at or above $25,000: $23,000

Reverse: Smallest purchases for the COGS to STAY at or above $25,000 (rounded): $23,000

At $23,000 the figures are: COGS $25,000.00; gross profit $25,000.00; gross margin 50.00% (unrounded 50.000000%)

At the lower neighbor the figures are: COGS $24,999.00; gross profit $25,001.00; gross margin 50.00% (unrounded 50.002000%)

At the upper neighbor the figures are: COGS $25,001.00; gross profit $24,999.00; gross margin 50.00% (unrounded 49.998000%)

Reverse verdict: STEP

Reverse: Largest beginning inventory for the profit to STAY at or above $25,000: $9,000

Reverse: Largest beginning inventory for the profit to STAY at or above $25,000 (rounded): $9,000

At $9,000 the figures are: COGS $25,000.00; gross profit $25,000.00; gross margin 50.00% (unrounded 50.000000%)

At the lower neighbor the figures are: COGS $24,999.00; gross profit $25,001.00; gross margin 50.00% (unrounded 50.002000%)

At the upper neighbor the figures are: COGS $25,001.00; gross profit $24,999.00; gross margin 50.00% (unrounded 49.998000%)

Reverse verdict: STEP

Reverse: Smallest revenue for the profit to STAY at or above $30,000: $54,000

Reverse: Smallest revenue for the profit to STAY at or above $30,000 (rounded): $54,000

At $54,000 the figures are: COGS $24,000.00; gross profit $30,000.00; gross margin 55.56% (unrounded 55.555556%)

At the lower neighbor the figures are: COGS $24,000.00; gross profit $29,999.00; gross margin 55.55% (unrounded 55.554732%)

At the upper neighbor the figures are: COGS $24,000.00; gross profit $30,001.00; gross margin 55.56% (unrounded 55.556379%)

Reverse verdict: STEP

Reverse: Largest purchases for the margin to STAY at or above 50%: $23,000

Reverse: Largest purchases for the margin to STAY at or above 50% (rounded): $23,000

At $23,000 the figures are: COGS $25,000.00; gross profit $25,000.00; gross margin 50.00% (unrounded 50.000000%)

At the lower neighbor the figures are: COGS $24,999.00; gross profit $25,001.00; gross margin 50.00% (unrounded 50.002000%)

At the upper neighbor the figures are: COGS $25,001.00; gross profit $24,999.00; gross margin 50.00% (unrounded 49.998000%)

Reverse verdict: STEP

Edge: Revenue $0: Revenue is $0 — there are no sales to measure a margin against, so the gross margin is undefined.

Edge: Beginning inventory $0, purchases $0, ending inventory $0: COGS $0.00; gross profit $50,000.00; gross margin 100.00%

Edge: Revenue $48,765.43, beginning inventory $8,123.45, purchases $21,987.65, ending inventory $5,987.32 (margin unrounded 50.530981%): COGS $24,123.78; gross profit $24,641.65; gross margin 50.53% (unrounded 50.530981%)

Edge: Revenue $10,000,000, beginning inventory $1,500,000, purchases $4,200,000, ending inventory $900,000: COGS $4,800,000.00; gross profit $5,200,000.00; gross margin 52.00%

Edge: Ending inventory $0: COGS $30,000.00; gross profit $20,000.00; gross margin 40.00%

Edge: Purchases $0: COGS $2,000.00; gross profit $48,000.00; gross margin 96.00%

Edge: Beginning inventory $0: COGS $16,000.00; gross profit $34,000.00; gross margin 68.00%

Edge: Revenue $24,000: COGS $24,000.00; gross profit $0.00; gross margin 0.00%

Edge: Ending inventory $35,000: COGS −$5,000.00; gross profit $55,000.00; gross margin 110.00%

Edge: Revenue $1, beginning inventory $1, purchases $1, ending inventory $1: COGS $1.00; gross profit $0.00; gross margin 0.00%

Edge: Revenue $123,456.78, beginning inventory $23,456.78, purchases $34,567.89, ending inventory $12,345.67 (margin unrounded 63.000007%): COGS $45,679.00; gross profit $77,777.78; gross margin 63.00% (unrounded 63.000007%)

COGS $24,000.00; gross profit $26,000.00; gross margin 52.00%. On the defaults $50,000 of revenue, $8,000 of beginning inventory, $22,000 of purchases and $6,000 of ending inventory, the COGS is $24,000.00, the gross profit is $26,000.00 and the gross margin is 52.00%. If the revenue fell to $48,000, the margin would be 50.00% (unrounded 50.000000%) — and at $47,999 it is 49.998958%, below 50%.

Revenue $60,000: COGS $24,000.00; gross profit $36,000.00; gross margin 60.00%.

Revenue $40,000: COGS $24,000.00; gross profit $16,000.00; gross margin 40.00%.

Beginning inventory $12,000: COGS $28,000.00; gross profit $22,000.00; gross margin 44.00%.

Beginning inventory $4,000: COGS $20,000.00; gross profit $30,000.00; gross margin 60.00%.

Purchases $30,000: COGS $32,000.00; gross profit $18,000.00; gross margin 36.00%.

Purchases $15,000: COGS $17,000.00; gross profit $33,000.00; gross margin 66.00%.

Ending inventory $12,000: COGS $18,000.00; gross profit $32,000.00; gross margin 64.00%.

Ending inventory $0: COGS $30,000.00; gross profit $20,000.00; gross margin 40.00%.

Revenue $75,000: COGS $24,000.00; gross profit $51,000.00; gross margin 68.00%.

Revenue $30,000: COGS $24,000.00; gross profit $6,000.00; gross margin 20.00%.

Reverse: The smallest revenue for the margin to STAY at or above 50% is $48,000; at $48,000 the figures are COGS $24,000.00; gross profit $24,000.00; gross margin 50.00% (unrounded 50.000000%); at the lower neighbor the figures are COGS $24,000.00; gross profit $23,999.00; gross margin 50.00% (unrounded 49.998958%) — verdict: STEP. Reverse: The largest ending inventory for the COGS to STAY at or above $20,000 is $10,000; at $10,000 the figures are COGS $20,000.00; gross profit $30,000.00; gross margin 60.00% (unrounded 60.000000%); at the upper neighbor the figures are COGS $19,999.00; gross profit $30,001.00; gross margin 60.00% (unrounded 60.002000%) — verdict: STEP. Reverse: The smallest purchases for the COGS to STAY at or above $25,000 is $23,000; at $23,000 the figures are COGS $25,000.00; gross profit $25,000.00; gross margin 50.00% (unrounded 50.000000%); at the lower neighbor the figures are COGS $24,999.00; gross profit $25,001.00; gross margin 50.00% (unrounded 50.002000%) — verdict: STEP. Reverse: The largest beginning inventory for the profit to STAY at or above $25,000 is $9,000; at $9,000 the figures are COGS $25,000.00; gross profit $25,000.00; gross margin 50.00% (unrounded 50.000000%); at the upper neighbor the figures are COGS $25,001.00; gross profit $24,999.00; gross margin 50.00% (unrounded 49.998000%) — verdict: STEP. Reverse: The smallest revenue for the profit to STAY at or above $30,000 is $54,000; at $54,000 the figures are COGS $24,000.00; gross profit $30,000.00; gross margin 55.56% (unrounded 55.555556%); at the lower neighbor the figures are COGS $24,000.00; gross profit $29,999.00; gross margin 55.55% (unrounded 55.554732%) — verdict: STEP. Reverse: The largest purchases for the margin to STAY at or above 50% is $23,000; at $23,000 the figures are COGS $25,000.00; gross profit $25,000.00; gross margin 50.00% (unrounded 50.000000%); at the upper neighbor the figures are COGS $25,001.00; gross profit $24,999.00; gross margin 50.00% (unrounded 49.998000%) — verdict: STEP.

Edges: Revenue $0 gives Revenue is $0 — there are no sales to measure a margin against, so the gross margin is undefined.. Beginning inventory $0, purchases $0, ending inventory $0 gives COGS $0.00; gross profit $50,000.00; gross margin 100.00%. Revenue $48,765.43, beginning inventory $8,123.45, purchases $21,987.65, ending inventory $5,987.32 gives COGS $24,123.78; gross profit $24,641.65; gross margin 50.53% (unrounded 50.530981%). Revenue $10,000,000, beginning inventory $1,500,000, purchases $4,200,000, ending inventory $900,000 gives COGS $4,800,000.00; gross profit $5,200,000.00; gross margin 52.00%. Ending inventory $0 gives COGS $30,000.00; gross profit $20,000.00; gross margin 40.00%. Purchases $0 gives COGS $2,000.00; gross profit $48,000.00; gross margin 96.00%. Beginning inventory $0 gives COGS $16,000.00; gross profit $34,000.00; gross margin 68.00%. Revenue $24,000 gives COGS $24,000.00; gross profit $0.00; gross margin 0.00%. Ending inventory $35,000 gives COGS −$5,000.00; gross profit $55,000.00; gross margin 110.00%. Revenue $1, beginning inventory $1, purchases $1, ending inventory $1 gives COGS $1.00; gross profit $0.00; gross margin 0.00%. Revenue $123,456.78, beginning inventory $23,456.78, purchases $34,567.89, ending inventory $12,345.67 gives COGS $45,679.00; gross profit $77,777.78; gross margin 63.00% (unrounded 63.000007%).

What does a COGS of $24,000.00 mean?

It means the goods you sold cost you $24,000.00 to buy or make — $8,000.00 of stock you already had, plus $22,000.00 of stock you bought, minus $6,000.00 of stock still on the shelf. You sold those goods for $50,000.00, so $26,000.00 stayed in the business after the goods were paid for, and the gross margin is 52.00%: for every $100 of sales, $48.00 paid for the goods and $52.00 stayed. The COGS, the profit and the margin are three outputs, never the same number — the COGS is what the goods cost, the profit is what is left, and the margin is the share of every sales dollar that is left.

Three things to check before you trust the number

The revenue does not change the COGS. At $60,000 of revenue the COGS is still $24,000.00 and the margin is 60.00%, and at $40,000 it is still $24,000.00 and the margin is 40.00%. The revenue is what you sold the goods for, not what they cost — if changing the revenue changes your COGS, the formula is wrong.

The ending inventory is the lever that moves the COGS. $12,000 of ending inventory instead of $6,000 drops the COGS to $18,000.00 and lifts the margin to 64.00%, and $0 of ending inventory lifts it to $30,000.00 and cuts the margin to 40.00%. Count the stock at the end of the period carefully — a wrong count moves the profit by the same amount, in the opposite direction.

A negative COGS means the count is wrong. $35,000 of ending inventory gives a COGS of −$5,000.00 and a margin of 110.00%: you cannot have more stock left than you started with plus what you bought. Check the count before you trust the profit.

Worked example

On the defaults: revenue $50,000.00; beginning inventory $8,000.00; purchases $22,000.00; ending inventory $6,000.00.

  1. Cost of goods sold: $8,000.00 + $22,000.00 − $6,000.00 = $24,000.00.
  2. Gross profit: $50,000.00 − $24,000.00 = $26,000.00.
  3. Gross margin: $26,000.00 ÷ $50,000.00 × 100 = 52.00%.
  4. Verdict: the margin sits at or above 50%.
  5. Smallest revenue for a 50% margin: $48,000 — at $48,000 the margin is 50.00% (unrounded 50.000000%), and at $47,999 it is 49.998958%.
  6. Largest ending inventory for a $20,000 COGS: $10,000 — at $10,000 the COGS is $20,000.00, and at $10,001 it is $19,999.00.
  7. Smallest purchases for a $25,000 COGS: $23,000 — at $23,000 the COGS is $25,000.00, and at $22,999 it is $24,999.00.

Every branch, checked

The reverses, worked backwards

What the defaults assume

The defaults are one small business with $50,000 of revenue, $8,000 of beginning inventory, $22,000 of purchases and $6,000 of ending inventory. They are a starting point, not a benchmark: a grocery shop and a software reseller have very different margins, and the right margin for your business is the one that covers your overhead and leaves a profit. Change the four numbers to your own and the calculator recomputes instantly.

These notes repeat in every explainer section because this page is built to be read start to finish: the defaults are one business’s numbers, not a standard; the COGS does not move with the revenue; the ending inventory is the lever; and a negative COGS means the count is wrong.

Output · formula · meaning

OutputFormulaWhat it means
Revenueinput$50,000.00.
Beginning inventoryinput$8,000.00.
Purchasesinput$22,000.00.
Ending inventoryinput$6,000.00.
Cost of goods soldbeginning inventory + purchases − ending inventory$24,000.00.
Gross profitrevenue − cost of goods sold$26,000.00.
Gross margingross profit ÷ revenue × 10052.00%.
Verdictwhether the margin sits at or above 50%Gross margin 52.00% — $26,000.00 of profit on $50,000.00 of revenue; at or above a 50% margin.
Reverse: Smallest revenue for the margin to STAY at or above 50%step$48,000: COGS $24,000.00; gross profit $24,000.00; gross margin 50.00% (unrounded 50.000000%).
Reverse: Largest ending inventory for the COGS to STAY at or above $20,000step$10,000: COGS $20,000.00; gross profit $30,000.00; gross margin 60.00% (unrounded 60.000000%).
Reverse: Smallest purchases for the COGS to STAY at or above $25,000step$23,000: COGS $25,000.00; gross profit $25,000.00; gross margin 50.00% (unrounded 50.000000%).
Reverse: Largest beginning inventory for the profit to STAY at or above $25,000step$9,000: COGS $25,000.00; gross profit $25,000.00; gross margin 50.00% (unrounded 50.000000%).
Reverse: Smallest revenue for the profit to STAY at or above $30,000step$54,000: COGS $24,000.00; gross profit $30,000.00; gross margin 55.56% (unrounded 55.555556%).
Reverse: Largest purchases for the margin to STAY at or above 50%step$23,000: COGS $25,000.00; gross profit $25,000.00; gross margin 50.00% (unrounded 50.000000%).
Revenue $60,000same modelCOGS $24,000.00; gross profit $36,000.00; gross margin 60.00%.
Revenue $40,000same modelCOGS $24,000.00; gross profit $16,000.00; gross margin 40.00%.
Beginning inventory $12,000same modelCOGS $28,000.00; gross profit $22,000.00; gross margin 44.00%.
Beginning inventory $4,000same modelCOGS $20,000.00; gross profit $30,000.00; gross margin 60.00%.
Purchases $30,000same modelCOGS $32,000.00; gross profit $18,000.00; gross margin 36.00%.
Purchases $15,000same modelCOGS $17,000.00; gross profit $33,000.00; gross margin 66.00%.
Ending inventory $12,000same modelCOGS $18,000.00; gross profit $32,000.00; gross margin 64.00%.
Ending inventory $0same modelCOGS $30,000.00; gross profit $20,000.00; gross margin 40.00%.
Revenue $75,000same modelCOGS $24,000.00; gross profit $51,000.00; gross margin 68.00%.
Revenue $30,000same modelCOGS $24,000.00; gross profit $6,000.00; gross margin 20.00%.
Revenue $0same modelRevenue is $0 — there are no sales to measure a margin against, so the gross margin is undefined..
Beginning inventory $0, purchases $0, ending inventory $0same modelCOGS $0.00; gross profit $50,000.00; gross margin 100.00%.
Revenue $48,765.43, beginning inventory $8,123.45, purchases $21,987.65, ending inventory $5,987.32 (margin unrounded 50.530981%)same modelCOGS $24,123.78; gross profit $24,641.65; gross margin 50.53% (unrounded 50.530981%).
Revenue $10,000,000, beginning inventory $1,500,000, purchases $4,200,000, ending inventory $900,000same modelCOGS $4,800,000.00; gross profit $5,200,000.00; gross margin 52.00%.
Ending inventory $0same modelCOGS $30,000.00; gross profit $20,000.00; gross margin 40.00%.
Purchases $0same modelCOGS $2,000.00; gross profit $48,000.00; gross margin 96.00%.
Beginning inventory $0same modelCOGS $16,000.00; gross profit $34,000.00; gross margin 68.00%.
Revenue $24,000same modelCOGS $24,000.00; gross profit $0.00; gross margin 0.00%.
Ending inventory $35,000same modelCOGS −$5,000.00; gross profit $55,000.00; gross margin 110.00%.
Revenue $1, beginning inventory $1, purchases $1, ending inventory $1same modelCOGS $1.00; gross profit $0.00; gross margin 0.00%.
Revenue $123,456.78, beginning inventory $23,456.78, purchases $34,567.89, ending inventory $12,345.67 (margin unrounded 63.000007%)same modelCOGS $45,679.00; gross profit $77,777.78; gross margin 63.00% (unrounded 63.000007%).

Who uses this

Accuracy & limitations

The calculator does the arithmetic exactly — the COGS is beginning inventory plus purchases minus ending inventory, the profit is revenue minus COGS, and the margin is profit divided by revenue — and every figure on this page is checked against an independent model. What it cannot do is count your stock for you: a wrong inventory count moves the profit by the same amount, and a negative COGS always means the count is wrong. It also treats all purchases as goods for sale — overhead, wages and rent are not in the COGS, they come out of the gross profit. And the margin is undefined when the revenue is $0: with no sales there is nothing to measure a margin against, and the calculator says so plainly rather than printing a number.

Cite this calculator

Cost of goods sold = beginning inventory + purchases − ending inventory; gross profit = revenue − cost of goods sold; gross margin = gross profit ÷ revenue × 100. On the defaults — revenue $50,000.00, beginning inventory $8,000.00, purchases $22,000.00, ending inventory $6,000.00 — the COGS is $24,000.00, the gross profit is $26,000.00 and the margin is 52.00%. Smallest revenue for a 50% margin: $48,000. Largest ending inventory for a $20,000 COGS: $10,000. Smallest purchases for a $25,000 COGS: $23,000. Largest beginning inventory for a $25,000 profit: $9,000. Smallest revenue for a $30,000 profit: $54,000. Largest purchases for a 50% margin: $23,000. Source: Bright Side Kit, brightoolbox.com.

Embed this calculator

Frequently asked questions

What is cost of goods sold?

Cost of goods sold (COGS) is what you paid for the goods you sold — beginning inventory plus purchases minus ending inventory. On the defaults it is $8,000.00 + $22,000.00 − $6,000.00 = $24,000.00.

How do I calculate COGS?

Add the beginning inventory and the purchases, then subtract the ending inventory: $8,000.00 + $22,000.00 − $6,000.00 = $24,000.00. Put your own four numbers into the calculator above and it does the rest.

What is a good gross margin?

It depends on the business — a grocery shop runs thin, a service business runs fat. On the defaults the margin is 52.00%, which sits at or above a 50% margin. Compare your margin to businesses like yours, not to a universal number.

What is the difference between COGS and gross profit?

COGS is a cost — $24,000.00 on the defaults — and gross profit is what is left after it — $26,000.00. The margin is the profit as a share of revenue: 52.00%.

What counts as beginning inventory?

Whatever you had on hand at the start of the period, valued at what it cost you — $8,000.00 on the defaults. It is the previous period’s ending inventory, not a fresh guess.

How much revenue do I need for a 50% margin?

With the default costs, $48,000: at $48,000 the margin is exactly 50.00%, and at $47,999 it is 49.998958% — just below. The calculator’s reverse check works this out for any set of numbers.

What if my ending inventory is bigger than my beginning inventory plus purchases?

Then the COGS goes negative — $35,000 of ending inventory gives −$5,000.00 — which means the count is wrong. Recount before you trust the profit.

What is the difference between COGS and contribution margin?

COGS is the cost of the goods sold, whatever those goods are. Contribution margin is revenue minus variable costs only, so it strips out fixed costs that the COGS can include. The contribution-margin-calculator page works it out for you.