Tag macro calculator for cutting