Cadmium: geological information
Cadmium ores are rare. Cadmium occurs associated with zinc ores such as sphalerite (zinc sulphide, ZnS). Greenockite (CdS) is the only mineral of any consequence which contains cadmium. Most cadmium is produced as a by-product from the extraction of zinc, copper, and lead ores.
Abundances of cadmium in various environments
In this table of abundances, values are given in units of ppb (parts per billion; 1 billion = 109), both in terms of weight and in terms of numbers of atoms. Values for abundances are difficult to determine with certainty, so all values should be treated with some caution, especially so for the less common elements. Local concentrations of any element can vary from those given here an orders of magnitude or so and values in various literature sources for less common elements do seem to vary considerably.
The chart above shows the log of the abundance (on a parts per billion scale) of the elements by atom number in our sun. Notice the "sawtooth" effect where elements with even atomic numbers tend to be more strongly represented than those with odd atomic numbers. This shows up best using the "Bar chart" option on the chart.