The linear and mass attenuation coefficients of different types of soil, sand, building materials and heavy beach mineral samples from the Chittagong and Cox's Bazar area of Bangladesh were measured using a high-resolution HPGe detector and the gamma-ray energies 276.1, 302.8, 356.0, 383.8, 661.6 and 1173.2 and 1332.5 keV emitted from point sources of 133Ba, 137Cs and 60Co, respectively. The linear attenuation coefficients show a linear relationship with the corresponding densities of the samples studied. The variations of the mass attenuation coefficient with gamma-ray energy were exponential in nature. The measured mass attenuation coefficient values were compared with measurements made in other countries for similar kinds of materials. The values are in good agreement with each other in most cases.