The Human Development Index (HDI) is calculated using three main components: life expectancy, which reflects the health dimension; education, measured by mean years of schooling and expected years of schooling; and per capita income, which indicates the standard of living. These components combine to assess a country's development beyond just economic factors.