I know a number of us were calculating returns and comparing against indices recently.
Here’s an S&P 500 Return Calculator that can handle dividend reinvestments and has custom time periods and an optional inflation adjustment:
https://dqydj.com/sp-500-return-calculator/
It provides total and annualized returns.
I’m quite happy with my performance against the S&P - after about 8 years of trading on my own my oldest account (an IRA) is up about 175% compared to the S&P with DRIP. I knew nothing back then.