A refrigerator comprising: a voltage detecting unit for measuring a voltage of an input power; a rectifying and smoothing unit for rectifying and smoothing the input power; a switch unit connected to the rectifying and smoothing unit and for changing a current flow through the rectifying and smoothing unit; a compressor, an inverter converting the rectified and smoothed input power to be supplied as a driving power to the compressor, and a controller for controlling the switch unit in correspondence with a magnitude of the voltage measured by the voltage detecting unit such that the input power is rectified through the full wave rectification or the half wave rectification, depending on a comparison between the magnitude of the measured voltage and a preset reference voltage, wherein the rectifying and smoothing unit comprises: a plurality of diodes (D1-D4) for forming a bridge rectifying circuit; and a plurality of capacitors (C1, C2) connected to the diodes (D1-D4), wherein the switch unit comprises: a first terminal connected to the input power, a second terminal connected to first and second capacitor (C1, C2) of the plural capacitors; and a third terminal connected to second and fourth diodes (D2, D4) of the plural diodes to be connected serially to each other, wherein the controller is adapted to control the switch unit such that the first terminal and the third terminal are connected to each other when the voltage of the input power measured by the voltage detecting unit is greater than the reference voltage, and that the first terminal and the second terminal are connected to each other when the voltage of the input power is less than the reference voltage. a voltage detecting unit for measuring a voltage of an input power; a rectifying and smoothing unit for rectifying and smoothing the input power; a switch unit connected to the rectifying and smoothing unit and for changing a current flow through the rectifying and smoothing unit; a compressor, an inverter converting the rectified and smoothed input power to be supplied as a driving power to the compressor, and a controller for controlling the switch unit in correspondence with a magnitude of the voltage measured by the voltage detecting unit such that the input power is rectified through the full wave rectification or the half wave rectification, depending on a comparison between the magnitude of the measured voltage and a preset reference voltage, wherein the rectifying and smoothing unit comprises: a plurality of diodes (D1-D4) for forming a bridge rectifying circuit; and a plurality of capacitors (C1, C2) connected to the diodes (D1-D4), wherein the switch unit comprises: a first terminal connected to the input power, a second terminal connected to first and second capacitor (C1, C2) of the plural capacitors; and a third terminal connected to second and fourth diodes (D2, D4) of the plural diodes to be connected serially to each other, wherein the controller is adapted to control the switch unit such that the first terminal and the third terminal are connected to each other when the voltage of the input power measured by the voltage detecting unit is greater than the reference voltage, and that the first terminal and the second terminal are connected to each other when the voltage of the input power is less than the reference voltage. a plurality of diodes (D1-D4) for forming a bridge rectifying circuit; and a plurality of capacitors (C1, C2) connected to the diodes (D1-D4), wherein the switch unit comprises: a first terminal connected to the input power, a second terminal connected to first and second capacitor (C1, C2) of the plural capacitors; and a third terminal connected to second and fourth diodes (D2, D4) of the plural diodes to be connected serially to each other, wherein the controller is adapted to control the switch unit such that the first terminal and the third terminal are connected to each other when the voltage of the input power measured by the voltage detecting unit is greater than the reference voltage, and that the first terminal and the second terminal are connected to each other when the voltage of the input power is less than the reference voltage. a first terminal connected to the input power, a second terminal connected to first and second capacitor (C1, C2) of the plural capacitors; and a third terminal connected to second and fourth diodes (D2, D4) of the plural diodes to be connected serially to each other, wherein the controller is adapted to control the switch unit such that the first terminal and the third terminal are connected to each other when the voltage of the input power measured by the voltage detecting unit is greater than the reference voltage, and that the first terminal and the second terminal are connected to each other when the voltage of the input power is less than the reference voltage.