noun
gram (g), the letter g
A1
g can mean 'gram' (unit, often written lowercase g) or 'the letter G'. As a noun it's neuter: das G, plural Gs. Plural adds -s (unusual in German). When referring to the letter, capitalized. No special preposition; written form and capitalization determine meaning (unit vs. letter).
Examples
Der Lehrer erklärte den Schülern den Buchstaben g, nachdem sie beim Lesen Schwierigkeiten gezeigt hatten.
The teacher explained the letter g to the students after they had shown difficulties with reading.
Die Packung wiegt 500 g.
The package weighs 500 grams.
Das kleine g am Ende des Wortes ist ein Buchstabe.
The small 'g' at the end of the word is a letter.
Details
Mnemonics
Picture a small 'g' next to a scale reading to remember gram.
Pronounced like English letter 'g'.
das G — letters and symbols are often neuter in German (das).
Notes
As a symbol 'g' often refers to gram; as a letter it's the name of the character G.