The error term related to a Romberg type extrapolation scheme based on the use of an arbitrary quadrature formula is derived. A complete discussion, utilizing the known properties of the Bernoulli polynomials and their related periodic functions, is presented in the case of a repeated halving of ~he integration interval. The general expression for the error term is derived in the case of an arbitrary subdivision of the integration interval.