Chemical compounds always contains its component in constant fixed ratio or in fixed percentage without depend on its source, method of preparation and mass of compound.
Therefore, percentage of oxygen is same for any mass.
Electrons are closer to the nucleus are in filled orbitals and are called core electrons. More energy which in nucleus called nuclear strOng energy to remove electron thars why its also a way harder too..