Aller au contenu

Leçon 2 · Getting Started

Building a Financial Model

Structure a financial model with clear inputs, calculations, outputs and checks, using sign conventions and units that others can review and trust.

A financial model is a simplified, calculable picture of a business or a decision. It can be five lines or five thousand. Its value comes less from size and more from structure: can another person find each assumption, follow each step and trust the result?

In this lesson you build a tiny profit model and give it the habits that large models need.

Four layers

Think of a model as four layers that flow one way.

Four layers of a model

Inputs Assumptions you can change
Calculations Formulas, no typed numbers
Outputs What the reader needs
Checks Proof that it holds together
1 / 2

Inputs are things you choose or observe: price, volume, tax rate, growth. Calculations combine them. Outputs summarize results for a decision. Checks are tests that should always pass, such as "units sold cannot be negative" or "assets equal liabilities plus equity."

Avoid typing numbers inside formulas. If 0.25 appears in the middle of your code, a reader cannot know whether it is a tax rate, a discount or a typo. Give it a name.

Start from the question

Before writing anything, finish this sentence: "The person using this model needs to decide ___." For Harbor Roasters, the first question is: how much profit does the current price and volume produce, and how far can volume fall?

Then list the drivers. A driver is a quantity that causes other numbers. If you know that revenue is bags sold times price per bag, do not type revenue as an input. Modeling the drivers lets you ask "what if we sell 10% fewer bags?"

A driver-based model

Notice how the inputs sit in one dictionary and the function only reads from it. The numbers here are a simplified teaching case.

Python A small driver-based profit model

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The line max(operating, 0) is a simplifying assumption: no tax credit for losses. Real tax rules are more complex. Writing simplifications down is part of the model.

Test scenarios without editing the model

Because inputs are data, you can copy them and change one item. The model code stays untouched.

Python Compare scenarios and find break-even volume

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The break-even volume is fixed costs divided by the contribution margin per bag (price minus variable cost). Here each bag contributes 6.00 toward the fixed costs.

Conventions that prevent errors

  • Units. Decide whether you work in single currency units, thousands or millions, and label it. Mixing them is a classic failure.
  • Time. State whether each number is monthly or yearly, and whether cash arrives at the start or end of a period.
  • Signs. Pick one rule. A common one for cash flows: money in is positive, money out is negative. In a statement, costs are often shown as positive numbers and subtracted.
  • Rates. Store 25% as 0.25.
  • Rounding. Keep full precision in calculations and round only when you display.

Add checks

A check is cheap, and it catches mistakes when they happen instead of when a manager notices. Typical checks verify that a rate is between 0 and 1, that a total equals the sum of its parts, and that a balance sheet balances.

Python Fail loudly when an input is impossible

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Common mistake: entering 25 where the model expects 0.25. The code still runs and produces a nonsense number. Range checks like the one above catch it.

Spreadsheet version

The same structure works in a spreadsheet. Put inputs on one sheet, calculations on another and a summary on a third. A formula then reads like this (read-only, not run here):

TEXT
Operating profit = Inputs!B2 * (Inputs!B3 - Inputs!B4) - Inputs!B5

Use a consistent cell style for inputs, avoid merged cells in calculation areas, and keep one formula pattern across a row of periods. The Excel what-if analysis lesson shows how spreadsheets compare scenarios.

Document the assumptions

Beside every input, record its source, date and owner. "Price 15.00: current list price, confirmed by sales, December" is far more useful than a bare 15. When someone challenges the result, the conversation moves to the assumption, which is exactly where it should be.

Also keep a short change log. When a result differs from last month's, the log tells you whether the cause was new data, a new assumption or a fixed bug.

How detailed should it be?

Add detail only when it can change the decision. A model with 300 lines of office supplies and one line for revenue has its effort in the wrong place. A useful test: if you change an assumption by a realistic amount and the decision stays the same, you can keep it simple. If the decision flips, spend more time on that assumption.

Match the time step to the question. A decision about next month's payroll needs weekly or daily detail. A ten-year equipment decision usually works in years.

Make errors easy to find

Build the model in small steps and check each one before moving on. After you write revenue, calculate it by hand for one case: 80,000 bags at 15.00 is 1,200,000. Then add the next line.

It also helps to try extreme inputs. Set volume to zero: revenue should be zero, and operating profit should equal minus the fixed costs. Set the price equal to variable cost: contribution should vanish. If the model does something strange, you have found a bug while it is still small.

Finally, ask someone else to read it. A reviewer who has to ask "where does this number come from?" has found a gap in your documentation, even if the arithmetic is right.

Practice tasks

Try each task on paper or in the editor above before you read the answer. When your result differs, compare definitions first, then timing, then arithmetic.

Task 1. In the scenario block, the price stays at 15.00 and the variable cost rises to 9.80. How many bags are now needed to break even?

Answer: The contribution per bag falls to 5.20, so break-even is 340,000 / 5.20, about 65,385 bags. That is roughly 8,700 more bags than before. A small change in unit cost moved the target a lot.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Why should numbers not be typed inside formulas?

    A named input shows what the number means and lets you change it in one place.
  2. 2. Fixed costs are 340,000 and each unit contributes 6. What is break-even volume (rounded)?

    340,000 / 6 is about 56,667 units.
  3. 3. Which is a driver for revenue?

    Volume, with price, causes revenue. Profit is a result.
  4. 4. When should you round?

    Early rounding accumulates errors. Round at display time.

Summary

  • Separate inputs, calculations, outputs and checks.
  • Model drivers such as volume and price, not just totals.
  • Fix conventions for units, timing, signs and rates.
  • Add checks that fail loudly on impossible values.
  • Record where each assumption came from.

Next: Reading the Income Statement

Votre progression est enregistrée dans ce navigateur. Aucun compte nécessaire.