A washing machine includes a rotary drum, a water tub, a supporting metallic part, a washing machine base, a motor, a controller, and a vibration detecting unit. The vibration detecting unit, inclusive of a differential transformer having a plurality of coils and a magnetic body, is disposed between the supporting metallic part and the washing machine base and detects a vibration of the water tub.