The utility model belongs to the technical field of ruler, specifically discloses a kind of ruler with rotating function, comprising: rotary connecting seat, ruler plate and pivot, the rotary connecting seat is the frame of hollow and right side opening, the front wall of rotary connecting seat is provided with angle scale;The left end of ruler plate is inserted into rotary connecting seat from the right side opening of rotary connecting seat, the rotary connecting seat is opened with the axle hole matched with pivot, and the left end of ruler plate is opened with the rotating hole rotationally connected with pivot.This scheme can draw a line by ruler plate when using, then, the ruler plate is rotated around the pivot on rotary connecting seat, after rotating to the angle required, draw another line, can realize the function of drawing angle, simultaneously do not affect the function of ruler plate length, it is more convenient to use, draw angle is accurate, and efficiency is high.