The length and width of substrate doesn't matter..only its dielectric constant and thickness matters..But the size and shape of patch both matters..the thickness is usually a standard for fabrication i.e 0.0175mm..0.035mm etc..but it doesn't have significant impact on results
Thank you very much my friend for your nice answer.
In my PhD thesis I found the smallest patch thickness that is possible to achieve radiation with minimum cross-polarization level, small contribution of the non-resonant modes and symmetrical radiation pattern. Also, increasing the thickness of the ground plane that has reduced the excitation efficiencies of the non-resonant modes.
Typical sizes of a microstrip patch range from λ/2 to λ/3, and the dielectric thickness for such antennas is usually in the range of 0.003λ to 0.05λ. The relative constant εr is in the 2.5 to 3.2 range. The ground plane size is about Lg=Lp+12h and Wg=Wp+12h, where h is the dielectric thickness and g and p are refers to ground plane and patch respectively.