Reading the three-digit code
Ceramic and film capacitors are too small to print “100 nF”, so they use a code in picofarads: two digits and then the number of zeros.
104 → 10 + 0000 = 100,000 pF = 100 nF = 0.1 µF 473 → 47 + 000 = 47,000 pF = 47 nF 221 → 22 + 0 = 220 pF
R marks a decimal point for values under 10 pF: 2R2 = 2.2 pF.
Tolerance letters
A letter after the code gives tolerance: F ±1%, G ±2%, J ±5%, K ±10%, M ±20%, Z +80/−20%. For tiny values B, C and D are ±0.1, ±0.25 and ±0.5 pF.
Voltage
The code says nothing about voltage rating. Ceramic discs are often 50 V; if a part is marked with a separate number like 1kV or 2A (a code for 100 V on film caps), check the datasheet before using it on higher voltages.