The calculator
A 40-year VPW at 3.5% assumed real spends $46,827 in year one from $1,000,000.
How VPW works
Each year the withdrawal is the amortisation of the current balance over the remaining years at the assumed real return. At a zero assumed return that is simply 1 / years remaining. At 3.5% real over 30 years it is about 5.44%. The Bogleheads VPW worksheet is the community reference; this page is that identity with a visible path.
Compare it with Guyton-Klinger (discrete rails) and Merton (same annuity idea, with the return implied by risk aversion).
Assumptions
One assumed return for the payout fraction, one actual return for the path. No fees, no taxes. VPW cannot exhaust the portfolio by construction if the last year spends whatever is left — a crash still cuts the income.