We use the density-functional calculations to investigate the compositional dependence of the lattice constant of (Ga,Mn)As containing various native defects. The lattice constant of perfect mixed crystals does not depend much on the concentration of Mn. The lattice parameter increases if some Mn atoms occupy interstitial positions. The same happens if As antisite defects are present. A quantitative agreement with the observed compositional dependence is obtained for materials close to a complete compensation due to these two donors. The increase of the lattice constant of (Ga,Mn)As is correlated with the degree of compensation: the materials with low compensation should have lattice constants close to the lattice constant of GaAs crystal.PACS numbers: 71.15. Ap, 71.20.Nr, 71.55.Eq Diluted magnetic III-V semiconductors (DMS), such as Ga 1−x Mn x As, combine semiconducting and ferromagnetic properties [1,2,3,4] and are attractive for applications in spin electronics. These materials have been extensively studied in the last years, both experimentally and theoretically.There is, however, still not much known about the details of the crystal structure of these materials and about the incorporation of Mn atoms. It is generally believed that in well defined samples the volume of the MnAs precipitates is reduced to zero, and that Mn simply substitutes for the host cation in a tetrahedral (zinc-blende or wurtzite) crystal structure. Only recently it was suggested [5,6] and experimentally proved [7] that a portion of Mn occupies interstitial rather than substitutional positions in the zinc-blende lattice of (Ga,Mn)As. The interstitial Mn atoms act as double donors [5,6,8,9], in contrast to Mn atoms in the substitutional positions that are known to be acceptors.Almost unnoticed remains the surprising fact that the lattice constant of (Ga,Mn)As increases with increasing concentration of Mn [10]. According to the atomic radii [11], Mn atoms are smaller (R Mn = 1.17Å) than Ga atoms (R Ga = 1.25Å) and, in the simplest approximation, the lattice constant should be expected to decrease rather than to increase. This is also a result of a recent theoretical study [12] of the structure of zinc-blende α-MnAs. According to these calculations the lattice constant of α-MnAs is smaller then the lattice constant of GaAs.On the other hand, the lattice constant of GaAs is well known to increase in the presence of As antisite defects [13,14]. The MBE-grown GaAs crystals may contain up to 1 atomic percent of these defects and a large amount of the antisite defects is expected also in (Ga,Mn)As [15]. Being donors, they have an important role in the compensation of Mn acceptors. It was also shown recently [16] that formation energy of an As antisite defect in (Ga,Mn)As decreases remarkably with the increasing content of Mn and that the concentration of As antisites should be correlated with the concentration of Mn atoms. This indirect mechanism, i.e., the increasing number of the As antisites due to the addition of Mn, could be a possible...