A control system for automatic counterbalancing the ram of a mechanical press by measuring energy level of the press flywheel and varying air pressure in a counterbalancing cylinder. Energy level is derived from a measurement of the rotational speed of the counterweight at a fixed point in the ram reciprocation cycle.