In this study, the gamma and neutron interaction parameters of deoxyribonucleic acid and ribonucleic acid nucleobases such as adenine, cytosine, guanine, thymine, and uracil were estimated and compared to those of water. The present calculated mass attenuation coefficient values of deoxyribonucleic acid nucleobases were compared with available simulation code values. From the data, it is observed that guanine has the highest linear attenuation coefficient values among the nucleobases and water in the energy region from 0.015 to 15 MeV. Uracil has a higher effective atomic number and equivalent atomic number values than other nucleobases in the energy region from 0.015 to 15 MeV. Among the nucleobases, uracil has lower buildup factor values, up to 200 keV. However, up to 200 keV, uracil has higher buildup factor values than water. The mass attenuation factor values for nucleobases are listed in the following order: thymine > cytosine > adenine > uracil > guanine. It has been discovered that as the mass attenuation factor increases, the hydrogen wt% of nucleobases also increases.