Skip to main content
KnowYourNut. Know your nut. Run your business.
Back to Calculators
Free forever. Built by small business consultants. No signup required.

Cost of Goods Sold Calculator

Calculate your total COGS, gross profit, and gross margin. Compare your cost structure to industry benchmarks.

$

Inventory & Materials

$
$
$

Labor & Overhead

$
$
$

Per-Unit Analysis (optional)

$

What Is Cost of Goods Sold (COGS)?

Cost of goods sold is the total cost of producing or purchasing the products and services your business sells. It covers raw materials, direct labor, manufacturing overhead, and shipping. When you subtract COGS from revenue, you get your gross profit, the money left over to cover rent, marketing, payroll, and everything else it takes to keep the doors open.

COGS is one of the most important numbers on your income statement. If you do not know it, you cannot accurately price your products, measure profitability, or file your taxes correctly.

Why COGS Matters for Your Business

Every dollar you spend producing your product is a dollar that does not flow to your bottom line. Tracking COGS helps you:

  • Set prices that actually work. If your COGS per unit is $12 and you sell for $15, your 20% gross margin might not cover operating expenses. Knowing the real number lets you price with confidence.
  • Spot cost creep early. Supplier prices go up. Shipping rates change. Without tracking COGS, these increases eat into margin silently.
  • Compare yourself to competitors. Industry benchmarks tell you whether your cost structure is competitive or whether you are overpaying for materials, labor, or overhead.
  • File taxes accurately. The IRS requires businesses with inventory to report COGS. Underreporting means you pay more tax than necessary. Overreporting creates audit risk.

Product vs. Service COGS

Product-Based Businesses

If you sell physical goods, COGS follows the inventory method:

COGS = Beginning Inventory + Purchases + Direct Labor + Overhead + Freight - Ending Inventory

Your beginning inventory is what you had on the shelf at the start of the period. Add everything you bought or manufactured during the period. Subtract what is still on the shelf at the end. The difference is what you sold.

Service-Based Businesses

Service businesses do not carry inventory, but they still have direct costs. A consulting firm pays for subcontractors. A cleaning company pays for supplies and labor. A design agency pays for software licenses and freelancers.

COGS = Direct Materials + Direct Labor + Subcontractors + Direct Overhead

The key distinction: only include costs directly tied to delivering the service. Your office rent is an operating expense, not COGS. The freelancer you hired for a client project is COGS.

What Counts as COGS (and What Does Not)

Include in COGS:

  • Raw materials and components
  • Direct labor (workers who build, assemble, or deliver)
  • Manufacturing overhead (factory utilities, equipment depreciation)
  • Freight and shipping to your warehouse
  • Packaging materials
  • Subcontractor costs for client work

Do NOT include in COGS:

  • Rent for your office or retail space
  • Marketing and advertising
  • Administrative salaries
  • Insurance
  • Interest on loans
  • Sales commissions (usually classified as selling expense)

How to Reduce Your COGS

  1. Negotiate with suppliers. Volume discounts, longer payment terms, or switching to a lower-cost supplier can cut material costs by 5-15%.
  2. Reduce waste. Track spoilage, defects, and returns. Even a 2% reduction in waste goes straight to your bottom line.
  3. Improve labor efficiency. Better training, clearer processes, and the right tools mean fewer hours per unit produced.
  4. Review shipping. Consolidate shipments, negotiate carrier rates, or switch fulfillment methods.
  5. Watch inventory levels. Excess inventory ties up cash and increases carrying costs. Too little inventory means rush orders at premium prices.

COGS and Your Other Numbers

Your COGS feeds directly into other critical calculations:

  • Gross Margin: (Revenue - COGS) / Revenue. This tells you the percentage of every dollar you keep after direct costs.
  • Break-Even Point: Your fixed costs divided by your contribution margin (which depends on COGS per unit).
  • Pricing Strategy: Your markup percentage is based on COGS. A 50% markup on a $10 COGS item means a $15 selling price.
  • Inventory Turnover: COGS divided by average inventory. Higher turnover means you are selling through stock faster.

