An X-ray apparatus includes an X-ray radiator configured to radiate X-rays to an object and a controller configured to acquire orientation information indicating an orientation of the X-ray radiator and motion information indicating a movement of an X-ray detector configured to detect the X-rays radiated by the X-ray radiator and select the X-ray detector based on the orientation information and the motion information.