The starting point is a standard present value calculation — all future LTC and QCD costs are discounted back to today using the assumed growth rate. That gives the amount that, if left to grow untouched, would exactly cover every future obligation.
The problem is the retained pool isn't left untouched. The IRS requires minimum distributions (RMDs) from pretax accounts every year starting at age 72, 73, or 75 depending on birth year. Those withdrawals drain the account faster than growth can replenish it, so the simple present value figure isn't enough.
To find the true starting amount, the calculator uses a binary search:
The RMD adjustment is the difference between that minimum starting balance and the original present value — the extra amount needed today because RMDs will be pulling money out between now and when LTC and QCDs are needed.
QCDs play a double role here — they are a planned outflow from the retained pool, but they also satisfy RMD obligations dollar-for-dollar. This means in years where QCDs are taken, the gross RMD is first reduced by the QCD amount, and only the remaining excess RMD is an additional drain on the retained pool. You can see this in the table above: years with QCDs will show a lower Net RMD than years without.