A tube will generally accomodate a range of tire sizes, but the wheel diameter must be a correct match. For example, I use Metzler tubes - they are a bit heavier/thicker rubber, which has its pluses and minusess.
I use Metzler # ME E18 34G front tire tube and ME F18 34G rear tire tube, though when traveling/touring I just carry a front tire tube on the bike - it will easily expand to handle anything from a 3.25 to 4.00 inch or 90/90 or 100/90 - 120/90 18 tire with a bit more air. But for a 'precise' fit, I generally run the slightly large rear tube when changing tires.
Many other tube mfgrs will have similar range of application.