if the effective return is 10% above inflation, then you need to put 49 k each year so after 30 years you will get 8m.
(who can get that kind of return in 30 years consistently...)
or if it is 5% above inflation, then you will need: 120k each year to put into investment.