Calaveras County is a county in the northern portion of the U.S. state, California. As of the 2010 census, the population was 40,171. The county seat is San Andreas.