What the payback period is, its simple and discounted formulas, with a step-by-step example in pesos and a table of discounted cash flows.
The payback period is the time it takes for an investment to pay for itself. Simple formula: initial investment ÷ net cash flow per period. Discounted formula: add up the flows divided by (1 + rate)ⁿ until they equal the investment.
If you invest X pesos and the investment leaves you Y net pesos per month, you recover your money in X ÷ Y months.
Below you will find the difference with ROI, a step-by-step example with an espresso machine (including the case where the flow changes every month), the discounted version, and how to shorten the payback period.
Table of Contents
What is the payback period of the investment
Thinking about it as a business owner
What it does measure and what it does not
Payback period vs ROI: what each one answers
How to calculate the payback period step-by-step: example with an espresso machine
Case 1: constant flow
Case 2: unequal flows (the norm in a coffee shop)
Discounted payback: formula and step-by-step example
Limitations of the payback period and how to use it well
The most common mistake
Where CAC Payback comes in
How to reduce your payback period and accelerate ROI
Three levers that actually move the timeframe
What actions usually fail
Frequently asked questions about the payback period
What is a good payback period?
What is the difference between simple payback and discounted payback?
Does the payback period consider profits after recovering the investment?
Is it calculated in months or years?
What is the payback period of the investment
The investment recovery period, or Payback Period, is the time it takes for a project to return the money spent at the beginning. The formal definition in Mexico is clear: the concept of payback period is understood as the exact time a project needs for the accumulated cash flows to equal the initial investment, and BBVA México presents it as a liquidity metric that answers the question of when capital is recovered, useful as a filter for SMEs looking for efficiency (BBVA México).

