In this paper we will investigate a method of approximating an integral in three independent variables. The Ostrowski type inequality is established by the use of Peano kernels and improves a result given by Pachpatte.