This paper proposes an equipment and an algorithm for modeling the magnetic force of electromagnets in magnetic levitation systems. We assume that the magnetic force model is represented in terms of a 2D lookup table. The 2D lookup table is constructed by applying noncausal filtering and interpolation to data measured by the proposed modeling equipment. The proposed modeling equipment is designed such that it can measure the magnetic force exerted on the levitation object while it changes the voltage applied to the electromagnet and position of the levitation object. The algorithm of making a 2D lookup table has two stages. The data measured by the proposed modeling equipment is smoothed by a noncausal filter and then the 2D lookup table is obtained by interpolating filtered data. The proposed modeling method has advantages of time-saving, model consistency, and chance of automation for mass production. We show the validity of proposed method through control experiments.