Dictionary / Gross Margin
What does Gross Margin mean in accounting?
Quick definition
GeneralThe excess of sales over direct costs of products sold. This term guides how bookkeepers record, classify, and explain related transactions in routine financial reporting.
Read more below

Examples
A lobby script after glass and bender hours
You run a custom neon shop. On February 18 you invoice a hotel $7,350 for a lobby script. Glass and transformers from a glass supplier cost $2,140, and you code 18 bender hours at $41 ($738) to that job as direct labor, so direct costs of the product sold are $2,878 and gross margin is $4,472. In QuickBooks Online, open the hotel job P&L and read Sales minus job materials and job labor. Leave shop rent and office wages off this leftover, and use it when you decide whether to keep quoting lobby scripts at this price.
The monthly data plan is not product cost
You run a GPS-tracker shop and sell subscription GPS trackers to landscapers. On October 9 you invoice a landscaping company $9,640 for 12 truck units. Boards and housings from a circuit supplier cost $3,280, and assembler wages tagged to that batch are $890, so direct product costs are $4,170 and gross margin is $5,470. Your bookkeeper also pulls $1,610 of October cell-plan fees and support wages out of that leftover because the trackers need the app, and reports $3,860. Recode those period costs off cost of sales; gross profit subtracts the full sold-goods line, and this term does not.
Why it matters
Gross margin is what is left of sales after you subtract only the direct costs of the products you sold: materials and direct labor that went into those units. You will compute it every month-end if you make or assemble a product, and again when you price a line or decide whether a job is worth repeating. Mix it with gross profit and you subtract the whole cost of sales bucket, which can include factory overhead that is not a direct product cost; mix it with gross merchandise margin and you are using a retail leftover after merchandise cost only, with no shop labor. Fold rent, ads, or office wages into the same leftover and you have already jumped to operating profit, so a line that still covers its build cost looks like a loser.
Further reading
Compare this term with reference material from other accounting and finance websites.
Keep learning
Start with the bookkeeping basics, then compare software when you are ready to pick a tool.
Getting startedBookkeeping basics for small-business ownersWhat bookkeeping is, the records you need, double-entry in plain English, and a monthly rhythm that fits a 1–50 person shop.Updated October 4, 2026
RolesWhat does a bookkeeper do?A bookkeeper records bills, invoices, and bank activity so your books stay current. See the weekly work, the month-end close, and what they do not do.Updated August 18, 2026
Monthly closeMonthly bookkeeping: what to close each monthMonth-end is the job: reconcile banks and cards, age bills and invoices, check payroll, then read the reports. A close checklist for small-business owners.Updated August 18, 2026
Startup BankingThe 5 Best Banks for EU StartupsThe 5 best banks for EU startups, ranked: Wise Business, Revolut, Qonto, bunq, and Finom compared on fees, deposit protection, and honest tradeoffs.Updated August 9, 2026Frequently asked questions
What is Gross Margin in bookkeeping?
The excess of sales over direct costs of products sold.
When should I use Gross Margin?
Use Gross Margin when the transaction facts match its definition and you need the ledger and financial statements to reflect the correct account and period.
What is a common mistake with Gross Margin?
Gross Margin is used for gross margin entries, while GAAP covers a related but distinct bookkeeping purpose. Review both terms before posting unusual transactions. A common mistake is applying it by label only instead of checking the underlying transaction details.