Risk-adjusted return formulas
The formulas for each of the common risk-adjust return ratios are all pretty simple, but you'll need additional information that speaks to the risks of your particular investment in order to perform the calculations.
Here are the formulas:
Sharpe Ratio = (Investment Return - Risk-Free Rate) / Standard Deviation of Investment
Sortino Ratio = (Investment Return - Risk-Free Rate) / Downside Deviation of Investment
Treynor Ratio = (Investment Return - Risk-Free Rate) / Beta of Investment
As you can see, these formulas are all pretty similar and use mostly the same information. The risk-free rate that's generally used is that of Treasuries, since they are some of the most risk-free assets available to typical investors. The deviations and betas will have to be calculated for each asset you consider.