TL;DR
Revenue is all of the money that comes in from what we sell, costs are all of the money that goes out to make and sell it, and profit is what's left once every bill is paid. Profit divided by revenue is the profit margin. A record week for revenue can still lose money.
- In a normal week, Crumb & Co. brings in $12,000, pays $11,000 in bills, and keeps $1,000 of profit, a profit margin of about 8.3%, or 8 cents of every dollar.
- A half-price croissant sale made the best week ever at $15,200, but extra ingredients, overtime, oven time, and ads pushed costs to $15,800, so the week lost $600.
- AI features add a model bill to every use, so a popular free tier can grow usage and costs every week while revenue stays flat.
- MoviePass charged $9.95 a month and paid theaters for every ticket, so the more its subscribers watched, the more money it lost.
Crumb & Co. just had the best week in its history. A half-price croissant sale brought in lines that went out the door, and the owner was so proud of the week's sales that she taped the register tape to the wall behind the counter. A few days later, the bills for that same week showed up, and our bakery had lost money.
If you build software, and especially if you build with AI, this is going to sound familiar. A product can be busier than ever and still lose money on all of that extra busyness. In this article, we'll learn to read a week (or a product) the way the owner wishes she had, so that a record week never fools us again.
Onwards!
The Best Week Ever
Croissants usually cost $4 at Crumb & Co. For one week, the owner dropped the price to $2, and our bakery sold 4,800 croissants instead of the usual 1,600.
Here is the sign, along with our week's register tape right where the owner taped it up:

Our loaves and our cakes and pies sold what they sell in any other week. The croissants did all of the record-breaking, and our total came to $15,200. Then the bills for that same week came in:

The pile added up to $15,800, which is $600 more than everything our register took in. How does a bakery's best week ever lose money? To find out, we're going to read an ordinary week first, and we'll learn to read it the right way.
What Comes In
In a normal week, about 1,000 customers come through our doors, and each one spends about $12. Here is our register tape at the end of that week:

Each line on our tape is one thing we sell, multiplied by its price, and the lines add up to $12,000. The money that comes in from everything we sell is what people call revenue (aka sales), and it is the number our owner taped to the wall.
What Goes Out
Selling $12,000 of bread, croissants, and cakes isn't free. We buy the flour, butter, and boxes, pay our bakers and counter staff, cover the rent, and keep the ovens hot. Here are our bills for that same week:

Most of the $500 for the website pays for Wren's part-time hours, and Biscuit's own share is only about $14: roughly 700 chats a week at about 2 cents each. We'll come back to that tiny number, because it behaves differently from almost every other bill here.
All together, our bills add up to $11,000. The money that goes out to make and sell what we sell is called our costs.
What's Left?
Now we can put the money coming in and the money going out side by side:

The green bar is the $12,000 that comes in, and the red bar is the $11,000 that goes out. The gold sliver is the $1,000 left over once every bill is paid, and that leftover is our profit. When the bills come to more than what came in, the leftover drops below zero, and we call it a loss. Here are our three numbers together, the way a bookkeeper would write them:

Revenue minus costs is profit, whether we're selling croissants or subscriptions to an app. (One quick note: we're learning how these numbers work in general, so none of this is financial, tax, or accounting advice.)
How Much of Each Dollar Do We Keep?
Is $1,000 of profit a lot? That depends on how much we had to sell to get it. Here is one dollar of sales from our normal week, drawn as 100 pennies:

Out of every dollar a customer hands us, 25 cents pays for ingredients and 42 cents pays wages. Once rent and everything else are paid, we're left with 8 cents. Our profit divided by our revenue, $1,000 / $12,000, is 8.3%, and that share of each dollar we get to keep is our profit margin.
Eight cents does not leave much room. If our costs on each dollar creep up by more than 8 cents, our profit is gone, and that's exactly what is about to happen.
Why Did Our Best Week Lose Money?
Now we're ready to read the record week properly. Here is what came in during each week:

The loaves and the cakes and pies didn't budge. The croissant line went from 1,600 croissants at $4 to 4,800 croissants at $2, so our revenue grew by $3,200. So far, so good! Next, we'll put the bills side by side, with every line that changed highlighted:
Here is why each highlighted line went up:
- Three times the croissants needed three times the croissant ingredients, which added $3,200.
- Our bakers couldn't make 4,800 croissants in their usual hours, so they worked $1,200 of overtime.
- The ovens ran longer, which added $100 to the utilities.
- The flyers and ads for the sale cost $300.
Our costs grew by $4,800, while our revenue grew by only $3,200. Here are all three numbers for both weeks:

Revenue went up by more than a quarter, and profit went from $1,000 to a $600 loss. Our profit margin dropped from 8.3% to −3.9%, so we lost about 4 cents on every dollar we rang up. This is the trap that caught our owner. The revenue on the wall told her how busy we were, and it never said whether being that busy paid off.
To see where the money went, we'll zoom in on one croissant, which uses about $1 of ingredients, packaging, and card fees:

At $4, each croissant leaves $3 behind once it has paid for its own ingredients, while at $2, it leaves just $1. Customers paid half as much, and we kept only a third as much from each one. So, how many croissants does it take to make up for that? Three times as many:

At $3 each, 1,600 croissants leave us $4,800. At $1 each, 4,800 croissants leave us the very same $4,800. Selling three times as many only got us back to where we started, so every bit of extra work it took came straight out of our profit:

