An X-ray apparatus includes: a source for emitting X-rays to an object a detector for detecting the X-rays penetrating the object an arm for connecting the source to the detector and moving the detector up and down according to a rotation of the source and a controller for controlling an imaging of the object by driving the arm.