Two lifetimes of the same monthly amount
The payoff-first path sends the whole budget to the card until it clears, then switches to investing. The invest-first path invests from month one while the card keeps compounding interest and is paid with minimum payments.
Every month is computed the same way on both sides: the card accrues interest at APR/12, the monthly budget lands where the path sends it, and the investments earn the expected return monthly. The table prints the card balance and the invested pot along both paths, so the crossing point is visible rather than assumed.
On the invest-first side the minimum is the same rule payoff calculators use — 1% of the falling balance plus that month\u2019s interest, with a $25 floor, capped at what is owed — recalculated each month the way issuers actually bill. A budget smaller than the minimum cannot invest and still underpay the card, so nothing is invested that month.