A measurement apparatus is provided, which includes a magnetic sensor array formed by three-dimensionally arranging a plurality of magnetic sensor cells each including a magnetic sensor, and capable of detecting an input magnetic field in three axial directions; a measurement data acquiring section that acquires a plurality of measurement values based on the input magnetic field detected by the magnetic sensor array; a magnetic field calculating section that calculates the input magnetic field based on the measurement values; an error calculating section that calculates a detection error of the input magnetic field, based on the plurality of measurement values and a calculation result obtained by calculating the input magnetic field; and a measurement data selecting section that selects a plurality of measurement values to be used for calculating the input magnetic field by the magnetic field calculating section, from among the plurality of measurement values, based on the detection error.