A radiation imaging apparatus has a camera installed on a gantry, and a method creates volume data of a subject through images of the subject photographed by the camera and calculates an optimum dose of radiation based on the volume data of the subject. The radiation imaging apparatus includes the gantry, and the camera installed on the gantry to photograph a subject.