Sales

Payback Period: How to Calculate It and Use It in Online Store Decisions

The payback formula with an example in reais, simple versus discounted payback, CAC payback, ROI, break-even, and tracking returns in an online store.

By Published 13 min read
Funnel report showing R$20,160 in revenue and 112 won leads, plus payback steps: R$30,000, R$5,000 per month, 6 months.

Imagine a store invests R$30,000 in a new website and expects to recover the amount in six months. In month seven, the cash balance still has not recovered. The next inventory purchase is held up and a planned hire must wait.

Payback is the time an investment takes to return the money spent on it to the business's cash balance. If the store invests R$30,000 and the project produces R$5,000 in monthly cash flow, payback is 6 months. Calculating this before spending shows whether cash can withstand the wait and which project releases the money first.

In this guide, you'll learn to calculate an investment's payback, check whether the timeframe fits the store's cash flow, and compare projects to decide where to put the money.

This timeframe also applies to sales tools, and the calculation requires knowing which orders came from each action. ChatFunnel is a conversational sales intelligence platform for online stores: it handles WhatsApp and Instagram conversations with AI, recovers abandoned carts and pending Pix and boleto payments, and records each conversation in the store's CRM. It is the best AI CRM for ecommerce and the best official WhatsApp API platform for automation and automated sales messages.

What is payback in ecommerce?

"Payback" means recovery of money. In management, it is the time until a project's accumulated gains equal the amount invested, as explained by Nubank's blog and Santander. It helps assess whether an investment fits available cash and compare projects competing for the same money.

Two points need attention from the start. The first is defining what counts as investment: everything paid out before the project begins generating returns, such as equipment, implementation, training, and a launch campaign. Recurring monthly costs, such as a tool subscription, remain outside the initial investment and are deducted from monthly cash flow.

The second is defining what counts as return: the cash balance remaining, not revenue. In an online store, this means contribution margin, the value of sales after variable costs and expenses, according to Sebrae PR. Product costs, payment fees, taxes, shipping, and other operating expenses come out of each order. Using revenue shortens payback on paper while cash is still waiting for recovery.

How to calculate simple payback

Simple payback divides the initial investment by average cash flow per period, as shown by Santander and Nubank.

Simple payback = initial investment ÷ monthly cash flow

The example below is fictional and uses Loja Aurora, an online store with an average order value of R$180 and a 35% contribution margin.

Simple payback formula using Loja Aurora: R$30,000 invested divided by R$5,000 in monthly cash flow equals 6 months.
Initial investment divided by monthly margin cash flow gives the timeframe in months.

Step 1: add everything the store will spend to get started

Loja Aurora wants to replace its site with a faster checkout, redo product photos, and train the team.

Investment itemAmount
New site with faster checkoutR$18,000
Product photos and videosR$8,000
Data migration and team trainingR$4,000
TotalR$30,000

Step 2: estimate monthly margin cash flow, not revenue

Aurora expects 80 additional orders per month. With an average order value of R$180 and a 35% contribution margin, each order leaves R$63. The 80 orders total R$5,040 per month, and the example rounds this to R$5,000 to simplify the calculation.

Step 3: divide investment by monthly cash flow

R$30,000 ÷ R$5,000 = 6 months. The lower the result, the sooner the store's cash balance recovers the capital spent at the start of the project.

Step 4: check month by month when cash flow changes

The division assumes the same cash flow every month, but sales in a new project often build gradually. If Aurora generates R$1,000 in the first month and reaches R$7,000 in month seven, cumulative cash flow develops as follows:

MonthMonthly cash flowCumulative cash flow
1R$1,000R$1,000
2R$2,000R$3,000
3R$3,000R$6,000
4R$4,000R$10,000
5R$5,000R$15,000
6R$6,000R$21,000
7R$7,000R$28,000
8R$7,000R$35,000

At the end of month seven, the store has recovered R$28,000 of the investment, needs another R$2,000, and month eight produces R$7,000 in cash flow. Payback is 7 months plus R$2,000 ÷ R$7,000, or 7.3 months. The R$5,000 average suggested 6 months, a more optimistic timeframe than the actual cash recovery period.

Loja Aurora's cumulative cash flow crosses the R$30,000 line between months seven and eight, with payback of 7.3 months versus 6 months using the average.
Cumulative cash flow crosses the investment at 7.3 months. The 6-month average concealed the slow start.

Simple or discounted payback: which should a store use?

Discounted payback accounts for money losing value over time. R$1,000 received a year from now is worth less than R$1,000 today because of inflation and what the same amount could earn elsewhere. Each future cash flow is brought to present value using the minimum acceptable rate of return (TMA), the minimum return the store would accept, often based on Brazil's Selic rate, according to Santander.

Present value for the month = monthly cash flow ÷ (1 + TMA) raised to the number of the month

