Lesson 2 of 3 · 8 min
Cost of goods sold and gross margin
How each sale takes stock off the shelf at its cost, and what's left after that cost.
Beta: accounting review in progress
When you sell a tracked product, two things happen: the sale (income and what the customer owes) and the cost (stock leaves the shelf).
| Account | Debit | Credit |
|---|---|---|
| Accounts Receivable | 120.00 | |
| Sales | 120.00 | |
| Cost of Goods Sold | 70.00 | |
| Inventory | 70.00 |
Which cost? If you bought widgets at $65 and later at $75, the cost of the one you sell depends on the cost method. Average cost uses the running average of what's on the shelf. FIFO (first in, first out) assumes the oldest ones go first. Both are allowed under GAAP; pick one and keep to it.
Gross margin is sales minus cost of goods sold. In the example it's $50, or about 42% of the sale. Watching gross margin by product tells you which products really pay.
In AccLyf Books. AccLyf Books uses average cost unless you switch to FIFO in Settings → Inventory costing. Reports → Sales by Item and the inventory valuation show margin and stock value.
Check what you learned
This lesson has a 3-question quiz, and the course ends with a task you do in a demo company while the app checks your work. Both come free with an account.
Take the quiz with a free accountStandards behind this lesson
- FASB ASC Topic 330, Inventory (cited by number; not quoted)
- FASB ASC Topic 705, Cost of Sales and Services (cited by number; not quoted)
- FASB ASC Topic 606, Revenue from Contracts with Customers (cited by number; not quoted)
Cited for further reading. Standards are named, not quoted; the lesson is our own explanation.
General education about bookkeeping and using AccLyf Books. It isn't accounting, tax or legal advice for your situation; for that, talk to a CPA, tax professional or attorney.