density = mass / volume. therefore, something with a greater density either has a larger mass or a smaller volume. Think of density as how compressed something is: more "stuff" (mass) or a smaller "space" (volume) will make whatever that material is more compressed.