An electronic device comprising: a first communication circuit configured to support communication according to a Bluetooth protocol; a second communication circuit configured to support communication according to an ultra-wideband protocol; a processor; and a memory, wherein the memory stores instructions that, when executed by the processor, cause the electronic device to: receive a first signal from a second external electronic device using the first communication circuit; transmit, to at least one first external electronic device, first quality information related to communication with the second external electronic device using the first communication circuit; receive, from the at least one first external electronic device, second quality information related to communication between the at least one first external electronic device and the second external electronic device using the first communication circuit; determine, based on the first quality information and the second quality information, a device to communicate with the second external electronic device based on the UWB protocol, from among the electronic device and the at least one first external electronic device; and communicate with the second external electronic device using the second communication circuit based on the determination. a first communication circuit configured to support communication according to a Bluetooth protocol; a second communication circuit configured to support communication according to an ultra-wideband protocol; a processor; and a memory, wherein the memory stores instructions that, when executed by the processor, cause the electronic device to: receive a first signal from a second external electronic device using the first communication circuit; transmit, to at least one first external electronic device, first quality information related to communication with the second external electronic device using the first communication circuit; receive, from the at least one first external electronic device, second quality information related to communication between the at least one first external electronic device and the second external electronic device using the first communication circuit; determine, based on the first quality information and the second quality information, a device to communicate with the second external electronic device based on the UWB protocol, from among the electronic device and the at least one first external electronic device; and communicate with the second external electronic device using the second communication circuit based on the determination. receive a first signal from a second external electronic device using the first communication circuit; transmit, to at least one first external electronic device, first quality information related to communication with the second external electronic device using the first communication circuit; receive, from the at least one first external electronic device, second quality information related to communication between the at least one first external electronic device and the second external electronic device using the first communication circuit; determine, based on the first quality information and the second quality information, a device to communicate with the second external electronic device based on the UWB protocol, from among the electronic device and the at least one first external electronic device; and communicate with the second external electronic device using the second communication circuit based on the determination.