There's about 1 gram of gold in an average computer CPU.
If you're planning to extract the gold yourself then please rethink that as doing so can be fatal if you're not that knowledgeable with the chemicals that are used to extract the gold from the computer CPU's and other computer components.
It's best to sell the scrap ram as is and keep your life and health.