A generalisation of inner product spaces of an inequality due to Ostrowski and applications for sequences and integrals are given.