The evolution of matter created in a heavy-ion collision depends on its initial geometry. Experimentally collision geometry is characterized with centrality. Procedure of centrality determination for the Compressed Baryonic Matter (CBM) experiment at FAIR is presented. Relation between parameters of the collision geometry (such as impact parameter magnitude) and centrality classes is extracted using multiplicity of produced charged particles. The latter is connected to the collision geometry parameters using Monte-Carlo Glauber approach.