provided is a semiconductor integrated circuit including a variable resistor circuit of the small layout area , which is free from an error in resistance caused by on - state resistances of switch elements for trimming , and is also free from power supply voltage dependence and temperature dependence . the semiconductor integrated circuit including a variable resistor circuit includes : a resistor circuit including a plurality of series - connected resistors ; a selection circuit including a plurality of switch elements for selecting a connected number of the plurality of series - connected resistors ; and a control circuit for controlling on - state resistances of the plurality of switch elements . the control circuit controls the on - state resistances of the plurality of switch elements so as to obtain a predetermined ratio to a resistance of the plurality of series - connected resistors of the resistor circuit .