Selectable current limiting for a power tool. One embodiment provides a method for selectable current limiting for a power tool including determining, using a current sensor, an average current and determining whether the average current exceeds a predetermined current threshold. The method also includes determining a deviation of the average current from the predetermined current threshold and reducing a PWM duty ratio proportional to the deviation of the average current from the predetermined current threshold. The PWM duty ratio corresponds to a PWM signal provided to an inverter bridge.