In this work, numerical simulations are conducted to investigate the effects of Reynolds (Re) and Mach (Ma) numbers on thrust characteristics for a pitching airfoil. The results show that as Re increases, the thrust performance is improved. The inverse square root of Reynolds number is demonstrated to be a universal scaling law for both thrust coefficients and drag-to-thrust crossovers across Re=1×103∼1×106 and Ma=0∼0.3. In contrast, as Ma increases above 0.1, the thrust performance is significantly reduced, especially when Ma approaches 0.3. The thrust coefficients follow the square law of the Mach number, which also exhibits universality. Furthermore, the incompressible vortex projection method and the compressible vortex projection method are employed for thrust decomposition. Before this, the full expression of the compressible vortex projection method is derived. It is revealed that as Re increases, the improvement of thrust performance is primarily attributed to the reduced flow viscous effect and, meanwhile, benefits from the formation of more intense boundary layers and vortex structures in near wake. As Ma increases, the enhancement of local flow compressibility ultimately leads to the divergence of added mass drag and thereby reduces the thrust performance.