An electronic device comprising: a housing; a wireless communication circuit (595, 1310) arranged in an internal space of the housing; an antenna module which is arranged in the internal space and comprises a printed circuit board arranged in the internal space, and an array antenna comprising multiple antenna elements (510, 520, 530, 540) arranged on the printed circuit board, wherein each of the multiple antenna elements (510, 520, 530, 540) comprises a first power feeding unit which is arranged at a first point on a first virtual line passing through the center of the antenna element, and is electrically connected to the wireless communication circuit (595, 1310) through a first electric path, a second power feeding unit which is arranged at a second point on a second virtual line passing through the center of the antenna element and perpendicularly crossing the first virtual line, and is electrically connected to the wireless communication circuit (595, 1310) through a second electric path, and a third power feeding unit which is arranged at a third point on a third virtual line passing through the center of the antenna element and not matching the first virtual line or the second virtual line, and is electrically connected to the wireless communication circuit through a third electric path; and a switch arranged on the first electric path, the second electric path, and the third electric path, and electrically connecting the first power feeding unit (511, 1341) and the second power feeding unit (512, 1342) to the wireless communication circuit (595, 1310) or electrically connecting the third power feeding unit (513, 1343) to the wireless communication circuit (595, 1310), a processor operatively connected to the wireless communication circuit (595, 1310), the antenna module, and the switch, characterized in that, the processor is configured to: control the switch to electrically connect the first power feeding unit and the second power feeding unit to the wireless communication circuit (595, 1310) in case that the electronic device uses a multi-antenna communication method; and control the switch to electrically connect the third power feeding unit to the wireless communication circuit (595, 1310) in case that the electronic device uses a single antenna communication method. a housing; a wireless communication circuit (595, 1310) arranged in an internal space of the housing; an antenna module which is arranged in the internal space and comprises a printed circuit board arranged in the internal space, and an array antenna comprising multiple antenna elements (510, 520, 530, 540) arranged on the printed circuit board, wherein each of the multiple antenna elements (510, 520, 530, 540) comprises a first power feeding unit which is arranged at a first point on a first virtual line passing through the center of the antenna element, and is electrically connected to the wireless communication circuit (595, 1310) through a first electric path, a second power feeding unit which is arranged at a second point on a second virtual line passing through the center of the antenna element and perpendicularly crossing the first virtual line, and is electrically connected to the wireless communication circuit (595, 1310) through a second electric path, and a third power feeding unit which is arranged at a third point on a third virtual line passing through the center of the antenna element and not matching the first virtual line or the second virtual line, and is electrically connected to the wireless communication circuit through a third electric path; and a switch arranged on the first electric path, the second electric path, and the third electric path, and electrically connecting the first power feeding unit (511, 1341) and the second power feeding unit (512, 1342) to the wireless communication circuit (595, 1310) or electrically connecting the third power feeding unit (513, 1343) to the wireless communication circuit (595, 1310), a processor operatively connected to the wireless communication circuit (595, 1310), the antenna module, and the switch, characterized in that, the processor is configured to: control the switch to electrically connect the first power feeding unit and the second power feeding unit to the wireless communication circuit (595, 1310) in case that the electronic device uses a multi-antenna communication method; and control the switch to electrically connect the third power feeding unit to the wireless communication circuit (595, 1310) in case that the electronic device uses a single antenna communication method. control the switch to electrically connect the first power feeding unit and the second power feeding unit to the wireless communication circuit (595, 1310) in case that the electronic device uses a multi-antenna communication method; and control the switch to electrically connect the third power feeding unit to the wireless communication circuit (595, 1310) in case that the electronic device uses a single antenna communication method.