In this paper, we first define two functionals which are obtained using the Riemann-Stieltjes integral. Then, we establish a new companion of Ostrowski type inequalities for functions of two independent variables with bounded variation and give numerical cubature formulae for the Riemann-Stieltjes integral.