This document discusses using Grey relational analysis to optimize the parameters in rotary electrical discharge machining (EDM) of P20 steel. Experiments were conducted using an L18 orthogonal array to investigate the effects of workpiece polarity, discharge current, pulse on and off times, and tool rotational speed on material removal rate, tool wear rate, and surface roughness. Response tables and graphs were analyzed to determine the optimal parameter levels that maximize material removal rate while minimizing tool wear rate and surface roughness. Confirmation experiments validated the optimal results, demonstrating that Grey relational analysis is an effective technique for optimizing EDM process parameters.