This paper calculates the attenuation using a portable cosmic ray detector, Cosmicwatch. The detection was taken 1164749 times and recorded into the SiPM card. Unsatisfying, our result varies largely from other papers. However, the performance may be disturbed by changes in their usual environment. From a more accurate perspective, more regulation of the environment, such as temperature, is needed. Nevertheless, CosmicWatch is still a practical educational resource for universities.