tupicAcademy

Chapter 01 — Cost Accounting Fundamentals

·article·2026-06-12

Chapter 01 — Cost Accounting Fundamentals

"You cannot manage what you cannot classify."

Before a business can analyze its costs, it must put every dollar it spends into the right bucket. This chapter explains the four most important buckets — OPEX, CAPEX, COGS, and Overhead — and shows how the classification changes both the financial statements and the decisions you make.


1.1 Why Cost Classification Matters

Imagine two companies that each spend $120,000 in a year:

  • Company A spends it on cloud servers that directly power its product.
  • Company B spends it on a new office building.

Both spent the same cash, but the accounting treatment is completely different. Company A's spending reduces this year's profit immediately. Company B's spending is converted into an asset and its cost is spread over many years. Classification determines when a cost hits the profit-and-loss statement and which metric it affects.


1.2 OPEX — Operating Expenses

Definition: Day-to-day costs of running the business that are consumed within the current period (usually a month or a year). OPEX is expensed immediately — it reduces profit in the period it occurs.

Typical examples:

  • Salaries and wages
  • Cloud hosting bills (AWS, Cloudflare)
  • SaaS subscriptions (Slack, Figma, GitHub)
  • Rent (under simple lease treatment), utilities, insurance
  • Marketing spend

Worked Example

A startup pays the following in March:

AWS hosting              $4,200
Payroll (5 engineers)   $55,000
Figma + GitHub + Slack     $620
Office rent              $3,000
------------------------------
Total March OPEX        $62,820

All $62,820 appears as an expense on the March income statement. Nothing is capitalized; nothing carries over to April.

Key insight: OPEX is recurring and consumable. If you stopped paying it, the benefit would stop almost immediately.


1.3 CAPEX — Capital Expenditures

Definition: Spending that creates a long-lived asset — something the business will benefit from for more than one accounting period. CAPEX is not expensed immediately. It is recorded as an asset and then expensed gradually through depreciation (tangible assets) or amortization (intangible assets). See Chapter 03.

Typical examples:

  • Servers and laptops
  • Office furniture and fit-out
  • Purchased software licenses with multi-year terms
  • Capitalized internal software development (in some jurisdictions)

Worked Example

The same startup buys 5 developer laptops at $2,500 each in March:

Total CAPEX = 5 × $2,500 = $12,500

March income statement impact: $0 as a direct expense. Instead, the laptops are recorded as a $12,500 fixed asset. Assuming a 3-year useful life with straight-line depreciation:

Monthly depreciation = $12,500 ÷ 36 months = $347.22 / month

So March's income statement shows only $347.22 of laptop cost — and so does every month for the next three years.

Why this matters: CAPEX vs. OPEX classification changes reported profit. Misclassifying a $12,500 laptop purchase as OPEX would understate March profit by $12,152.78.


1.4 COGS — Cost of Goods Sold (Cost of Sales)

Definition: The costs directly attributable to delivering the product or service that generated revenue. For a SaaS business, this is often called Cost of Sales or Cost of Revenue.

What typically belongs in SaaS COGS:

  • Cloud infrastructure that serves customers (compute, storage, bandwidth)
  • Third-party APIs billed per usage (payment processing, SMS, AI inference)
  • Customer support staff
  • Software licensing fees embedded in the product

What does NOT belong in COGS:

  • Sales and marketing
  • R&D / product development
  • General administration (finance, HR, legal)

Worked Example — Gross Margin

A SaaS product earns $50,000 revenue in April. Direct delivery costs:

AWS (production workloads)        $6,000
Twilio SMS (customer OTP)           $900
Stripe fees (2.9% of revenue)     $1,450
Support engineer (allocated)      $4,000
---------------------------------------
Total COGS                       $12,350

Gross Profit  = Revenue − COGS
              = $50,000 − $12,350 = $37,650

Gross Margin  = Gross Profit ÷ Revenue
              = $37,650 ÷ $50,000 = 75.3%

Benchmark: Healthy SaaS businesses typically run 70–85% gross margins. A margin below 60% suggests infrastructure or support costs are eating the business.

Key insight: COGS scales with revenue. If customers double, COGS roughly doubles; rent does not. That is why COGS is separated from other operating costs — it tells you the marginal cost of serving customers.


1.5 Overhead

Definition: Indirect costs that support the business as a whole and cannot be traced to a single product, project, or customer. Overhead is real money, but no individual product "caused" it.

Typical examples:

  • Executive salaries
  • Office rent and utilities
  • Accounting, legal, HR
  • General insurance

Overhead Allocation — Worked Example

A company runs three products and has $30,000/month of overhead. To compute each product's fully loaded cost, overhead must be allocated. A common method is allocation by direct-cost proportion:

                Direct Cost    Share     Allocated Overhead
Product A         $40,000      50%        $15,000
Product B         $24,000      30%         $9,000
Product C         $16,000      20%         $6,000
                 --------     ----        -------
Total             $80,000     100%        $30,000

Product A's fully loaded monthly cost = $40,000 + $15,000 = $55,000.

Caution: Allocation is always somewhat arbitrary. Choose a driver (headcount, revenue, direct cost, usage) that genuinely correlates with how the overhead is consumed, document it, and apply it consistently.


1.6 Putting It Together — A Complete Cost Picture

A monthly cost statement for one product might look like:

Revenue                                  $50,000

COGS
  Cloud infrastructure        $6,000
  Payment processing          $1,450
  Usage-based APIs              $900
  Support (allocated)         $4,000
                             -------    ($12,350)
Gross Profit                              $37,650   (75.3%)

Operating Expenses (OPEX)
  Engineering payroll        $25,000
  Marketing                   $5,000
  Depreciation                  $347
  Allocated overhead          $6,000
                             -------    ($36,347)
Operating Profit                           $1,303   (2.6%)

Each line answers a different question:

  • Gross margin → "Is the product itself economically sound?"
  • Operating profit → "Is the whole operation sustainable?"

1.7 In Practice — TupicFinance

In TupicFinance, every cost is captured as a Cost Item tagged with one of these categories — OPEX, CAPEX, Marketing, Overhead, Depreciation, or Amortization — and linked to a project and, where possible, a specific service. The Services view then assembles a per-service Cost of Sales breakdown automatically, so gross margin and fully loaded cost are always one click away rather than a month-end spreadsheet exercise. Costs flow from the moment of entry to the dashboards with full category fidelity, which is exactly what this chapter's classification discipline makes possible.

share