This fixed annual withdrawal is an annuity (much like the annuities you can buy from an insurance company), and there’s a technical formula (called the present value formula for an annuity) for calculating how much you’d need to start with to generate a given annuity.