lesson
30 min

The Math of One

What one sale or one person served brings in, what it costs, and what is left.

Your objective

By the end of this lesson, you can calculate the contribution and contribution margin of one unit.

Start with one

Big numbers hide problems. Small numbers show them. Unit economics means looking at the money for a single unit: one cake, one haircut, one client, or one student served.

All numbers in this lesson are made up for practice.

Three words you need

WordPlain meaningBakery example
Revenue per unitMoney that comes in for one unitA cake sells for 50 dollars.
Variable costCost that goes up with each unit you makeFlour, eggs, box: 20 dollars per cake.
ContributionWhat is left from one unit to cover everything else50 minus 20 = 30 dollars.

Contribution margin is contribution as a percent of revenue. Here: 30 divided by 50 = 60 percent. For every dollar of sales, 60 cents is left to cover rent, wages, and other bills.

Fixed costs

A fixed cost stays about the same no matter how many units you sell. Rent, insurance, and a phone plan are fixed costs. Contribution from each unit pays these down.

The warning sign

If contribution is zero or negative, selling more makes things worse. Every sale loses money. Many small businesses grow straight into trouble this way.

Try it in Python

This runs real Python in your browser. The first run downloads the Python tool, which is several megabytes. If you are on phone data, you can read the code below without running it.

price = 50
variable_cost = 20
contribution = price - variable_cost
margin = contribution * 100 // price
print("Contribution per unit:", contribution)
print("Contribution margin %:", margin)
Run the code. Then change price and variable_cost to numbers for your own idea. What happens to the margin if variable_cost goes up by 10?
Python 3
Ctrl+Enter to run | Tab to indent | Python runs in your browser via Pyodide

A national example

Public companies in the U.S. must report gross margin in their filings with the Securities and Exchange Commission. Gross margin is a close cousin of contribution margin. Investors read it first, because it shows whether each sale actually helps the business. The same check works for a lemonade stand.

When not to trust the math alone

Math does not include your time unless you put it in. If you bake every cake yourself and count your labor as free, the margin looks better than it is. Always ask: would this still work if I hired someone to do my part?

Reflection

Private. Saved only in this browser. No one else can see it.

Ask. Answer. Build together.