Currently, smartphones are used in various online services such as electronic payments, stocks, and mobile banking. So far, there have been many studies to counter attacks that can occur when entering a password on a smartphone. Secure numeric keypads, which are currently popularly used, add spaces between keys or shuffle the order of keys to improve the security of existing keypads. Keypads with spaces have a problem that the location of the touched key is easily exposed to the attacker, and the method of shuffling the order of the keys can easily be exposed to the attacker when the password consists of the same number. In this paper, we propose a secure numeric keypad against password guessing attacks that can occur when entering a password on a smartphone. The proposed keypad shuffles the order of the keys and moves the touched keys to a random location so that the password composed of the same numbers is not easily exposed to the attacker. As a result, it is possible to avoid touching the same location when entering the same numbers. Therefore, the proposed keypad is strong against the password guessing attack that can occur when entering a password on a smartphone.