To measure a gram using a teaspoon, you can fill the spoon to its maximum capacity and level off the excess with a knife. This method works well for both powders and liquids.