why prokaryotic ribosomes have 30s and40s subunits and eukaryotic ribosomes have 40sand 60s subunits?
I think I can get the point after your second comment. 

Not only protein composition, but rRNA composition and sequence length of Bacterial and Eukaryotic ribosome is very different. And the difference of sequence lengths (and hence mass) in both take part in the difference.