You might look at the specific post linked here:
FIRE in 8 years? and links therein for a start.
Your question is a little different from the one posed there, but with some algebra....
If you start working with growth in taxable accounts, see the calculations near cell A126 in the
case study spreadsheet. Again, perhaps not exactly what you would need, but a start.
Good luck!