A current sensor comprising: a wire that has a thickness in a first direction and a width which is in a second direction perpendicular to the first direction and which is larger than the thickness; a magnetic sensor that detects a magnetic field generated by a current flowing through the wire ; at least one magnetic field shaping member that includes a soft magnetic material and that shapes the magnetic field; and a securing member that secures the wire , the magnetic sensor , and the at least one magnetic field shaping member , wherein the at least one magnetic field shaping member is a plate-shaped member extending substantially parallel to a plane perpendicular to the second direction, wherein the at least one magnetic field shaping member includes an outer surface facing the magnetic sensor, wherein a direction along the outer surface and a direction of a sensitivity axis of the magnetic sensor are substantially parallel to the first direction, wherein the securing member secures the magnetic sensor and the at least one magnetic field shaping member on a same side in the second direction relative to the wire such that the magnetic sensor and the at least one magnetic field shaping member are located close to each other, and wherein the securing member secures the wire, the magnetic sensor, and the at least one magnetic field shaping member such that the wire, the magnetic sensor, and the at least one magnetic field shaping member are kept separated from one another in the second direction while at least part of the wire , at least part of the magnetic sensor , and at least part of the at least one magnetic field shaping member are superposed on one another in the second direction, wherein the at least one magnetic field shaping member is positioned between the wire and the magnetic sensor. a wire that has a thickness in a first direction and a width which is in a second direction perpendicular to the first direction and which is larger than the thickness; a magnetic sensor that detects a magnetic field generated by a current flowing through the wire ; at least one magnetic field shaping member that includes a soft magnetic material and that shapes the magnetic field; and a securing member that secures the wire , the magnetic sensor , and the at least one magnetic field shaping member , wherein the at least one magnetic field shaping member is a plate-shaped member extending substantially parallel to a plane perpendicular to the second direction, wherein the at least one magnetic field shaping member includes an outer surface facing the magnetic sensor, wherein a direction along the outer surface and a direction of a sensitivity axis of the magnetic sensor are substantially parallel to the first direction, wherein the securing member secures the magnetic sensor and the at least one magnetic field shaping member on a same side in the second direction relative to the wire such that the magnetic sensor and the at least one magnetic field shaping member are located close to each other, and wherein the securing member secures the wire, the magnetic sensor, and the at least one magnetic field shaping member such that the wire, the magnetic sensor, and the at least one magnetic field shaping member are kept separated from one another in the second direction while at least part of the wire , at least part of the magnetic sensor , and at least part of the at least one magnetic field shaping member are superposed on one another in the second direction, wherein the at least one magnetic field shaping member is positioned between the wire and the magnetic sensor. <EOS>