Lisa's comment about weighing yourself before and after a ride is really the only way to truly calculate your need for hydration.
It's called doing a sweat test. Take your nude body weight before you go out for a ride. Also weigh your full bottles. Then go out for an hour long ride at a moderate/ hard pace.
When you return weigh yourself again and also what's left, if anything in your bottles. Your weight loss ( lets hope you didn't gain weight ) will give you your sweat rate and the amount of fluid you should consume each hour while riding.
The caveat on this is it does depend on the weather conditions but it will get you pretty close to where you need to be.
The issue with salt is a big thing here in the high desert. Salt helps your body retain water so keeping your salt levels up are very important. The difference between drinking just water and using an electrolyte or sodium enhanced drink is that water is a great thirst quencher, but not a good rehydrater. Plain water reduces your urge to drink but does not fulfill your needs for hydration.
Hypernatremia is something that has got a lot of press. But in reality is not that common. I can't remember the year but in either a Chicago or Boston marathon the aid stations mixed their drinks too diluted. So instead of taking in electrolytes runners were taking in just water. This caused plasma levels to increase while reducing sodium concentration and triggering the onset of hypernatremia in a number of runners. The Globe, New York Times & a couple of other papers got hold of the story and now we all live in fear

Keep your sodium intake at a sensible level, don't drink 3 gallons of water on a 15 mile ride and you should be ok.
To sum up ... use a sports drink that has a higher than normal sodium content in the hotter months. You can supplement your water intake with salt tablets or a product like Elete.
A good rule of thumb for hydration/ nutrition on the bike is drink every 15 mins, eat every 30 mins. And remember your not drinking or eating to catch up to your needs, your're doing it to stay ahead of your needs and stop yourself from hitting the 'wall'