Project Finance & Financial ModellingProject finance foundations · Lesson 2 of 20

Capex, opex, budgeting and cash flow

Article · 14 min · 8 min lecture

Video lecture

Capex, opex, budgeting and cash flow

9 chapters · about 8 min · full transcript

Coming soon

Chapter 1 of 9

The uses side nobody finishes

  • Capex, opex and whole-life cost
  • Development, construction and operating budgets
  • Sources and uses, and cash timing

The narrated lecture is in production

Every chapter is scripted and ready. Browse the chapters and read the full transcript now — the video will appear here when it’s published.

Chapters

Capital vs operating expenditure

Capital expenditure (capex) buys or builds long-lived assets: land, construction, equipment, major upgrades. It is usually capitalised on the balance sheet and depreciated over the asset's life. Operating expenditure (opex) covers the day-to-day costs of running the asset: staff, maintenance, insurance, utilities, consumables, management fees. It is expensed in the period incurred.

ItemTypically capexTypically opex
Building a warehouse✓
Annual routine maintenance✓
Replacing a major component that extends asset life✓ (often)
Software licences (subscription)✓ (often)
Customised software development✓ (often, if criteria met)
Staff salaries for operations✓

Exact classification depends on accounting standards (e.g., IFRS used widely in Pakistan, the UAE, KSA and the UK; US GAAP in the US) and company policy. Always check with finance. The classification matters because it changes reported profit, tax timing and how budgets are approved.

Whole-life cost

A cheap asset with high running costs may cost more over its life. Whole-life (life-cycle) cost = capex + present value of opex + major maintenance + decommissioning − residual value. PPP and project finance models are built on this view because the SPV bears costs for decades.

Development, construction and operations budgets

A project finance budget typically has three phases:

  1. Development costs: feasibility, permits, advisers (legal, technical, financial), land options, bid costs. At risk until financial close.
  2. Construction costs (the "uses" of funds): EPC price, owner's costs, contingency, development fees, financing costs during construction (interest during construction, arrangement and commitment fees), initial reserve account funding, working capital.
  3. Operating costs: fixed and variable opex, lifecycle/major maintenance, insurance, taxes.

Sources and uses

Every project finance model starts with a sources and uses table: the uses (all costs to reach operations) must equal the sources (debt + equity + any grants).

USES (illustrative, $M)                SOURCES ($M)
EPC contract                  310       Senior debt                 330
Owner's costs                  18       Sponsor equity              110
Development costs & fees       12
Contingency                    25
Interest during construction   38
Financing fees                  9
Initial DSRA funding           20
Working capital                 8
TOTAL                         440       TOTAL                       440

Notice that financing costs are themselves uses that must be funded, which creates a circular calculation (more debt means more interest, which needs more funding). Models handle this carefully, as covered later.

From budget to cash flow

Budgets say how much; cash flow says when. Build a monthly or quarterly construction cash-flow forecast from the EPC payment schedule, owner's cost timing and financing fees. Then decide the funding order: equity first, pro rata with debt, or via an equity bridge loan. Lenders often require equity to be committed and injected first or pro rata, so their money is not at risk before sponsors' money.

Worked example: capex vs opex decision

Illustrative. A fictional hospital operator in Lahore compares two chiller options for a new wing:

Option AOption B
Capex$1.2M$1.6M
Annual energy + maintenance$260k$180k
Life15 years15 years

At an 8% discount rate, the annuity factor for 15 years is about 8.56. PV of opex: A ≈ 260k × 8.56 ≈ $2.23M; B ≈ 180k × 8.56 ≈ $1.54M. Whole-life cost: A ≈ $3.43M, B ≈ $3.14M. Option B costs more upfront but is cheaper over its life. If the capex budget is capped, the finance team might explore leasing or energy-performance contracting to access Option B.

Budget control essentials

  • Budget by WBS and phase, with explicit contingency.
  • Track commitments, not just spend.
  • Separate capex and opex codes from day one.
  • Re-forecast regularly; compare forecast uses to available sources.

Common mistakes

  • Forgetting financing costs, reserves and working capital in the uses.
  • Misclassifying costs, then being surprised by profit or tax effects.
  • Choosing the lowest capex option without whole-life analysis.
  • Assuming funds are available when needed without a drawdown plan.

Quick self-check

Take the last budget you worked with and ask four questions. Are capex and opex coded separately from the first transaction? Does the uses side include financing costs, reserves and working capital, or only the headline construction price? Is there a cash-flow profile showing when each source is drawn? And has any major option been compared on whole-life cost rather than purchase price alone? A "no" to any of these is a common root cause of funding surprises later in the project.

Hands-on: whole-life cost and sources and uses in Excel

Whole-life cost comparison

Named inputs: Rate (8%), Life (15)
PV of opex    =PV(Rate, Life, -Annual_opex)          (returns ≈ 8.559 × annual opex)
Whole-life    =Capex + PV_of_opex + PV_major_maint + PV_decom - PV_residual
PV of a one-off cost in year n   =Cost/(1+Rate)^n

For the chillers: =1200000+PV(8%,15,-260000) ≈ 3,425,000 and =1600000+PV(8%,15,-180000) ≈ 3,141,000.

Sources and uses that always balance

Total_uses    =SUM(Uses_range)
Debt          =MIN(Gearing_cap*Total_uses, Debt_capacity)      (Debt_capacity from DSCR sizing)
Equity        =Total_uses-Debt
Check         =ROUND((Debt+Equity)-Total_uses, 2)               must be 0
Gearing       =Debt/Total_uses

Hands-on: the same checks in Python

import numpy_financial as npf

rate, life = 0.08, 15
for name, capex, opex in [("A", 1_200_000, 260_000), ("B", 1_600_000, 180_000)]:
    pv_opex = -npf.pv(rate, life, opex)          # present value of an annuity
    print(f"Option {name}: whole-life cost {capex + pv_opex:,.0f}")

uses = {"EPC": 310, "Owner's costs": 18, "Development & fees": 12, "Contingency": 25,
        "IDC": 38, "Financing fees": 9, "Initial DSRA": 20, "Working capital": 8}
total = sum(uses.values())
debt = min(0.75 * total, 330)      # 330 = illustrative debt capacity from DSCR sizing
equity = total - debt
assert abs(debt + equity - total) < 1e-9
print(f"Uses {total}, debt {debt} ({debt/total:.0%}), equity {equity}")

Install with pip install numpy-financial. Note that npf.pv returns a negative value for a positive payment (cash-flow sign convention), hence the minus sign.

How to measure success

  • Uses include financing costs, reserves and working capital, each with a basis.
  • The check cell is zero in every scenario.
  • Major options are compared on whole-life cost with the discount rate stated.

Key takeaways

  • Capex builds long-lived assets; opex runs them. Classification follows accounting standards and policy.
  • Whole-life cost combines capex, the present value of opex, lifecycle costs and residual value.
  • Sources must equal uses, and uses include financing costs, reserves and working capital.
  • Budgets show how much; cash-flow forecasts show when, and drive funding order.

Check your understanding

Quick questions to lock in the lesson. They don’t count towards your certificate.

  1. Which item is most likely to be classified as opex?
  2. In a sources and uses table, which is a 'use' that is often forgotten?
  3. Option X has lower capex but higher running costs than Option Y over the same life. How should you compare them?

Put it into practice

Draft a sources and uses table for a small project you know (even a business expansion). Include financing costs, contingency and working capital.

Enrol for free to save your progress

Reading is always free. Enrol to keep your place, take the final assessment and earn a verifiable certificate.