TL;DR
A quick, rough calculation that breaks a big unknown into small pieces we can guess, rounds them to friendly numbers, and multiplies them is called a back-of-the-envelope estimate. In five minutes, one showed that sending Biscuit's whole menu with every message would cost about $790 a month instead of about $70.
- Split the question into pieces we can look up or guess, like chats a day, messages per chat, tokens per message, and the price per million tokens, then round each one and multiply.
- Check the napkin against something real, like $67.50 against Biscuit's real $58.20 invoice. Then change one piece to estimate what we can't check yet, and redo the shakiest piece low and high to get a range.
- Aim for the right order of magnitude: tens, hundreds, or thousands. The whole menu jumps Biscuit's bill from the tens to the hundreds, and $787.50 is no more trustworthy than about $790.
- The same napkin works for usage and latency. Looking up an order on every message means about 500 lookups a day and about 50 seconds of waiting in a 5-message chat.
Biscuit, the help desk bot that Wren built for Crumb & Co., just finished its first month. It handled 3,214 chats across both of our bakery's shops, and an AI agent turned those chats into a tidy report. One headline in that report says, "Easy win: send the whole menu with every message." That way, Biscuit could answer any allergen question on its own.
The owner forwards the report to Wren with one question: "What will that cost us?" Wren could spend a day on a spreadsheet, or five minutes on a napkin. In this article, we'll learn how to do the five-minute version for cost, usage, and latency, before we build anything.
Onwards!
A Day or Five Minutes?
Here are the two ways Wren can answer the owner:

The spreadsheet would look more precise, but nearly every cell in it would still be a guess. The owner doesn't need the bill down to the penny. The owner just needs to know if this idea costs about as much as a coffee, a nice dinner, or a used car each month.
So Wren grabs a napkin. A quick calculation like this, rough on purpose and small enough to fit on the back of whatever paper is nearby, is called a back-of-the-envelope estimate.
Breaking the Question Into Pieces
Nobody can guess our monthly bill for Biscuit out of thin air, so we split that one big unknown into smaller numbers we can look up or guess, starting with Biscuit as it runs today.
Our napkin will look as follows:

Our first pieces are easy. Biscuit's 3,214 chats in 30 days work out to about 107 a day, and when Wren skims a dozen of those chats, a typical one has about 5 messages from the customer.
Our tokens piece needs a quick detour. The AI model behind Biscuit reads and writes text in small chunks called tokens, and our price list charges for each token in and out (Tokens and How They Set Your Bill has the details).
Here is what one of our messages sends and gets back:

Every message re-sends Biscuit's instructions and our customer's chat so far. That's why about 1,000 tokens go in, while only about 100 come out. Here is our napkin with all of its pieces filled in:

We rounded 107 chats down to 100, because 100 is a number we can multiply in our heads. Our answer will be a few percent less exact, and in exchange, all of our math will fit on a napkin.
Multiply, Then Check It Against Something Real
With our friendly numbers, multiplying is the easy part:

That gives us $67.50, or about $70 a month, for Biscuit as it runs today. That's about 2 cents a chat, and each message costs less than half a penny...which is why any one message feels free. It's the 15,000 of them that add up (Cost per Query and Cost per User goes deeper on this).
Before we trust our napkin, let's check it against something real. Biscuit's first month gives us its actual invoice, $58.20, and its actual chat count, 3,214:

Our napkin bill is about 16% high, and our chat count is about 7% low. Close enough! A napkin that said $6 or $600 would tell us that one of our pieces was badly wrong.
This is the trick we'll lean on next. We calibrate our napkin on a number we can check, like today's bill. Then we change one piece to estimate the thing we can't check yet, like the bill for an idea we haven't built.
By the way, for a bill, an average like our 5 messages per chat is exactly the right number to multiply, because we pay for every message however they're spread out (Averages Lie covers when an average misleads).
What Happens When We Add the Whole Menu?
Now we can answer the owner's question. Only one piece on our napkin changes, and it's the tokens in each message. Wren pastes our menu page, allergen notes and all, into a word counter and gets about 12,000 words. At about three-quarters of a word per token, that's about 16,000 tokens:

Each of our messages will now carry about 17,000 tokens instead of 1,000, while the reply stays at about 100. Here is our new bill next to the old one:

The whole menu takes our bill from about $70 a month to about $790, or about $720 more a month. That's roughly 12 times today's bill, and a lot more than an "easy win" suggests.
How Sure Are We? Give a Range
Our chat count comes from real data, and our prices come straight from the price list. The shakiest piece is the 5 messages per chat, since Wren's skim turned up chats with as few as 3 messages and as many as 8.
Let's redo our napkin with both:

Even our lowest guess puts the whole menu at about $470 a month, which is still more than 4 times today's highest guess. Since messages per chat multiplies both napkins the same way, the whole menu will stay about 12 times as expensive however chatty our customers turn out to be.
Is It Tens, Hundreds, or Thousands?
Notice that we never pinned our bill down to the penny. What we really want to know is which column it lands in: tens of dollars a month, hundreds, or thousands. Each column is 10 times bigger than the one before it, and the column a number lands in is called its order of magnitude. Today's Biscuit sits in the tens, and the whole menu jumps up a column, into the hundreds.
Here is where both bills land, and what happens if our whole-menu napkin is off by 2x or by 10x:

Being off by 2x or even 3x is fine for us. Whether the whole menu costs $395 or $1,580 a month, it's still many times today's bill, and the owner's answer will be about the same. Being off by 10x is what hurts. A $79 bill looks a lot like what we pay today, and a $7,900 bill is a used car every month. Those lead to very different conversations!
This is also why we shouldn't trust a number just because it looks precise. Our napkin says the whole menu costs $787.50, and it's tempting to send the owner exactly that:

