Is a gram customary or metric?

It is metric not customary because the usa doesnt use it

++=

Doesn't it? Oh yes it is. Almost all of the rest of world does, I'll have you know!

And so do American engineers and scientists, especially when engaged in international projects.