A radiation imaging apparatus that has a detection unit that detects radiation and outputs image data determines whether or not a grid for scattered ray reduction is installed on the detection unit, and changes a radiation detection range of the detection unit based on the determination result.