The Sortino ratio is calculated by subtracting the minimum acceptable return from the expected return of the investment and dividing the result by the downside deviation of the investment returns. The higher the Sortino ratio, the better the risk-adjusted performance of the investment in terms of avoiding downside risk.