In this study, a program, which will allow an automatic determination of density data by performing digital image analysis for a magnetic levitation platform used to determine the densities of microparticles, is presented. With this program, by processing the images of the magnetic levitation platform, the positions of the microparticles on the platform can be determined and the corresponding density values can be found. Thus, the densities of microparticles can be detected automatically at a resolution of 0.27 mg/mL.