The lower common wheat productivity and quality are major constraints in Afghanistan. The objectives of this study were to (1) quantify the effect of soil and climatic parameters on the yield and quality of common wheat and (2) investigate the response of different wheat varieties to different N and P fertilization rates, to improve the yield and quality of common wheat. Three wheat varieties (DLN7, ZRDN, and KBL13), three phosphorus levels (PL) at 60, 90, and 120 kg P2O5 ha−1, and three nitrogen ratios (NP) at 1:1, 1.25:1, and 1.5:1, respectively, in four locations (L), were evaluated. The higher average grain yield (GY), straw yield (SY), and starch yield (STY) were obtained with DLN7, followed by KBL13 and ZRDN, for all locations. As PL increased, GY, SY, protein yield (PY), and STY significantly increased in all locations. The PL significantly affected protein content (PC), gluten content (GC), and dough strength (W). The NP significantly improved PC, GC, and PY. Starch (ST), STY, and amylopectin (AP) increased significantly with increasing PL. The amylose to AP ratio increased significantly with increasing NP ratios. The findings show that at NP1/PL120, GY, SY, ST, and AP improved significantly, while at NP1.5:1/PL120, PC and GC improved significantly.