Genetic variances and covariance are calculated based on the phenotypic similarity among relatives.

The G matrix is a matrix consisting of additive genetic variances on the diagonal and covariances elsewhere.

G for n traits can thus be represented as :