A generalisation of the trapezoid rule for the Riemann-Stieltjes integral and applications for special means are given.