The data is from a different source and in different units, I want to convert the biomass from gram (g) to tkm-2 before transferring the data into the Ecopath with Ecosim software.
That is collection per unit area. You will need to know the area first, i.e. how many grams per square km? Then only will you be able to convert to tkm-2. It is possible that the area information is provided in the source.
Biomass is frequently estimated from forestry inventory merchantable volume data, particularly for purposes of comparing regional and national estimates of aboveground biomass and carbon levels. Making such estimations can be done several ways but always involves the use of either conversion factors or biomass expansion factors (or both combined) . here are related links for your inquiry: