How to calculate cost of goods sold

Everhour tracks project costs and expenses, while COGS math shows the inventory and production costs behind gross profit.

How much will this projectcost to deliver?

Estimate total cost by combining labor hours, materials, and overhead. Know your numbers before you send the proposal.

$
$
15%

Indirect costs on top of labor + materials

Total project cost
Labor cost$12,000
Materials$2,000
Overhead amount$2,100

Everhour does it all — track, budget, report & invoice

The calculator gives you the number — Everhour takes it from there.

Go ahead — start tracking!

One click and you're timing. Start a timer, add an entry, edit the details. This is exactly how it feels in Everhour.

  • One-click timer — browser, desktop & mobile
  • Works inside Asana, ClickUp, Linear, GitHub & more
  • Simple setup, no learning curve
Works with your favorite tool:
Everhour — Time Tracking
Time Entries
01:24:00
00:31:00
01:07:00

No more budget surprises

Set a budget, assign rates, and get alerted before you're over.

  • Real-time cost tracking
  • Set different rates per person or project
  • Alerts before you hit the budget limit
Everhour — Budgeting
Acme Web Project
1
50% of budget used
$2,500.00of $5,000.00
$2,500.00 remaining
75%
Actual costRemaining cost

Measurement

Track your budget through time or costs

Simple, customizable reports

Every report you need — configured your way, always up to date.

  • See who does what in real time
  • Configure any report
  • Scheduled email reports
Everhour — Reports

Your invoice is ready!

Tracked hours flow straight into a polished invoice — no copy-paste, no manual math.

  • Billable hours straight into the invoice
  • Configure invoice templates
  • Copy invoices to QuickBooks or Xero
  • Invoicing dashboard with status
Everhour — Invoices
Your Company LLChello@yourcompany.com
INVOICE
Invoice #1042
Group by:
DescriptionHoursRateAmount
Website Redesign14h$150/h$2,100.00
Brand Guidelines7h$150/h$1,050.00
Marketing Strategy3.5h$150/h$525.00
Total Due$3,675.00
Try Everhour for real yourself

The COGS calculation from cost records to gross profit

What this calculation answers

Cost of goods sold answers a specific accounting question: how much direct cost belongs to the goods sold during the period. For a U.S. business where production, purchase, or sale of merchandise is an income-producing factor, the calculation generally starts with beginning inventory, adds purchases, direct labor, materials, and other production costs, then subtracts ending inventory. Form 1125-A line 8 carries COGS to the income tax return.

The result does not equal total business expense. COGS sits above gross profit, before operating expenses, financing costs, owner draws, and income tax. Gross profit equals net receipts after returns and allowances minus cost of goods sold. Most service businesses with no merchandise income factor use net receipts as gross profit, because they do not have inventory-based COGS in the same sense as a retailer or manufacturer.

Use the inventory formula correctly

The standard inventory-based formula is beginning inventory plus purchases, direct labor, materials, and other production costs, minus ending inventory. A small manufacturer starts with $14,000 in beginning inventory, adds $36,000 of purchases, $19,000 of direct labor, $4,500 of freight-in, and $12,500 of allocable overhead. Ending inventory is $21,000. Cost of goods sold is $65,000.

If the business has $118,000 in net receipts after returns and allowances, gross profit is $53,000. That number comes before operating expenses. For manufacturers, COGS can include direct and indirect labor used in production, materials and supplies, freight-in, and manufacturing overhead such as factory rent, utilities, depreciation, taxes, maintenance, and supervision. Established U.S. inventory accounting methods generally cannot be changed without requesting an accounting-method change.

Match COGS to the business model

A retailer usually focuses on beginning inventory, merchandise purchases, freight-in, and ending inventory. A manufacturer adds production labor, materials, supplies, and allocable factory overhead. A service business with no merchandise income factor often has no separate COGS calculation, so net receipts become gross profit before ordinary business expenses. The main mistake is forcing office payroll, selling costs, or general administrative expenses into COGS because they feel project-related.

U.S. revenue handling also needs clean separation from sales tax. The United States does not have a federal VAT or national sales tax; state and local sales taxes drive the treatment. Buyer-imposed taxes collected and remitted to a government generally are not included in gross receipts or sales. Taxes imposed on the seller and collected from the buyer are included in gross receipts. That distinction changes revenue, not the inventory formula itself.

When a calculator is enough vs a managed workflow

A one-off COGS calculation is enough when you have a clean period close, inventory counts, purchases, labor, materials, overhead, and net receipts already assembled. The calculator gives you gross profit and a fast check against bookkeeping records. It does not decide whether a cost belongs in COGS, whether inventory valuation is correct, or whether a tax return position is supported.

A managed workflow matters when costs arrive continuously through receipts, reimbursable purchases, contractor bills, billable hours, and project expenses. Everhour Expenses can track project costs with receipt images or PDFs, unit-based expense categories, budget inclusion controls, invoice integration, and expense reports. That workflow gives managers a clearer record before a bookkeeper maps costs into COGS, operating expenses, reimbursement, or client billing.

This content is for general information only, may not be fully up to date, and is provided without any warranty or liability.

High Performer

G2

Summer 2026

Best Ease Of Use

Capterra

Summer 2026

Loved by teams. Proven everywhere.

Rated in the top time trackers across G2, Capterra, and TrustRadius — with consistent praise for ease of use, integrations, and support.

10K+Teams worldwide
90K+Installs Everhour extension
196M+Tasks completed
4M+Projects tracked

Frequently Asked Questions

Which records do you need before calculating COGS?

You need beginning inventory, ending inventory, merchandise purchases or production inputs, direct labor tied to production, materials and supplies, freight-in, and allocable overhead when those items apply to the business. Net receipts after returns and allowances are needed separately to calculate gross profit. Operating expenses belong after gross profit, not inside the core COGS formula.

Can payroll be included in cost of goods sold?

Production labor can be included in COGS for a manufacturer when workers are involved in making the goods sold. Sales staff, office administration, owner management time, and general support payroll usually belong in operating expenses instead. The useful test is whether the labor is part of producing or acquiring the goods sold during the period.

Does a higher COGS always mean the business performed worse?

A higher COGS means more direct cost was assigned to goods sold, but the business result depends on revenue, pricing, product mix, and operating expenses. A company can sell more units and show higher COGS with higher gross profit. Gross profit margin, using gross profit divided by net receipts, shows whether direct cost consumed more of each sales dollar.

Where do returns and allowances affect the calculation?

Returns and allowances reduce gross receipts to net receipts before gross profit is calculated. Gross profit equals net receipts minus COGS. They do not reduce COGS directly unless returned inventory is restored to stock under the business's accounting method. Keep the sales-side adjustment separate from the inventory-side cost calculation.

Why does COGS differ from break-even cost math?

COGS supports gross profit reporting, while break-even analysis splits costs into fixed and variable categories. Break-even units equal fixed costs divided by sales price per unit minus variable cost per unit. Contribution margin is the key break-even input, not COGS alone. A cost can be variable without being COGS, and a COGS item can include allocated overhead.

How does Everhour help track project costs for COGS review?

Everhour Expenses tracks project costs with receipt images or PDFs, unit-based expense categories, and reports by project, client, member, category, date range, and billable status. Those records help you review whether project spending should become billable expenses, reimbursement, operating expense, or a cost input for bookkeeping review.

Track costs before profit drifts

Capture receipts, unit expenses, and project costs as work happens. Everhour Expenses keeps cost records tied to projects, budgets, invoices, and reports for clearer profitability review.

14-day free trial  ·  No credit card  ·  Cancel anytime

Or