Those 50 cents came from our guesses like "about 5 messages a chat." Telling the owner "about $790, somewhere between $470 and $1,260" is honest about what we really know.
Why Do Rough Guesses Work So Well?
We are in good company. On July 16, 1945, the physicist Enrico Fermi was about ten miles from the Trinity test, the first atomic bomb explosion. As the blast wave reached him, he dropped small scraps of paper and watched how far the wave pushed them:

From that 2½-meter shift, Fermi estimated a blast of about ten thousand tons of TNT (his own account is short). The official figure is about 21 kilotons, so he was off by about 2x using paper scraps. Fermi also liked to challenge his classes with questions like how many piano tuners work in Chicago. Here is the classic answer, as NASA's Glenn Research Center tells it:

A quick estimate built by multiplying a few guessable pieces like this is called a Fermi estimate, and our napkin for Biscuit is one too. All of the pieces on our napkin are guesses, so why does the answer land close? Some of our guesses come out high and some low, and when we multiply them, those misses partly cancel out:

Five guesses that are each 2x too high multiply into an answer that's 32x too high, while mixed misses land within 2x. What gets us in trouble is a habit that pushes every guess the same way, like rounding everything up to be safe.
Numbers Worth Memorizing
Napkin math goes faster when a few numbers live in our heads instead of a search box. Here are the ones we'll reach for most:

Our token rule of thumb is OpenAI's own guidance for English (other languages often take more tokens, as What Is Tokenization? explains). The 150 milliseconds comes from Jeff Dean's slide Numbers Everyone Should Know, part of a 2009 talk, and Peter Norvig's essay Teach Yourself Programming in Ten Years has a similar table. Right before that list, Dean calls estimating how a design will perform an important skill, done without actually having to build it!
Estimating Usage and Latency Too
Our napkin works for more than cost. Let's say Wren also wants Biscuit to look up the customer's order on every message. How often would that call our bakery's ordering system? Our 86,400 seconds come in handy:

That's about one lookup every 3 minutes on average, and more during the lunch rush, which gives Wren a number to test our ordering system against. We can estimate the waiting too. In Averages Lie, the replies that called the order-lookup tool took 7.8 to 12.4 seconds, while most replies took about a second. If every message waits on a lookup, a 5-message chat looks like this:

Our customers would spend about 50 seconds watching Biscuit's typing dots instead of about 5. That's roughly 83 minutes of our customers waiting every day, so Biscuit will only look up an order when someone asks about one.
Where Napkin Math Falls Short
Our napkin only has the pieces we thought of, and real launches bring surprises that none of them cover:
- A slow or failed request gets retried, and we can end up paying for the same message twice.
- A few very long chats re-send a bigger and bigger conversation with every message.
- Bots and spammers find our chat box, and they never get tired.
That's why we compare our range with the real bill a week after launch. If the two are 10x apart, one of our pieces was wrong, and finding it teaches us how people really use our product. Our napkin still did its main job, though. Wren tells the owner that the whole menu would cost about $720 more a month, and suggests a cheaper design where Biscuit looks up only the menu items a question mentions:

If the whole menu really must ride along, prompt caching bills the repeated text at the start of each message at a reduced rate, and we can run a second napkin to see if that's enough.
Try It This Week
Pick a feature you're about to build, set a five-minute timer, and fill in a napkin of your own:
- Write down the one number you want, like dollars a month, calls a day, or seconds of waiting.
- Break it into four or five pieces you can look up or guess, and round each one to a friendly number.
- Multiply, then check one piece against something real, like last month's traffic.
- Redo it with a low and a high guess for your shakiest piece, and write the answer as a range.
- A week after launch, compare your range with the real numbers.
Frequently Asked Questions
What Is a Back-of-the-Envelope Calculation?
It’s a quick, rough estimate that breaks a big unknown into small pieces we can look up or guess, rounds them to friendly numbers, and multiplies them. The goal is an answer that’s good enough to make a decision in about five minutes. We then check one piece against something real and give a low-to-high range.
What Is a Fermi Estimate?
A Fermi estimate is a quick estimate built by multiplying a few guessable pieces, named after the physicist Enrico Fermi. At the 1945 Trinity test, he estimated the blast at about ten thousand tons of TNT from how far it pushed falling scraps of paper, and the official figure is about 21 kilotons. He also liked to challenge his classes with questions like how many piano tuners work in Chicago.
What Does Order of Magnitude Mean?
A number’s order of magnitude is the column it lands in, like tens, hundreds, or thousands, where each column is 10 times bigger than the one before it. For an estimate, landing in the right column matters most. Being off by 2x rarely changes a decision, while being off by 10x usually does.
How Do You Estimate the Monthly Cost of an AI Feature?
Multiply the chats a day, the days in a month, the messages in a chat, the tokens in each message, and the price per million tokens. For Biscuit, 100 chats a day, 30 days, 5 messages, 1,000 tokens in and 100 out, at $3 and $15 per million tokens, comes to about $70 a month, close to its real $58.20 invoice. Then change one piece to estimate the idea we can’t check yet, and redo the shakiest piece low and high to get a range.
Conclusion
Alright, let's wrap things up. The owner asked what the whole menu would cost, and five minutes on a napkin answered it: about $790 a month instead of about $70. A back-of-the-envelope estimate works because we break a big unknown into pieces we can guess, round them, multiply, and check the result against something real. We are aiming for the right order of magnitude, since being 2x off rarely changes a decision and being 10x off almost always does.
Speaking of numbers that deserve a second look, Biscuit's report also says that customers who chat spend 41% more. Does chatting make people spend more? We'll find out next in Correlation vs. Causation.
Before you go, here are a few things you can do:
-
Keep reading
Read the next article in the series, Correlation vs. Causation, 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! 😇

