A notion of characteristic number of matrix Lie algebras is defined, which is devoted to distinguishing various Lie Mgebras that ~re used to generate integrable couplings of soliton equations. That is, the exact classification of the matrix Lie algebras by using computational formulas is given. Here the characteristic numbers also describe the relations between soliton solutions of the stationary zero curvature equations expressed by various Lie algebras.