A quantitative method based on the electronic portal imaging system (EPID) and film was developed for MLC position and speed testing; this method was used for three MLC types (Millennium, MLCi, and Agility MLC). To determine the leaf position, a picket fence designed by the dynamic (DMLC) model was used. The full‐width half‐maximum (FWHM) values of each gap measured by EPID and EBT3 were converted to the gap width using the FWHM versus nominal gap width relationship. The algorithm developed for the picket fence analysis was able to quantify the gap width, the distance between gaps, and each individual leaf position. To determine the leaf speed, a 0.5 × 20 cm2 MLC‐defined sliding gap was applied across a 14 × 20 cm2 symmetry field. The linacs ran at a fixed‐dose rate. The use of different monitor units (MUs) for this test led to different leaf speeds. The effect of leaf transmission was considered in a speed accuracy analysis. The difference between the EPID and film results for the MLC position is less than 0.1 mm. For the three MLC types, twice the standard deviation (2 SD) is provided; 0.2, 0.4, and 0.4 mm for gap widths of three MLC types, and 0.1, 0.2, and 0.2 mm for distances between gaps. The individual leaf positions deviate from the preset positions within 0.1 mm. The variations in the speed profiles for the EPID and EBT3 results are consistent, but the EPID results are slightly better than the film results. Different speeds were measured for each MLC type. For all three MLC types, speed errors increase with increasing speed. The analysis speeds deviate from the preset speeds within approximately 0.01 cm s−1. This quantitative analysis of MLC position and speed provides an intuitive evaluation for MLC quality assurance (QA).