510 g x 0.001 = 0.51 kg
510 g = 0.51 kg
Multiply the value in grams by 0.001 to get kg.
Open grams to kg converter