📚 College Credit Guide ✓ TransferCredit.org 🕐 9 min read

What Is Cost of Goods Sold (COGS)? Formula and Examples

This article explains cost of goods sold, shows the standard formula, and walks through examples that tie COGS to gross profit and reporting.

RY
Transfer Credit Specialist
📅 May 29, 2026
📖 9 min read
RY
About the Author
Rachel reviewed transfer applications at two different universities before joining TransferCredit.org. She knows how registrars actually evaluate non-traditional credit and what red flags send applications to the back of the pile. Read more from Rachel Yoon →

A store can ring up $50,000 in sales and still have thin profit if its product costs eat most of that money. Cost of goods sold, or COGS, tells you what it cost to make or buy the items you sold during a set period. That number sits on the income statement, and it shapes gross profit fast. Here’s the basic idea: start with inventory you had on hand, add what you bought, then subtract what you still have left. The result shows the cost tied to the goods that left the shelf, not the cash sitting in the bank. That matters because a business can look busy and still price too low. A small retail shop feels this right away. If it buys 100 phone cases at $8 each and sells them for $12 each, the spread looks decent until rent, wages, and shipping show up. A clean COGS number helps the owner see whether the markup actually works. Reality check: A high sales month can still end with weak gross profit if inventory costs jumped 15% and prices stayed flat. In accounting basics, COGS also keeps the income statement honest. You do not want office rent, ad spend, or software fees mixed into product cost, because that muddies the picture. A clear split between direct costs and operating expenses makes pricing, taxes, and monthly reporting far easier to read.

Illustration of wallet with money banknotes coins and bank card in wallet with arrows up showing income growth on yellow background — TransferCredit.org

Why COGS Shapes Profit

Cost of goods sold shows what a business paid for the products it actually sold, not what it bought and not what it still holds. In a small retail shop with $20,000 in monthly sales, that number sits right under revenue on the income statement, and it tells you how much money is left before rent, payroll, and ads.

Say a boutique buys 200 sweaters at $18 each and sells them for $35. If it sells 120 sweaters in March, COGS tracks the cost of those 120 pieces, or $2,160, not the full $3,600 spent on all 200. That means gross profit starts at $4,200 in sales minus $2,160 in product cost, which leaves $2,040 before other expenses. Use that spread to judge whether your markup can survive slow weeks.

The catch: Sales do not tell the whole story. A shop can post $15,000 in sales and still miss its target if freight jumps 12% or shrink eats into stock, so owners need COGS before they set prices or order more inventory.

A 35-year-old paramedic studying after 12-hour shifts can see the same logic in a different form: if study time drops to 5 hours a week, the person has to focus on the numbers that matter most and skip the fluff. In business, COGS works the same way. You watch the figure that changes gross profit, because that number drives the next decision, like a price hike, a supplier switch, or a smaller order.

The COGS Formula, Step by Step

The standard formula looks simple, but each part pulls data from inventory accounting and purchasing records. If the numbers on the shelf, in the warehouse, and in the invoices do not match, the formula spits out junk, so the bookkeeping has to stay tight.

  1. Start with beginning inventory, which means the goods you had on hand at the start of the period, such as January 1 or the first day of a quarter.
  2. Add purchases during the period, including product buys, freight-in, and other direct costs tied to getting inventory ready to sell.
  3. Subtract purchase returns, allowances, and discounts, because a $500 supplier credit should lower what you count as cost. Use the corrected purchase total, not the first invoice number.
  4. Find ending inventory by counting what remains on hand at the close of the period, often at month-end, quarter-end, or December 31.
  5. Apply the formula: beginning inventory + purchases − ending inventory = COGS. If you started with $4,000, bought $9,000, and ended with $3,500, COGS equals $9,500.
  6. Check the result against the income statement and the inventory ledger, because a mismatch of even 1 box or 1 pallet can distort gross profit.

A Simple COGS Example in Action