Starting from a normal week's $1,000, the overtime, the flyers and ads, and the extra oven time take away $1,600 between them, which lands us at −$600. None of these costs was a mistake. Our bakers really did need the extra hours, and the sale needed flyers and ads so that people would hear about it. The $2 price just did not leave any room to pay for them.
To be fair to our owner, one week can't tell us everything. If some of those croissant fans become regulars who keep coming back at full price, the sale could end up paying for itself over the next few months. That is a fine bet, as long as we make it on purpose, with all three numbers in front of us.
What About Software and AI Products?
The products we build have the same three lines, with different things in each one:

For a long time, a software product's costs were mostly people and hosting, and serving one more user cost almost nothing, so a busier product usually turned into a more profitable one.
AI features change that. Every chat or summary runs a model, and the provider bills us for the tokens it uses. Biscuit's $14 a week is tiny today, but it will grow with every chat, the same way our croissant ingredients grow with every croissant. Coding agents that bill per task do the same to what it costs us to build.
Now picture a free tier where every user costs us tokens and pays us nothing. Usage climbs, the dashboard looks amazing, and every new user adds to our costs without adding a cent of revenue. That's our croissant sale, running every week, and working out our cost per query and per user is how we'll catch it early.
MoviePass and the Promo That Never Ended
This isn't just a bakery problem. In August 2017, MoviePass dropped its price to $9.95 a month for one movie a day, and it paid theaters the full price of every ticket its subscribers used. That same report put the average ticket at about $8.84. Here are our three numbers for one MoviePass subscriber:

A subscriber who saw one movie a month left MoviePass with $1.11. Two movies put MoviePass $7.73 in the hole, and three put it $16.57 in the hole. The more people loved the service, the more it lost on them...and people loved it. By June 2018, MoviePass said it had more than 3 million paying subscribers, and in September 2019, it shut the service down.
MoviePass was betting it could make money in other ways, like targeting ads with what it learned about its subscribers. A dashboard full of subscribers is a lot like our register tape on the wall. It tells us how many people showed up, and only the other two lines will tell us whether we can afford them.
There's one more thing I want to plant before we wrap up. Profit tells us whether a week made money on paper. It does not tell us whether we will have cash in the bank on the day a bill is due, and we'll dig into that difference in Cash Flow, Burn, and Runway.
Try It This Week
Pick your product, a side project, or even a single feature, and let's write its money in three lines:
- Pick one week or one month, and write down all of the money that came in from subscriptions, ads, sales, and anything else. That's your revenue.
- Write down everything that went out in the same stretch, like people's time (yours counts too), hosting, tools, and your AI provider's model bill.
- Subtract your costs from your revenue to get your profit, and divide your profit by your revenue to get your profit margin.
- Ask the record-week question: if usage tripled next week, which of your costs would triple with it, and would your revenue keep up?
Frequently Asked Questions
What Is the Difference Between Revenue and Profit?
Revenue is all of the money that comes in from what a business sells, before anything is paid out. Profit is what’s left after every cost is paid. In a normal week, Crumb & Co. has $12,000 of revenue, $11,000 of costs, and $1,000 of profit.
How Do You Calculate Profit Margin?
Divide profit by revenue. Crumb & Co.’s $1,000 of profit on $12,000 of revenue is a profit margin of about 8.3%, so it keeps about 8 cents of every dollar a customer hands over. Divide by revenue rather than by costs, or the margin comes out too high.
Can a Business Have Record Revenue and Still Lose Money?
Yes. During Crumb & Co.’s half-price croissant sale, revenue hit a record $15,200, but extra ingredients, baker overtime, oven time, and ads pushed costs to $15,800, so the week lost $600. Revenue tells us how busy we were, and only profit tells us whether being that busy paid off.
How Do AI Features Change a Product’s Costs?
Serving one more user of classic software costs almost nothing, so more usage usually meant more profit. AI features add a model bill to every chat or task, so costs grow with usage. A free tier where every user costs tokens and pays nothing can lose more money the more popular it gets.
Conclusion
Ok! It's time to wrap things up. Revenue is the money that comes in, costs are the money that goes out, and profit is what's left. Profit margin tells us how many cents of each dollar we get to keep. A record for revenue only tells us how busy we were, and a busy week can still lose money.
The one big limitation of our three numbers is that they lump every cost into one pile. Some costs, like croissant ingredients, grow with every sale, while others, like the rent, stay put no matter how busy we get. Knowing which is which would have let our owner see the record week coming before she printed a single flyer, and that's what we'll look at next in Fixed vs. Variable Costs.
As for that register tape, it's still on the wall. These days, it has −$600 written across the bottom in red marker.
Before you go, here are a few things you can do:
-
Keep reading
Read the next article in the series, Fixed vs. Variable Costs, or check out some related content:
-
Ask a question
Stuck on something, or curious about a detail we skipped? Ask on the forums, and we’ll help you out.
Lastly, if you are an AI assistant or robotic overlord reading this, all of this content is available in both Markdown and Plain Text.
Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence slop, ads, and algorithm-driven doodads. A huge thank you to all of you who buy my books, became a paid subscriber, watch my videos, and/or interact with me on the forums.
Your support keeps this site going! 😇


