To go from kilograms to grams, you must know how many grams there are in a kilogram, or how many kilograms there are in a gram.
- There are 1000 grams or 10³ grams in 1 kilogram.
- There are 0.001 kilograms or 10⁻³ kilograms in 1 gram.
To convert, set this up using unit analysis like so:

I chose to use a coefficient of 1 with the unit that has a prefix (kilograms), since this tends to make conversion easier. However, you could also set up the conversion as:

In either case, you are trying to cancel kg, therefore units in kg must be in the denominator as shown.
Answer:
2,500 grams