The ratio of two numbers can be calculated as the division of those two numbers, expressed in simplest form.
Then, to calculate the ratio of 2000g : 5kg, we express 2000g as 2 Kg, then the ratio is:
2kg/5kg = 2/5