Sub topic 1
Revenue and expenses: the inputs to burn
Burn rate and runway both come from two monthly numbers: how much money comes in and how much goes out. If those two numbers are wrong, every later calculation in this tutorial is wrong too. This chapter covers what counts as revenue, what counts as an expense, and how to turn a messy set of transactions into figures you can trust.
Prerequisites
This chapter assumes you can do the following:
- Do basic arithmetic and work with percentages.
- Tell revenue, expenses, and profit apart.
- Read a bank balance or a simple financial statement, such as a monthly profit and loss summary.
You do not need accounting training. The code examples use Python, but they only need loops, dictionaries, and functions.
Why the inputs matter
Later chapters define gross burn as total monthly spending and net burn as spending minus revenue. Both are simple subtractions. The hard part is deciding which dollars belong in each side of the subtraction.
Two questions come up repeatedly:
- Is this amount a recurring, operating amount, or a one-time or financing event?
- Did the cash move this month, or only the obligation?
The sections below answer these for revenue and then for expenses.
Revenue: money earned from customers
Revenue in a burn calculation is cash that customers pay you for your product or service. Here are the common cases.
- Subscription revenue. Customers pay a fixed amount each month. This is the most predictable input. Startups often track it as monthly recurring revenue (MRR), which is the sum of all active monthly subscription fees.
- Usage revenue. Customers pay according to what they consume. It varies from month to month, so it needs averaging.
- Services and one-time sales. Setup fees, consulting, and hardware sales are real revenue, but they may not repeat. Do not assume next month will look like this month.
- Annual prepayments. A customer pays $12,000 up front for a year. The cash arrives in one month, but the service is delivered over twelve.
What is not revenue
Several inflows land in your bank account but are not revenue from operations:
- Equity investments and venture capital.
- Loans and drawn credit lines.
- Grants, unless you treat them as a defined, recurring funding source.
- Tax refunds and security deposits returned to you.
- Refunds from vendors.
These are financing or other inflows. They raise your cash balance, but they do not reduce burn. If you count a $250,000 investment as revenue for the month, your net burn looks negative and your runway looks infinite. That mistake is common and it is wrong.
Revenue net of refunds and churn
Use revenue after refunds and chargebacks. A customer who cancels, or whose card fails, stops contributing. Gross sales of $42,000 with $2,000 refunded is $40,000 of revenue for burn purposes.
Expenses: money that leaves the business
Expenses are the cash you pay out to run the company. They fall into groups that behave differently over time.
| Category | Examples | Behavior |
|---|---|---|
| Payroll | Salaries, payroll taxes, benefits | Fixed, and usually the largest item |
| Contractors | Freelancers, agencies | Semi-fixed, easy to change |
| Infrastructure | Cloud hosting, databases, APIs | Variable with usage |
| Sales and marketing | Ads, events, sales tools | Discretionary |
| Facilities | Rent, coworking, utilities | Fixed, often under a lease |
| Software and tools | Subscriptions, licenses | Mostly fixed |
| Professional services | Legal, accounting, insurance | Lumpy |
| Cost of goods sold | Materials, shipping, payment fees | Variable with sales |
Loaded payroll cost
A salary is not the full cost of an employee. Employer payroll taxes, health insurance, retirement contributions, and equipment add to it. A common rough estimate is that the loaded cost is 1.2 to 1.4 times the salary, but the right factor depends on your country and benefits. Use your payroll provider's actual totals when you have them.
Fixed and variable expenses
A fixed expense stays about the same no matter how many customers you have, such as rent. A variable expense moves with activity, such as payment processing fees that take a percentage of each sale. The split matters later. When revenue grows, variable costs grow with it, so growth does not improve net burn as much as a naive projection suggests.
Non-cash expenses
Some items on a profit and loss statement are not cash leaving the bank:
- Depreciation and amortization.
- Stock-based compensation.
- Unrealized currency adjustments.
Exclude these when your goal is cash burn. A company can show a loss on paper while spending much less cash than the loss suggests, and the reverse is also possible.
Cash timing versus accounting timing
Accountants usually record revenue when it is earned and expenses when they are incurred. This is called accrual accounting. Burn and runway care about when cash actually moves. This is cash-basis thinking.
| Situation | Accrual view | Cash view |
|---|---|---|
| Customer pays $12,000 for a year in January | $1,000 per month | $12,000 in January, $0 afterwards |
| You invoice in March, customer pays in May | Revenue in March | Cash in May |
| You pay $6,000 insurance annually in June | $500 per month | $6,000 in June |
| You buy equipment on a 90-day vendor term | Expense now | Cash out in three months |
For runway, the cash view is the one that decides whether you can make payroll. The accrual view is useful for understanding the business, but it can hide a cash crunch. A company with a lot of unpaid invoices can look profitable on paper and still run out of cash.
Choosing the period: one month is noisy
Burn is quoted per month, but a single month can mislead. Annual insurance, a big hardware purchase, or a customer paying late can distort it.
There are two ways to reduce noise:
- Use a trailing average. Average the last three months of revenue and expenses. Three months smooths out most one-off spikes without hiding real trends.
- Normalize lumpy items. Spread an annual payment across twelve months, so you plan for it even in months when it does not hit.
Trailing averages have a cost. If expenses are rising quickly, the average lags behind the current level. When you hire three people in one month, the average of the last three months understates your new spending. In that case, use the current month's committed expenses as the starting point and treat the average as a sanity check.
Turning transactions into inputs
The following program groups a list of transactions into monthly revenue and expense totals. It ignores financing entries on purpose, and it computes a three-month trailing average.
from collections import defaultdict
# (month, kind, amount); kind is "revenue", "expense", or "financing"
transactions = [
("2026-08", "revenue", 34_000),
("2026-08", "expense", 98_000),
("2026-09", "revenue", 38_000),
("2026-09", "expense", 101_000),
("2026-10", "revenue", 40_000),
("2026-10", "expense", 100_000),
("2026-10", "financing", 250_000), # investment: not revenue
]
def monthly_totals(rows):
totals = defaultdict(lambda: {"revenue": 0, "expense": 0})
for month, kind, amount in rows:
if kind in ("revenue", "expense"):
totals[month][kind] += amount
return dict(totals)
def trailing_average(totals, months=3):
recent = sorted(totals)[-months:] # "YYYY-MM" strings sort by date
revenue = sum(totals[m]["revenue"] for m in recent) / len(recent)
expenses = sum(totals[m]["expense"] for m in recent) / len(recent)
return round(revenue, 2), round(expenses, 2)
totals = monthly_totals(transactions)
print(totals["2026-10"]) # {'revenue': 40000, 'expense': 100000}
print(trailing_average(totals)) # (37333.33, 99666.67)The latest month shows $40,000 of revenue and $100,000 of expenses. The three-month averages are $37,333.33 and $99,666.67. The $250,000 investment never enters either figure. The next chapters reuse the $40,000 and $100,000 values for the running example.
Checking the data before using it
Add a few sanity checks before you compute anything from real data:
- Missing months. If a month has no entries, a trailing average over "the last three entries" may silently span four calendar months.
- Sign errors. Refunds recorded as positive revenue, or credits recorded as positive expenses, will skew results.
- Duplicates. Importing the same bank export twice doubles your numbers.
- Unclassified items. Transfers between your own accounts are neither revenue nor expense.
How the inputs fit together
The diagram shows which flows feed the burn calculation and which only change your cash balance.
Burn belongs to the operating side. Cash balance collects the result of burn and financing together. Keeping them apart is what lets runway answer the question "how long can we operate with what we have?"
Common errors
- Counting bookings as revenue. A signed contract is not cash. Count the payment when it arrives, or when you reliably expect it.
- Forgetting annual bills. A $24,000 yearly software contract adds $2,000 to the true monthly cost, even if no money moves in most months.
- Using salary instead of loaded cost. This understates payroll by 20 to 40 percent.
- Mixing currencies. Convert at a consistent rate and say which one you used.
- Treating a good month as normal. One large one-time sale can make average revenue look much higher than the recurring base.
- Ignoring taxes. Sales tax and VAT collected from customers belongs to the tax authority. Do not count it as revenue. Sales taxes and VAT that you have to remit are not income, and the unpaid amount will become an expense later.
Summary of rules
- Use cash that actually moves, not what is invoiced or promised.
- Keep investment, loans, and refunds from vendors out of revenue.
- Use loaded payroll cost, and exclude non-cash charges.
- Spread lumpy annual payments across months.
- Use a trailing average as a check, and use current committed spending when costs are rising.
With clean monthly revenue and expenses, you can compute gross burn and net burn directly. First, the next chapter looks at the other input to runway: the cash balance and what counts as money you can actually spend.
Exercise
A startup had these cash movements last month: $30,000 from subscriptions, $8,000 from a one-time setup fee, $500,000 from a seed investment, $2,000 refunded to customers, and $90,000 of spending including $6,000 paid for an annual insurance policy. What revenue and expenses should you use for burn if you want a figure that reflects a normal month, and what is the monthly cost of the insurance?
Show answer
Revenue is subscriptions plus setup fee minus refunds: 30,000 + 8,000 - 2,000 = $36,000. If you want a normal month, you may also exclude the $8,000 setup fee as a one-off, giving $28,000 of recurring revenue. The $500,000 investment is financing and is excluded. Expenses are $90,000 as paid, but for a normal month you should replace the $6,000 lump with $500 per month ($6,000 / 12), so normalized expenses are 90,000 - 6,000 + 500 = $84,500. The insurance costs $500 per month.
Exercise
Explain why a company with many unpaid customer invoices can look profitable on an accrual basis and still be close to running out of cash.
Show answer
Under accrual accounting, revenue is recorded when it is earned, so an invoice counts as revenue as soon as it is issued. Cash arrives only when the customer pays. While invoices stay unpaid, the company still has to pay salaries, rent, and vendors from its bank balance. Reported profit rises, but cash falls. Runway depends on cash, so the cash view is the one that shows the risk.