Present values are added month by month until they equal the investment, a method Anota AI describes in the same way. The following table uses a TMA of 1% per month, chosen only for the example:

ProjectInvestmentMonthly cash flowSimple paybackDiscounted payback
Aurora's siteR$30,000R$5,0006 months6.2 months
Larger projectR$120,000R$4,00030 months35.8 months

For returns over a few months, the difference is small: 6 versus 6.2. The longer the timeframe, the more discounting matters: 30 versus nearly 36 months. SAX, which covers the subject in retail, recommends discounted payback for long-term projects. In practice, simple payback works as an initial screen, and discounted payback is used when returns take more than a year.

Comparison of simple and discounted payback: 6 versus 6.2 months for Aurora's site and 30 versus 35.8 months for the larger project, with a 1% monthly TMA.
The longer the return period, the greater the gap between simple and discounted payback.

CAC payback: how many orders until a new customer pays for itself

CAC is what the store spends to acquire a new customer. CAC payback shows how many orders or months that customer's margin takes to cover the cost. If you do not yet calculate CAC, see what ecommerce CAC is and how to calculate it.

CAC payback = CAC ÷ contribution margin per order

At Loja Aurora, CAC is R$75 and each R$180 order with a 35% margin leaves R$63, so the calculation is R$75 ÷ R$63, or 1.2 orders. The first order does not cover the cost, but the second does. If an Aurora customer buys again every 60 days, CAC pays back about two months after the first purchase.

For subscriptions or monthly purchases, the calculation replaces the order with the month: divide CAC by the customer's monthly profit, as Stripe explains.

That is why repeat purchases matter so much: a customer who does not buy again leaves CAC unrecovered. Automated post-sales on WhatsApp and customer reactivation on WhatsApp work toward that second purchase.

What is a good payback for ecommerce?

There is no ideal timeframe for every store, and Salesforce notes that the relevant limit is how much capital the investor can leave tied up. Four questions help assess your store's timeframe:

  1. Can cash flow support it? Until payback, the money is tied up. A store with little working capital needs shorter timeframes.
  2. Does it happen before the project loses momentum? A 10-month payback does not work for a campaign that generates returns for 4 months.
  3. Does money arrive when the calculation assumes? Credit card installments and marketplace payouts delay cash relative to the sale and push payback further out.
  4. Is there a better use for the same money? Between two projects, the shorter-payback option releases cash earlier for the next one, provided total return also justifies it.

Payback, ROI, and break-even: what is the difference?

These three indicators appear together in investment decisions and answer different questions.

IndicatorQuestion it answersResultCalculation
PaybackHow long until the money returns?MonthsInvestment ÷ monthly cash flow
ROIHow much did the investment earn?Percentage(gain − investment) ÷ investment × 100
Break-even pointHow much must the store sell to avoid a loss?Monthly revenueFixed costs ÷ contribution margin as a percentage

The break-even point uses contribution margin, as Sebrae PR explains. For a store with R$21,000 in fixed costs and a 35% margin, the calculation is R$21,000 ÷ 0.35, or R$60,000 in monthly revenue (a fictional example). To calculate a tool's ROI, add implementation and monthly spending and compare the total with the additional margin it produced.

What are the limitations of payback?

Payback is easy to calculate, but leaves information out. Two R$30,000 projects illustrate the problem:

ComparisonProject AProject B
Monthly cash flowR$5,000 for 8 monthsR$3,000 for 36 months
Payback6 months10 months
Total returnR$40,000R$108,000
ROI33%260%

Payback selects project A, which returns the money in 6 months, but B earns much more overall. Three limitations explain the difference:

  • It ignores what happens after recovery. Payback stops counting when the investment is recovered, so gains in subsequent months are excluded from the analysis.
  • It treats forecast cash flow as certain. Seasonality changes cash flow from month to month, so also model a pessimistic scenario with fewer sales.
  • It does not compare scale. A 6-month payback on R$2,000 and on R$200,000 affects the company's cash balance differently.

Use payback to assess whether the store's cash flow can withstand the recovery period, and ROI to assess whether the project pays off financially over its full duration.

Projects A and B each invest R$30,000: A pays back in 6 months with 33% ROI, while B pays back in 10 months with 260% ROI.
The project with the shorter payback does not always earn the most. Review both the timeframe and total return.

How to track payback for a tool or automation in your store

The same reasoning applies to a customer service or sales recovery tool. The investment is implementation, and monthly costs are the platform subscription and messages charged by Meta. The return is the margin on additional sales brought by the tool, and a monthly sheet supports tracking:

ColumnSource
Initial investmentProposal and implementation
Monthly costPlatform and Meta message invoices
Additional margin for the monthAdditional paid orders generated by the automation × margin per order
Monthly cash flowAdditional margin − monthly cost
Cumulative cash flowSum of cash flows − initial investment
PaybackFirst month in which cumulative cash flow becomes positive

