An improved compensation circuit with loop compensation is disclosed. The compensation circuit can get an equivalent large capacitance by amplifying a small capacitor. Hence, the compensation circuit can get a good compensation effect with a minimum chip area, hence lower cost.