The present invention provides a current sensor capable of sensing a
current to be detected with high precision while realizing a compact
configuration. The current sensor includes a first MR element including
element patterns disposed at a first level, a second MR element including
element patterns disposed at a second level, and a thin film coil which
winds at a third level provided between the first and second levels while
including winding body portions extending in an X axis direction in
correspondence with the element patterns of the first and second MR
elements, and which applies a current magnetic field to each of the
element patterns when a current to be detected is supplied. Therefore, by
using both of the first and second MR elements, the current magnetic
field can be detected with high sensitivity and high precision.