Way to establish the acid/base properties of a compound from its chemical formula?
$\hspace{4.3cm}$

Consider the two compounds above. Both have the formula $\ce{C5H10O2}$, yet one is about 20 orders of magnitude stronger an acid than the other. Without knowing the general structure of a molecule (what functional groups it is comprised of), suffice it to say no, you cannot know how acidic the molecule is.