An identity due to P. Cerone for the Cebysev functional is extended for Stieltjes integrals. A sharp inequality and its application in approximating Stieltjes integrals are also given.