Optimal upper bounds are given to the deviation of a function f epsilon C-N([a, b]), N epsilon N, from its averages. These bounds are of the form A .//f((N))//(infinity), where A is the smallest universal constant, i.e., the produced inequalities are sharp and sometimes are attained. This work has been greatly motivated by the works of Ostrowski (1938) and Fink (1992).