We have developed a method to variably induce lattice strains and to quantitatively evaluate the induced magnetic anisotropy. Both tensile and compressive strains were introduced into epitaxial films of cobalt ferrite (CFO) grown on a single crystal MgO(001) substrate using a four-point bending apparatus made of a plastic material fabricated by a 3D printer. The change in magnetic anisotropy due to bending strain can be measured quantitatively by using the conventional magneto-torque meter. The strain-induced magnetic anisotropy increased with the tensile strain and decreased with the compressive strain as expected from a phenomenological magnetoelastic theory. The magnetoelastic constant obtained from the changes in bending strains shows quantitatively good agreement with that of the CFO films with a uniaxial epitaxial strain. This signifies that the magnetoelastic constant can be evaluated by measuring only one film sample with strains applied by using the bending apparatus.