Brazilian enterprise software has one trait that matters most: the buyer almost never leaves. A manufacturer running its general ledger, payroll, inventory, and tax filings through one ERP backbone does not wake up and rip it out. That stickiness is the investment case, and it is why I care far more about what TOTVS earns on the capital it reinvests than where the share price sat last week. This is no longer a land grab. It is a position to defend and monetize, year after year, and TOTVS sits on more than half of it.
Start with the economics. Return on equity of 18.6 percent against an operating margin of the same 18.6 percent tells you the company turns dominance into profit without leaning on the balance sheet. Gross margin sits north of 70 percent, the clearest sign of pricing power here. Subscription ERP that clients cannot easily abandon lets you hold price through inflation, and a 70 percent gross line says renewals are being paid without much resistance. Free cash flow margin near 23 percent confirms the profit is cash, not accounting theater.
Then there is the composite that matters for a software compounder. Growth plus margin lands at a Rule of 40 score of 56. Earnings are growing around 7 percent and the cash margin carries the rest. A score in the mid-50s marks a business neither buying growth at a loss nor harvesting itself into decline. It is reinvesting at a sensible rate and keeping the excess.
What I cannot see directly, and what tempers any clean reading of those numbers, is retention beneath them. The headline growth rate hides whether existing clients are expanding seat count and module footprint or merely renewing flat. Net revenue retention decides whether the next decade compounds at 7 percent or better, because expansion inside an installed base is the cheapest growth a software firm will ever buy. There is no logo-acquisition cost on an upsell. The financial services arm and the marketing platform are the obvious places where a manufacturing client already inside the core ERP gets consolidated onto more of the company’s products. If that motion is working, reported earnings understate the franchise’s true economics, because the most valuable cohorts are the oldest ones and they are diluted in the blended numbers.
The macro frame is heavier than usual. Lula’s recent decrees enforcing Supreme Court rulings on platform liability have given the national data protection authority real supervisory and enforcement teeth, and the compliance burden across Brazilian enterprise is rising. Add an October general election with the digital markets bill and AI rules still unsettled, and the political risk premium for anything tech-adjacent rises with it.
The reading cuts two ways. Clients facing new data-governance and transparency obligations need software to meet them, which pushes demand toward a domestic incumbent. The same uncertainty can also make enterprises defer IT capex until after the vote. For a business this entrenched, I lean toward demand, but the deferral risk is real through the back half of the year.
Capital allocation deserves more scrutiny than it usually gets here. The company carries around 4.86 billion reais of total debt against a net debt position of roughly 3.43 billion. In a high-rate Brazilian environment, that leverage is not free, and it raises the importance of cash conversion. The 23 percent free cash flow margin is what makes the debt load tolerable rather than alarming. It means interest is covered out of operations with room to spare, and the company can still fund the R&D and bolt-on acquisitions that built the franchise. The discount rate matters more for a recurring-revenue business than for almost any other software category, because so much of the value sits in cash flows years out. A long-duration cash stream is worth less when money is expensive, and Brazilian money is expensive.
The compounding still happens.
It is simply being valued against a stiffer hurdle than it would face in a lower-rate economy.
Now the price. Shares trade near 33 reais, down from the high 37s over three months on nothing I can identify as company-specific. No missed quarter, no guidance cut, no regulatory blow. Then a clean first-quarter beat in May, with earnings ahead of consensus on recurring-revenue strength, sent the stock up sharply in a session. The drawdown was sentiment and profit-taking. The rebound was execution reasserting itself.
The case against buying here is not the business. It is the arithmetic of paying up for quality the market already understands. Consensus fair value sits around 50 to 52 reais, well above today’s 33, which looks like room. But the market knows this is a capital compounder. The margin profile is no secret, and the dominant market share is in every model. At a multiple that already capitalizes a 56 Rule of 40 score and a defended franchise, the next ten years of compounding must clear a higher bar than raw 7 percent earnings growth implies. You are not being handed mispriced quality. You are paying a known price for a known machine, and the return depends on that machine reinvesting better than the market expects. The whole thesis rests on the installed base behaving as it has, with clients consolidating onto more products rather than churning out under margin or budget pressure.
If gross margin slips below 65 percent or net debt to EBITDA pushes past 4.5 times, the pricing-power and capital-discipline story breaks down, and the premium stops making sense. Short of that, this is a business that compounds capital quietly and has earned the right to keep doing it. The question was never whether TOTVS is good. It is whether the decade ahead clears the bar the price has already set, and that depends on retention I cannot yet measure.
Revenue: R$6.0B · Net Income: R$952M
EPS (trailing): R$1.54
P/E: 21.4x · P/B: 3.99x · ROE: 18.6%
Shares Outstanding: 618M
Tax Rate: 34% (statutory) / 17.5% (effective) · Yield: 2.06%
Analyst Target: R$52.00
Source: investidor10.com.br, Yahoo Finance · Price as of today
Figures reflect the most recent available data and may differ slightly from live market prices. · © Mathstock
