I agree with everything that's been said. There's one thing I would like to emphasize. You cannot possibly determine the acidity of a single compound given its structure. You can however determine
relative acidities. Say, the acidity of methanol compared to ethanol.
Second, whenever you approach an acid/base problem, ask yourself "what is an acid?" Acids are proton donors. If the acidity of some alcohol is in question, write down the equilibrium of the compound in question acting like an acid:
It is easy to see now that the strength of the acid can be determined by how much the equilibrium lies to the right. That is, how wiling is it to give up a proton and thus act as an acid. This, of course can be determined by the stability of the R-O(-) species.
As an example, lets compare the acid strength of water, Methanol, and
tert-Butanol:
The best acid is the species that is most stable as a conjugate base (specie with the negative charge). Recall what stabilizes a negative charge. Negative charge is rich in electron density, so something electron-withdrawing will take away some of the negative charge and thus stabilize the structure. We know that alkyl groups
donate electron density, thus they exasperate the problem. tert-butoxide is worse off then methanol since it has more electron donating carbons. Tert-butanol is the worse acid, followed by methanol. Water is the best acid since the hydrogen in the hydroxide doesn't have any electron-donating tendencies.
Other considerations:1. The atom on which the negative charge is planted can be a factor in determining acid/base strength. Atoms that are more electronegative on the periodic table are better at "handing" the negative charge. Thus a negative charge on chlorine is more stable than a negative charge on nitrogen.
2. If you can draw resonance structures for the structure that bears the negative charge. This delocalization, this spreading out of negative character stabilizes the structure. Recall that a molecule for which you can draw multiple resonance structures for is actually the average of all of those structures. The molecule doesn't switch back and forth between structures, it
is all of those structures all at once. So if you can draw three different structures for which the negative charge is on three different atoms, each atom essentially bear (1/3) of the negative charge. This is better than one atom bearing all of the negative charge. This is the argument for why carboxylic acids are better acids than alcohols: