The aim of the paper is to get an estimation of the error of the general interpolation rule for real valued functions which have holomorphic extension on unit circle. Optimal formulas are studied.