Dust acoustic solitary waves in a magnetized dusty plasma are studied taking into account the effect of dust size and dust charge variations. Using the analytical and numerical results the influence of different plasma parameters on dust acoustic solitary waves are examined. It is observed that the dust size distribution and dust charge variation has significant contribution on the characteristics of dust acoustic solitary waves.