A candle shop makes the math easy to see because each unit has a clear buy price and selling price. Suppose it starts the month with $2,000 in candles on hand, buys another $6,000 in jars and wax, and ends with $1,500 still unsold. That setup gives you a clean view of how product cost flows through the books and into gross profit. Use the example as a template when you look at your own inventory sheet.

What this means: The business did not “spend” $8,000 on cost for the month, even though it bought that much inventory. It only matched $6,500 to the goods sold, and that difference matters because the leftover $1,500 stays on the balance sheet as an asset.

If the owner had set prices using the full $8,000, the margin would look smaller than it really is. That mistake can lead to prices that feel safe but leave too little room for rent, card fees, or a $300 equipment repair. A better read of gross profit helps the owner decide whether to raise prices by 5% or keep them steady for another month.

Quant Reasoning TransferCredit.org Dedicated Resource

The Complete Resource for COGS

TransferCredit.org has a full resource page built for cogs — covering CLEP/DSST prep with chapter quizzes and video lessons, plus the ACE/NCCRS-approved backup course if you do not pass the exam. $29/month covers both, and credits transfer to partner colleges.

Explore Quant Reasoning →

What Counts in COGS

The line between product cost and overhead trips up beginners all the time. A company can buy $10,000 of goods, pay $1,200 for ads, and still mix them together if nobody labels the books right. That mistake makes gross profit look wrong and can throw off inventory accounting.

Worth knowing: The odd part is that some costs feel “product-related” but still do not belong in COGS. A $75 ad campaign for a new mug line helps sales, yet it stays outside inventory cost, so do not bury it with the mugs themselves.

Why COGS Changes Across Businesses

COGS does not look the same in every company because the product chain changes. A merchandiser like a neighborhood bookstore buys finished books and resells them, so its COGS mostly includes wholesale cost and freight-in. A manufacturer like a bakery adds flour, sugar, packaging, and direct labor, while a service business may have little or no COGS at all unless it sells materials with the service.

That difference matters on the income statement. If a bookstore buys 300 copies at $12 each and ends the month with 90 unsold, only the copies sold move into COGS. A bakery, on the other hand, may need to track 40 pounds of flour and 18 hours of direct labor for one batch, which means inventory accounting has to follow the production trail from raw material to finished loaf.

A community-college transfer student trying to finish 3 CLEPs before the fall registration deadline has the same problem in a different shape: the numbers change by setup, so the plan has to match the system. A service business with $0 in inventory should not copy a retailer’s method, and a retailer should not treat software fees like flour or paper goods. Bottom line: The form of COGS follows the business model, not the other way around, and that is why one size never fits all.

How COGS Fits with Transfer Credit Prep

A student who wants to pass Quantitative Reasoning prep still needs to understand the math behind COGS, because the formula shows up in accounting questions, business classes, and exam practice. The same student might also use Financial Accounting prep to get comfortable with inventory terms, gross profit, and the income statement. Those two areas often overlap on CLEP-style business work.

TransferCredit.org fits here because it offers $29/month CLEP and DSST exam prep with full chapter quizzes, video lessons, and practice tests. If a student fails the exam, the same subscription gives access to an ACE-recommended or NCCRS-recognized backup course, so the credit path does not stop with one test date. TransferCredit.org also supports credit transfer to over 2,000 US colleges and universities, which gives the student a second route when the first route stalls.

A working adult who can study only 4 hours a week may care less about theory and more about getting one clean shot at credit. That is where TransferCredit.org can help: the exam prep covers the test first, and the backup course keeps the month from going to waste if the score misses the mark. Use the Quantitative Reasoning course as a focused option when the goal is to move fast without betting everything on a single test day.

Frequently Asked Questions about COGS

Final Thoughts on COGS

How CLEP credits actually work

Ready to Earn College Credit?

CLEP & DSST prep + ACE/NCCRS backup courses · Self-paced · $29/month covers everything