Related Calculators

Frequently Asked Questions

COGS Calculator by Industry

Pre-filled with real industry benchmarks โ€“ pick your industry to get started faster.

๐Ÿฝ๏ธ
RestaurantReal restaurant benchmarks
๐Ÿช
RetailReal retail benchmarks
๐Ÿ”จ
ConstructionReal construction benchmarks
๐ŸŒฟ
LandscapingReal landscaping benchmarks
๐Ÿ›’
E-commerceReal e-commerce benchmarks
๐Ÿ’ผ
ConsultingReal consulting benchmarks
โœ‚๏ธ
SalonReal salon benchmarks
๐Ÿงน
Cleaning ServiceReal cleaning service benchmarks
๐Ÿšš
Food TruckReal food truck benchmarks
๐Ÿข
FranchiseReal franchise benchmarks
๐Ÿก
Single-FamilyReal single-family benchmarks
๐Ÿ˜๏ธ
DuplexReal duplex benchmarks
๐Ÿข
Multi-FamilyReal multi-family benchmarks
๐Ÿ›๏ธ
Airbnb / Short-Term RentalReal airbnb / short-term rental benchmarks
๐Ÿ‹๏ธ
Fitness / GymReal fitness / gym benchmarks
๐Ÿพ
Pet ServicesReal pet services benchmarks
๐Ÿ‘ถ
ChildcareReal childcare benchmarks
๐Ÿฑ
CateringReal catering benchmarks
๐Ÿ”ง
Auto RepairReal auto repair benchmarks
Real EstateReal real estate benchmarks
๐Ÿ 
Real Estate InvestingReal real estate investing benchmarks
ManufacturingReal manufacturing benchmarks
Professional ServicesReal professional services benchmarks
๐Ÿ”ง
Home ServicesReal home services benchmarks
SaaSReal saas benchmarks
HealthcareReal healthcare benchmarks
DentalReal dental benchmarks
โ„๏ธ
HVACReal hvac benchmarks
๐Ÿš›
TruckingReal trucking benchmarks
๐Ÿ”ง
PlumbingReal plumbing benchmarks
โšก
ElectricalReal electrical benchmarks
๐Ÿ›
Pest ControlReal pest control benchmarks
๐Ÿ—๏ธ
RoofingReal roofing benchmarks
๐ŸŽจ
PaintingReal painting benchmarks
๐Ÿ“Š
Accounting FirmReal accounting firm benchmarks
โš–๏ธ
Law FirmReal law firm benchmarks
๐Ÿ“ฃ
Marketing AgencyReal marketing agency benchmarks
๐Ÿ›ก๏ธ
Insurance AgencyReal insurance agency benchmarks
๐Ÿง
BakeryReal bakery benchmarks
โ˜•
Coffee ShopReal coffee shop benchmarks
๐Ÿบ
Bar / BreweryReal bar / brewery benchmarks
๐Ÿ‘ถ
DaycareReal daycare benchmarks
๐Ÿฆท
Dental PracticeReal dental practice benchmarks
๐Ÿฅ
Medical PracticeReal medical practice benchmarks
๐Ÿ•
Veterinary PracticeReal veterinary practice benchmarks
๐Ÿ“ธ
PhotographyReal photography benchmarks
๐Ÿ’
Wedding & EventsReal wedding & events benchmarks
๐Ÿš—
Car WashReal car wash benchmarks
๐Ÿ‘•
LaundromatReal laundromat benchmarks
๐Ÿ“š
TutoringReal tutoring benchmarks
๐Ÿ“ฆ
Moving CompanyReal moving company benchmarks
๐ŸŒธ
FloristReal florist benchmarks
โœ’๏ธ
Tattoo StudioReal tattoo studio benchmarks
๐Ÿ’ˆ
BarbershopReal barbershop benchmarks
๐Ÿ’ฆ
Pressure WashingReal pressure washing benchmarks
๐ŸŒณ
Tree ServiceReal tree service benchmarks
ConsultingReal consulting benchmarks
ConsultingReal consulting benchmarks

Related Articles