A one-phase excitation/two-phase output resolver, wherein, letting N denote a total number of teeth and i denote an integer equal to or greater than 1 and equal to or smaller than N, the N representing an even number, the number of turns and the winding direction of an exciting coil wound around an i-th tooth is set according to T e, i = T E max cos m e ξ i + θ 1, the number of turns and the winding direction of a cosine-phase coil wound around an i-th tooth is set according to T c, i = T S max cos m s ξ i + θ 2 + T 2 c cos m e ξ i + θ 1, and the number of turns and the winding direction of a sine-phase coil wound around the i-th tooth is set according to T s, i = T Smax sin m s ξ i + θ 2 + T 2 s cos m e ξ i + θ 1, where T Emax represents a reference number of turns of each of exciting coils, T Smax represents a first reference number of turns of each of detecting coils (17, 19) of each phase (cosine-phase coils, sine-phase coils), T 2c represents a second reference number of turns of each of the cosine-phase coils, T 2s represents a second reference number of turns of each of the sine-phase coils, m x represents a pole pair number of a rotor, m e represents a pole pair number in a magnetic flux distribution formed by exciting coils, m s represents a pole pair number in each magnetic flux distribution formed by the detecting coils (17, 19) of each phase (the cosine-phase coils, the sine-phase coils), θ 1 represents a phase of the exciting coils, θ 2 represents a phase of the detecting coils (17, 19) of each phase (the cosine-phase coils, the sine-phase coils), ξ i represents a mechanical angle of the i-th tooth (= 2π(i - 1)/N), relations m s ± m e ± m x = 0 and |m x | ≠ |2m e | hold, at least one of T 2c and T 2s is not zero, the number of turns of the cosine-phase coil is represented by the absolute value of T c,i, the winding direction of the cosine-phase coil is represented by the sign of T c,i, the number of turns of the sine-phase coil is represented by the absolute value of T s,i, and the winding direction of the sine-phase coil is represented by the sign of T s,i. T Emax represents a reference number of turns of each of exciting coils, T Smax represents a first reference number of turns of each of detecting coils (17, 19) of each phase (cosine-phase coils, sine-phase coils), T 2c represents a second reference number of turns of each of the cosine-phase coils, T 2s represents a second reference number of turns of each of the sine-phase coils, m x represents a pole pair number of a rotor, m e represents a pole pair number in a magnetic flux distribution formed by exciting coils, m s represents a pole pair number in each magnetic flux distribution formed by the detecting coils (17, 19) of each phase (the cosine-phase coils, the sine-phase coils), θ 1 represents a phase of the exciting coils, θ 2 represents a phase of the detecting coils (17, 19) of each phase (the cosine-phase coils, the sine-phase coils), ξ i represents a mechanical angle of the i-th tooth (= 2π(i - 1)/N), relations m s ± m e ± m x = 0 and |m x | ≠ |2m e | hold, at least one of T 2c and T 2s is not zero, the number of turns of the cosine-phase coil is represented by the absolute value of T c,i, the winding direction of the cosine-phase coil is represented by the sign of T c,i, the number of turns of the sine-phase coil is represented by the absolute value of T s,i, and the winding direction of the sine-phase coil is represented by the sign of T s,i.