The pH value and SO42- concentration in corrosive environment may affect mechanical property of cemented soil inturn to cause some serious damage to structure. The results of tests show that the unconfined compression strength is decreasing with the increase of H2SO4 solution concentration, increasing with the increase of pH value. The pH value is increasing and the SO42- concentration is decreasing with the increase of corrosive time. So it is concluded that compressive strength is closely rated with the pH value, SO42- concentration of corrosive environment and corrosive time. Finally a equation is set up based on the relationship of compressive strength and factors affected, which contain the reduced coefficient of compressive strength, pH value, SO42- concentration and corrosive time. The calculated and measured values are close so that the equation could be used in practical design for reference.