Thinking about it as a business owner
A simple way to understand it is with a coffee shop in Puebla. If the business buys an espresso machine, the question is not only how much it will sell in total during its useful life. The immediate question is how many months of operation it needs to recover what was paid for it.
In a gas station with a convenience store in the State of Mexico, something similar happens. If a loyalty program is installed, the useful analysis does not start with a promise of "more loyalty". It starts with a concrete calculation: how much it cost to implement and what additional flow it leaves each month through repeat purchases, visits, or average ticket.
That makes the Payback Period a metric very close to day-to-day operations. It does not talk first about future wealth. It talks about cash recovery. That is why business owners use it to decide faster between options competing for the same capital.
What it does measure and what it does not
Its main value lies in two areas:
Liquidity: indicates how soon the money returns.
Operational risk: the longer the timeframe, the longer the business remains exposed.
Prioritization: helps sequence investments when they cannot all be made at the same time.
It is also wise to set its limits from the start.
Aspect | What the Payback Period provides | What it does not solve |
|---|---|---|
Quick decision | Helps filter projects | Does not replace full analysis |
Cash | Measures recovery speed | Does not measure total profit |
Risk | Favors less exposed projects | Does not capture benefits after recovery |
The Payback Period is useful because it simplifies a difficult decision. It becomes dangerous when used as the sole metric.
There are two ways to calculate it. Simple payback works when looking for a quick answer and flows are relatively stable. Discounted payback adjusts for the time value of money, which is especially relevant when the investment takes longer or the financial environment demands more rigor.
For an SME with a physical store, this difference matters a lot. A purchase that seems to pay off quickly on paper can change when acknowledging that tomorrow's money is not worth the same as today's money.
Payback period vs ROI: what each one answers
Payback and ROI are used together, but they answer different questions. Payback tells you when your money returns; ROI tells you how much you earned in relation to what you invested.
Payback period | ROI | |
|---|---|---|
Question answered | How long will it take to recover what I invested? | How much did I earn for every peso invested? |
Formula | Initial investment ÷ net flow per period | (Gain − investment) ÷ investment × 100 |
Result | Time (months or years) | Percentage |
Strength | Measures liquidity and risk: how long your cash is tied up | Measures total profitability |
Blind spot | Ignores what the investment generates after it is recovered | Does not say how long it takes for the profit to arrive |
When to use it | To filter quickly and protect cash flow | To compare which option delivers more value |
Rule of thumb: use payback to rule out investments that your cash flow cannot support, and ROI to choose among those that do pass the filter.
How to calculate the payback period step-by-step: example with an espresso machine
Imagine that your coffee shop loses sales during peak hours because the current machine is slow and you are thinking of buying a new one. Use your own numbers instead of letters.
Case 1: constant flow
Initial investment (X): machine price including VAT, plus installation and training.
Additional net flow per month (Y): what the machine leaves you extra each month, net of costs. It is not what you sell extra: it is what you sell extra minus the cost of those products (coffee, milk, cup) and any new expenses (electricity, maintenance).
Payback = X ÷ Y.
For example, if the machine costs you X and each month leaves you Y in additional net flow, you recover your money in X ÷ Y months. If X is 12 times Y, you recover in 12 months.
Case 2: unequal flows (the norm in a coffee shop)
In real life, flow is not the same every month: there are high and low seasons. In this case, you do not divide; you add month by month until equaling the investment.
Month | Net flow of the month | Accumulated flow | Have you recovered X yet? |
|---|---|---|---|
1 | Y₁ (slow month) | Y₁ | No |
2 | Y₂ | Y₁ + Y₂ | No |
3 | Y₃ (high season) | Y₁ + Y₂ + Y₃ | No |
… | … | … | … |
n | Yₙ | Sum up to n | Yes, when the accumulated amount equals or exceeds X |
If recovery falls in the middle of a month, calculate the fraction: full months + (amount left to recover ÷ next month's flow).
Common mistakes: using sales instead of net flow, forgetting VAT or installation in the investment, and attributing sales to the machine that actually come from the season.
If you also want to know how much your business generates in general, review the profitability analysis and what is the ideal profit margin for a coffee shop; without knowing your margin, you cannot calculate the net flow.
Discounted payback: formula and step-by-step example
Simple payback treats a peso today the same as a peso a year from now. Discounted payback corrects this: before adding, it brings each flow to present value with a discount rate, which is what the money costs you (for example, your loan rate or what you would earn in a safe investment).
Formula: discounted flow for period n = flow for period n ÷ (1 + rate)ⁿ. The discounted payback is the point where the cumulative sum of discounted flows equals the initial investment.
Illustrative example (made-up figures to explain the calculation): a coffee shop invests $60,000 MXN in an espresso machine that adds $25,000 MXN of net cash flow per year. It uses a discount rate of 10% per year.
Year | Net flow | Factor 1 ÷ (1.10)ⁿ | Discounted flow | Cumulative discounted |
|---|---|---|---|---|
1 | $25,000 | 0.9091 | $22,727 | $22,727 |
2 | $25,000 | 0.8264 | $20,661 | $43,388 |
3 | $25,000 | 0.7513 | $18,783 | $62,171 |
At the end of year 2 you have $43,388 discounted; $60,000 − $43,388 = $16,612 is still missing.
Year 3 brings in $18,783 discounted, so the investment is recovered during that year.
Fraction of year 3: $16,612 ÷ $18,783 = 0.88.
Discounted payback ≈ 2.9 years, versus 2.4 years for simple payback ($60,000 ÷ $25,000).
The discounted result is always longer than the simple one. Use it when the investment takes more than a year to recover or when you financed it with credit.
Limitations of the payback period and how to use it well
The Payback Period solves an important question, but it does not resolve the entire decision. Its greatest strength is speed. Its greatest weakness is too. When an SME relies solely on this metric, it may choose a project that returns money quickly but creates less total value.
The most common mistake
The method leaves out flows after the recovery point. In other words, two investments can "pay off" in a similar timeframe and still have very different results afterward. One can continue to generate cash for years. The other may stall as soon as it recovers the outlay.
It also does not measure overall profitability. For that, other tools are needed, such as ROI or NPV. Payback serves best as a first filter, not as a final verdict.
If an investment does not pass the recovery filter, it rarely deserves further analysis. If it does pass, it is still not approved.
Another practical limitation appears when the business misestimates incremental flow. In coffee shops, gas stations, or convenience stores, it is very common to attribute an improvement to the investment that actually comes from season, location, or external promotions. This bias artificially shortens the timeframe.
Where CAC Payback comes in
In businesses that invest in marketing, retention, or repeat purchases, a modern variant gains a lot of weight: the CAC Payback Period. This metric answers how many months it takes for the business to recover what it spent to acquire a new customer.
In the startup ecosystem in Mexico, a payback of less than 12 months is considered healthy to recover the customer acquisition cost, while periods exceeding 18 months can signal inefficiency, which is particularly delicate for SMEs that rely on recurrence (Ecosistema Startup).
This data does not only apply to technology. It also makes sense in a coffee shop in Mexico City, a car wash chain in Nuevo León, or a service station in Puebla that invests in campaigns to attract and retain customers. If the acquisition cost is recovered slowly, the business grows with friction. If it is recovered quickly, there is more room to reinvest.
Used correctly, the Payback Period does not compete with other metrics. It sequences them. First, it filters whether the investment puts cash at risk. Then, it confirms whether it really adds value.
How to reduce your payback period and accelerate ROI
Shortening the Payback Period does not depend on "financial magic". It depends on moving the right levers. In practice, there are only two ways: lowering the initial outlay or increasing the attributable net flow faster. Almost always, the second path has more impact.

Three levers that actually move the timeframe
The first lever is raising purchase frequency. A coffee shop in Puebla, a gas station in the State of Mexico, or a store in Baja California recovers any investment faster when customers return sooner. It is not necessary to rely on a single large purchase. It is necessary to build repetition.
The second is increasing the ticket with commercial logic. Poorly designed coupons destroy margin. Tiered rewards, segmented campaigns, and offers linked to buying habits usually drive net flow better. In food businesses, this is worth much more than launching general discounts.
The third is attributing sales with discipline. If the business does not know which campaign, promotion, or dynamic produced the repeat purchase, it cannot optimize. Here, it is useful to delve deeper into the concept of acquisition cost, because reducing the cost of bringing in a customer and recovering that expense sooner has a direct effect on payback.
What actions usually fail
Not everything that "drives sales" improves recovery. Some practices make it worse:
Open discounts: they sell more but erode margin and delay the return.
Unsegmented campaigns: they generate noise, not profitable repeat purchases.
Long implementations: they consume time and cash before producing flow.
Superficial measurement: without clear attribution, the business believes it is recovering sooner than actually occurs.
The best project is not the one that promises the most. It is the one that returns cash quickly and measurably.
For an SME with a physical store, the most effective combination is usually simple: acquire better, retain better, and measure better. When those three pieces work together, the Payback Period stops being a concern and becomes a controllable operational goal.
Frequently asked questions about the payback period
What is a good payback period?
There is no universal number: it depends on how long the investment lasts and how long your cash flow can hold out. A simple reference is that the payback should be significantly shorter than the useful life of the equipment or project. If a machine lasts several years and you recover it in a few months, that is a good sign; if it takes almost its entire useful life to recover it, it is probably not worth it.
What is the difference between simple payback and discounted payback?
Simple payback adds flows as they arrive. Discounted payback first adjusts each flow for the time value of money (a discount rate), so it yields a longer and more realistic timeframe, especially for multi-year investments.
Does the payback period consider profits after recovering the investment?
No. That is its main limitation. To know how much the investment generates in total, also use ROI or net present value (NPV).
Is it calculated in months or years?
In whatever unit serves you, as long as you use the same one for both investment and flow. In a coffee shop or restaurant, it is usually more useful to calculate it in months.
Swirvle connects your point-of-sale terminal with the CRM and loyalty program, so you can see which customers return and how much cash flow each campaign generates, allowing you to calculate the payback of your investments with real data. Learn about Swirvle.
Related Blogs

Nov 17, 2026
How to create a loyalty program for a clothing store or boutique?

Nov 16, 2026
How to manage a coffee shop's inventory day by day?

Nov 15, 2026
Clip vs Mercado Pago: Which terminal is best for your restaurant or coffee shop in 2026?

Nov 14, 2026
Checklist: Your Coffee Shop POS Features (9 Essentials)

Nov 13, 2026
What rewards should you offer in a restaurant loyalty program? 2026

Nov 12, 2026
How to manage clothing store inventory without losing sales? 2026 Guide
