Gross Profit Calculator
A 40% margin looks identical whether a business does $10,000 a month or $10 million. Gross profit is the number that tells them apart — the actual dollars left over once the cost of what was sold is out. Enter any two of revenue, cost of goods sold, and gross profit, and this solves for the third, plus the margin it works out to.
Gross profit
$0
What actually counts as cost of goods sold
Cost of goods sold is the direct cost of producing whatever got sold — nothing more, nothing less. That means materials, the labor of the people physically making or assembling the product, and freight-in on anything bought for resale. It does not mean every dollar the business spends; a lot of real costs sit outside COGS entirely and belong to operating expenses instead.
The lines people get wrong are usually labor and shipping. A bakery's flour, sugar and butter for the month — say $2,400 — are obviously COGS. Easy to miss: the baker's wages for hours spent actually baking, maybe $3,100, are COGS too, even though payroll often gets filed under overhead by habit. Easy to over-include: the driver delivering wholesale orders to cafés, at $1,200 a month, usually isn't COGS — routing and delivery happen after the product already exists, which puts it in operating expenses, not production cost. Get labor or shipping on the wrong side of that line and gross profit reads too high or too low without revenue ever moving.
Packaging is its own gray area. A subscription box company's shipping boxes and tissue paper that go out with the product are COGS — they're part of what the customer physically receives. The office's printer paper is not, even though it's also "packaging" the business buys. The test isn't the category of item, it's whether it ships with the specific unit being sold. Overhead works the same way: it earns a spot in COGS only when it's tied directly to production — a factory's utility bill, or depreciation on a production line. Cover the office's electric bill instead, and it's an operating expense. What decides it isn't what the money bought, but whether the spending happened on the production floor or off it.
Gross profit is a period figure, not a per-sale one
Markup and margin are usually about a single sale: this item, this price. Gross profit is different — it's meant to be added up over a stretch of time. Total revenue for a day, a month, a quarter or a year, minus total cost of goods sold for that same stretch, gives you the gross profit for the whole period.
A food truck selling 3,200 tacos in a month at an average of $4.50 brings in $14,400 in revenue. Ingredients and prep labor for the month run $5,760. Gross profit for the month is $14,400 − $5,760 = $8,640, a 60% margin. That $8,640 is the figure that matters for restocking, payroll and whether the truck had a good month — the $4.50 price on any single taco is a pricing detail, not the number a lender or an accountant asks for.
The period can stretch as far as the reporting needs to go. A retail shop rolling up its first quarter posts $340,000 in revenue against $221,000 in cost of goods sold across those three months — a $119,000 gross profit and a 35.0% margin for the quarter as a whole, built from however many individual sales it took to get there. Nobody adds up the margin on each receipt separately; the period figure is what goes in front of a lender or an accountant.
Gross profit dollars vs gross margin percent
The two numbers answer different questions, and mixing them up leads to bad calls. Margin percent tells you how efficiently a sale converts revenue into profit — useful for comparing two products, two months, or two pricing strategies against each other. Gross profit in dollars tells you whether there's enough money to actually run the business — payroll, rent, restocking — regardless of how efficient the percentage looks.
A landscaping company billing $30,000 a month at a 50% margin nets $15,000 gross profit, enough to cover a $9,000 crew payroll with room left over. A one-person software affiliate site running a 90% margin but only $2,000 a month in revenue nets $1,800 — a much better percentage, and a number that can't cover a single employee. When the question is "can this business pay its bills," the dollar figure wins every time.
Why identical margins can mean very different profit
Margin is a percentage of revenue, so it has no sense of scale. A business bringing in $50,000 a month at a 40% margin makes $20,000 gross profit. A business bringing in $2,000,000 a month at that same 40% margin makes $800,000 — forty times the profit, off the identical percentage. The margin says the two businesses are equally efficient at turning revenue into profit; it says nothing about which one can actually fund payroll, inventory or growth.
The table below holds the margin fixed at 40% and moves only the revenue, so the gap is easy to see:
| Revenue | Gross profit at a 40% margin |
|---|---|
| $10,000 | $4,000 |
| $50,000 | $20,000 |
| $250,000 | $100,000 |
| $1,000,000 | $400,000 |
| $5,000,000 | $2,000,000 |
Same 40% every row. The dollar figure is what actually changes — and what actually pays the bills.
Pricing a single sale instead?
This calculator works in whole-period dollars and the margin percent that goes with them. For the per-sale, per-unit questions — what to charge for one item given a target markup, or what margin one specific sale produces — the markup calculator and profit margin calculator cover that ground directly.
Common questions
What counts as cost of goods sold?
The direct cost of producing what was sold: materials, production labor, and freight-in on resale goods. Rent, marketing, admin salaries and shipping a finished order to a customer are operating expenses, not COGS.
Is gross profit the same as net profit?
No. Gross profit subtracts only the cost of goods sold. Net profit subtracts everything — operating costs, interest, taxes — and is always smaller. Gross profit shows whether the core product is profitable before the rest of the business's costs come in.
Should shipping count as COGS?
Freight-in (getting materials or inventory to you) does. Freight-out (shipping a finished order to a customer) usually doesn't — it's an operating expense, since it happens after the product already exists.
Why do two businesses with the same margin have different profit?
Margin is scale-blind. $50,000 a month at 40% is $20,000 gross profit; $2,000,000 a month at the same 40% is $800,000. Same efficiency, very different dollars.
Is this per sale or for a whole period?
A period — day, month, quarter or year. Add up revenue for that stretch, subtract all the cost of goods sold for the same stretch, and the result is the gross profit for the whole period.