Help!!!

Does the width of the rim and the backspacing dictate the tire size that will fit? If I change the tire wont it still be to wide due to the rim? I'll be asking at a local tire store also,thanks for all the help.