Since 1 grain (gr) is approximately equal to 64.8 milligrams (mg), then 10 grains is:
10 gr * 64.8 mg/gr = 648 mg
Therefore, gr X is equal to 648 mg.