Indoor Positioning Systems are more and more attractive research area and popular studies. They provide direct access of instant location information of people in large, complex locations such as airports, museums, hospitals, etc. Especially for elders and children, location information can be lifesaving in such complex places. Thanks to the smart technology that can be worn, daily accessories such as wristbands, smart clocks are suitable for this job. In this study, the earth's magnetic field data is used to find location of devices. Having less noise rather than other type of data, magnetic field data provides high success. In this study, with this data, a positioning model is constructed by using Artificial Neural Network (ANN). Support Vector Machines(SVM) was used to compare the results of the model with the ANN. Also the accuracy of this model is calculated and how the number of hidden layer of neural network affects the accuracy is analyzed. Results show that magnetic field indoor positioning system accuracy can reach 95% with ANN.