We investigated the magnetic anisotropy of a series of 10-nm-thick [(InyGa1-y)(1-x)Mn-x]As thin films with the Mn content x of 0.12 and with the In content y of 0.38, 0.40, 0.44, 0.48, and 0.54, grown on InP (001) substrates. The tensile-strained [(InyGa1-y)(1-x)Mn-x]As thin films with y = 0.38 - 0.44 have the easy magnetization axis perpendicular to the film plane. With the increase of y, the in-plane component of the magnetic anisotropy becomes more dominant. Using planar Hall effect measurements, we found that the compressively strained [(InyGa1-y)(1-x)Mn-x]As thin films with y = 0.48 and 0.54 have the in-plane uniaxial magnetic anisotropy along the [(1) over bar 10] direction. (C) 2008 WILEY-VCH Verlag GmbH & Co. KGaA, Weinheim.