Holding ten different tokens is not diversification if they all move together. This scorer looks at how your capital is spread across asset classes and how correlated those classes are, then condenses it into a single 0-100 diversification score with concrete concentration warnings.
How it works
Two factors drive the score. First, concentration is measured with the Herfindahl-Hirschman Index (HHI), the sum of squared allocation weights:
HHI = Σ (weightᵢ)² (weights as fractions, e.g. 0.25)
effective positions = 1 / HHI
Second, the tool estimates the average pairwise correlation of your allocation using a fixed correlation matrix between classes, where stablecoins are treated as near-uncorrelated and the volatile risk-on classes (L1, L2, DeFi, gaming) are moderately to highly correlated. The final score rewards low HHI and low average correlation:
score = 100 × (evenness factor) × (1 − avg correlation factor)
Example and tips
A portfolio that is 80 percent in one layer-1 coin and 20 percent in another
scores poorly: its HHI is high (0.68), giving roughly 1.5 effective positions,
and both classes are highly correlated. Splitting that capital across L1, L2,
DeFi, infrastructure, and a stablecoin allocation lowers the HHI toward 0.2 and
pulls the average correlation down, lifting the score sharply. Remember the
static matrix is a planning estimate — in a violent sell-off, crypto correlations
converge toward 1 and diversification offers far less protection than in calm
markets.