Compare two investment plans

If I had put into in ,or put into in ,which would be worth more today?

Apple

$ ···

Vanguard S&P 500

$ ···

How it works

Each plan is worked out on its own: its money goes in on its own dates, buying at the first price on or after each date, and the shares are kept until today.

Prices are adjusted for stock splits and dividends, so dividends count as if they were reinvested. Taxes, fees and inflation are left out.

Ending with more money and growing faster aren't the same thing when the plans put in different amounts, so both are shown. The yearly rate accounts for when each dollar went in.