How to define grams and kilograms in HX711?

Hello good morning
How to define grams and kilograms in HX711?
as i am did some experiment using some illogical formulas

grams = weight * 1000;

But that doesn't working.

So, any help?

Thank you!

2 posts were merged into an existing topic: How can we define kilograms and grams in arduino?