Portfolio diversity is calculated by assessing the distribution of assets within a portfolio. One common method is to measure the correlation between the returns of different assets. A diversified portfolio will have assets with low correlations, meaning they move independently of each other. Additionally, diversification considers the allocation of assets across various sectors, geographies, and investment types.