A magnetic sensor comprising: a substrate; a magnetic converging part that is arranged on the substrate or in the substrate and has one or more magnetic converging members; a plurality of magnetic detecting parts that are arranged in proximity of the magnetic converging members and have magnetically sensitive axes oriented parallel with a plane of the substrate; and a calculating part that calculates, from an output of the plurality of magnetic detecting parts, external magnetic fields oriented in at least two directions among: an external magnetic field oriented in a first-axis direction parallel with the plane of the substrate; an external magnetic field oriented in a second-axis direction parallel with the plane of the substrate and vertical to the first-axis direction; and an external magnetic field oriented in a third-axis direction vertical to the plane of the substrate, wherein the magnetic converging part converts, at each magnetic detecting part among the plurality of magnetic detecting parts, an external magnetic field oriented in a direction different from the magnetically sensitive-axis direction to a magnetic field oriented in the magnetically sensitive-axis direction, the each magnetic detecting part includes a plurality of magneto-resistance elements arrayed parallel with the plane of the substrate, each magneto-resistance element among the plurality of magneto-resistance elements includes a laminated-layer structure formed of: a free layer in which a magnetization direction is changed by the external magnetic field; a pinned layer with fixed magnetization; and a spacer layer provided between the free layer and the pinned layer, characterized in that a longitudinal direction of the free layer of one magneto-resistance element included in the plurality of magneto-resistance elements coincides with a longitudinal direction of the free layer of at least one magneto-resistance element adjacent to the one magneto-resistance element, and the at least one magneto-resistance element is arrayed in the longitudinal direction of the free layer of the one magneto-resistance element; wherein the magnetically sensitive-axis direction coincides with a magnetization direction of the pinned layer; wherein the free layer of the one magneto-resistance element and the free layer of the at least one magneto-resistance element are arrayed in a direction orthogonal to the magnetically sensitive axis, and have longitudinal directions in a direction orthogonal to the magnetically sensitive axis. a substrate; a magnetic converging part that is arranged on the substrate or in the substrate and has one or more magnetic converging members; a plurality of magnetic detecting parts that are arranged in proximity of the magnetic converging members and have magnetically sensitive axes oriented parallel with a plane of the substrate; and a calculating part that calculates, from an output of the plurality of magnetic detecting parts, external magnetic fields oriented in at least two directions among: an external magnetic field oriented in a first-axis direction parallel with the plane of the substrate; an external magnetic field oriented in a second-axis direction parallel with the plane of the substrate and vertical to the first-axis direction; and an external magnetic field oriented in a third-axis direction vertical to the plane of the substrate, wherein the magnetic converging part converts, at each magnetic detecting part among the plurality of magnetic detecting parts, an external magnetic field oriented in a direction different from the magnetically sensitive-axis direction to a magnetic field oriented in the magnetically sensitive-axis direction, the each magnetic detecting part includes a plurality of magneto-resistance elements arrayed parallel with the plane of the substrate, each magneto-resistance element among the plurality of magneto-resistance elements includes a laminated-layer structure formed of: a free layer in which a magnetization direction is changed by the external magnetic field; a pinned layer with fixed magnetization; and a spacer layer provided between the free layer and the pinned layer, characterized in that a longitudinal direction of the free layer of one magneto-resistance element included in the plurality of magneto-resistance elements coincides with a longitudinal direction of the free layer of at least one magneto-resistance element adjacent to the one magneto-resistance element, and the at least one magneto-resistance element is arrayed in the longitudinal direction of the free layer of the one magneto-resistance element; wherein the magnetically sensitive-axis direction coincides with a magnetization direction of the pinned layer; wherein the free layer of the one magneto-resistance element and the free layer of the at least one magneto-resistance element are arrayed in a direction orthogonal to the magnetically sensitive axis, and have longitudinal directions in a direction orthogonal to the magnetically sensitive axis.