Problem statement: Amines as organic molecules are able to form complexes with metals ions and this is the reason why we can use them to extract metals ions from hydrometallurgical solutions. Approach: Based on that, we have investigated the extraction of Calcium and Magnesium with N, N-dioctyl-1-octan ammonium chloride from the mixture of elements (Ca and Mg) prepared in artificial manner. We have investigated the influence of HCl concentration and salts (NaCl, NaI and CH 3 COONa) concentration in extraction of two elements (Ca and Mg) from water solutions. All extractions were done from HCl water solutions with c = 3, 6 and 9 mol L −1 and in presence of NaCl, NaI and CH 3 COONa salts, which we prepared in different concentrations. Results: Extraction of Calcium from NaCl solution move from 18-30%, from NaI solution 55-77% and from CH 3 COONa solution 50-71%. Extraction of Magnesium from NaCl solution move from 3-12%, from NaI solution 0-11% and from CH 3 COONa solution 0-8%. Conclusion: As optimal condition to separate Calcium from Magnesium is the extraction of Calcium from HCl solution with concentration 9 mol L −1 in presence of NaI with concentration of 60 g L −1 . Using these condition 77% of Calcium was in organic phase and all of magnesium remains in water phase.