A troy ounce is 31.1034768 grams or 0.0311034768 kilograms.