Cosolvents added to aqueous solutions of biomolecules profoundly affect protein stability, as well as biochemical equilibria. Some cosolvents, such as urea and guanidine hydrochloride, denature proteins, whereas others, such as osmolytes and crowders, stabilize the native structures of proteins. The way cosolvents interact with biomolecules is crucial information required to understand the cosolvent effect at a molecular level. We present a statistical mechanical framework based upon Kirkwood-Buff theory, which enables one to extract this picture from experimental data. The combination of two experimental results, namely, the cosolvent-induced equilibrium shift and the partial molar volume change upon the reaction, supplimented by the structural change, is shown to yield the number of water and cosolvent molecules bound or released during a reaction. Previously, denaturation experiments (e.g., m-value analysis) were analyzed by empirical and stoichiometric solvent-binding models, while the effects of osmolytes and crowders were analyzed by the approximate molecular crowding approach for low cosolvent concentration. Here we synthesize these previous approaches in a rigorous statistical mechanical treatment, which is applicable at any cosolvent concentration. The usefulness and accuracy of previous approaches was also evaluated.