A stamping and shearing machine, used for punching angle iron, round steel, flat steel, square steel, and also for punching square hole, round hole, slotted hole, chamfer, bending etc., belongs to field of punching mechanism technology, which includes stand frame, punch slider, drive mechanism, electric-magnet control mechanism with treading type switch. A slider cavity is provided on top of stand frame foreside, and a material cutting die bed is formed corresponding to the underpart of the cavity. The punch slider is slide-adapted in the slider cavity. The drive mechanism includes electric motor, flywheel, pinion, big gear, clutch, clutch-link, camshaft. Advantages are: the drive mechanism can provides perfect punching shearing force to sliding punch, not only the defect of laborious manual operation and sheet iron shearing punching only in present technology is compensated, but also has eliminated the bewilderment of the machining-incapable of angle iron, round steel, flat steel and square steel by hydro-cylinder static pressure. The integral volume is small and presentesmobility, which provides maneuver and flexible convenience for field job location, for example building site and workshop.