A mass of hydrogen, for example, will mostly contain atoms with a single proton and no neutrons, but will have a few with one or two neutrons mixed in.
When you have over 10 23 atoms of hydrogen around, these heavier isotopes ensure that it weighs a touch more than just a gram.