Even though an atom may be smaller than another atom, it might have more mass. The mass of atoms, their size, and how they are arranged determine the density of a substance. Density equals the mass of the object divided by its volume; D = m/v. Objects with the same mass but different volume have different densities.