In this paper, we introduce [Formula: see text]-convex function, and obtain a new identity by the method called integrating by parts. Based on the identity, many Ostrowski type inequalities are presented through the Hölder’s inequality and the well-known power-mean inequality. Under certain conditions, the results we obtained can be transformed into the classical results. Of course, at the end of the paper, some examples are given to support the main results.