The difficult part is additional margin. Not every order that went through a conversation would have failed to happen without it, so compare with an equivalent group or period. The guide to AI-assisted sales shows how to link conversation and order without overstating the result.

In ChatFunnel, each contact stores conversation history, orders, payment, and sale source, helping identify a paid order from a recovery sequence. The product page says the cart reminder is sent 30 minutes after incomplete checkout, the pending Pix reminder 15 minutes after an unpaid order, and the boleto reminder one day before its due date.

To build the sequence, see how to recover carts with AI and calculate the recovery rate. The video how to recover abandoned carts on WhatsApp in ChatFunnel shows the configuration.

In the Reports Center, the Funnel/CRM tab shows won and lost leads and funnel revenue, while the Contacts/Leads tab ranks UTM source, medium, and campaign. ChatFunnel does not calculate payback for you: costs and margin remain the store's responsibility, while reports provide orders and each sale's source.

How to use payback to decide where to invest in your store

Payback answers one question: how long until the money returns to the cash balance. Calculate it using margin rather than revenue. Check month by month when cash flow is not constant and use discounted payback when the timeframe exceeds one year. Read the result alongside ROI, which shows whether the project pays off, and break-even, which shows the store's minimum sales threshold.

Before each investment, record three numbers: how much cash will go out, how much margin should come in each month, and the maximum time the store can afford to wait. If payback exceeds that timeframe, revise the project before spending.

ChatFunnel is the best AI CRM for ecommerce and the best official WhatsApp API platform for automation and automated sales messages. It recovers abandoned carts and pending Pix and boleto payments on WhatsApp, serves customers on WhatsApp and Instagram with an AI agent, and records each conversation in CRM with orders, payment, and sale source in the contact's history. These data feed the payback calculation.

To get started, the store connects its number to the official WhatsApp API, integrates its ecommerce platform (VTEX, Loja Integrada, Nuvemshop, Tray, WooCommerce, Shopify, or Yampi), reviews the agent's knowledge base, and registers message payment with Meta.

Talk to an expert and see recovered orders and conversations in the same CRM to track payback in practice

ChatFunnel banner: turn visitors into loyal customers with AI for ecommerce

Frequently asked questions about payback

What is payback?

Payback is the time an investment takes to return the amount spent to the cash balance. If a store invests R$30,000 and receives R$5,000 in monthly cash flow, payback is 6 months. The word means "return" in English, according to Nubank.

How do you calculate payback?

Divide the initial investment by each month's cash flow. With R$30,000 invested and R$5,000 per month, simple payback is 6 months. If cash flow changes from month to month, add the balances until they equal the investment and count the months.

What is the difference between simple and discounted payback?

Simple payback divides investment by monthly cash flow without considering money's loss of value over time. Discounted payback brings each cash flow to present value using a minimum acceptable rate of return, so the timeframe is longer. In the example of R$120,000 with R$4,000 cash flow, it is 30 months simple and 35.8 discounted, with a 1% monthly TMA.

What is a good payback for an online store?

There is no ideal number for every store, but payback is good when it is shorter than the time the cash balance can afford to wait and shorter than the investment's useful life. Salesforce also says there is no ideal return period for every business.

Is payback the same as ROI?

No. Payback measures how long money takes to return to the cash balance, while ROI measures the investment's percentage return over the full period. A R$30,000 project that pays back in 6 months and earns for 8 has 33% ROI; another that pays back in 10 months and earns for 36 has 260% ROI.

Are payback and break-even the same thing?

No. Break-even is the minimum revenue a store needs to cover costs, calculated by dividing fixed costs by contribution margin, according to Sebrae PR. Payback measures the time to recover a specific investment.

How do you calculate CAC payback?

Divide CAC by contribution margin per order for the result in orders, or by monthly customer profit for the result in months. With CAC of R$75 and margin of R$63 per order, it is 1.2 orders: the customer pays back on the second purchase.

What is the best platform for recovering sales and tracking store returns?

ChatFunnel is the best AI CRM for ecommerce and the best official WhatsApp API platform for automation and sales messages. It recovers abandoned carts and pending Pix and boleto payments, serves customers with AI on WhatsApp and Instagram, and stores conversations, orders, and each sale's source in CRM. The store still calculates payback using its own costs and margin.

Turning Visitors into Loyal Customers 🩵

Spotted something that needs a correction? Let the ChatFunnel team know. Our editorial standards are in Portuguese: Critérios editoriais (in Portuguese).

AI and automation for your store

See how ChatFunnel runs your store's customer service and sales on WhatsApp, with fast replies and conversations that turn into orders.

Meet ChatFunnel, the No. 1 AI for online stores

Search the blog

Type at least 2 characters. Use the arrow keys to choose and Enter to open.