There are various types of EBG structures. The dimensions of EBG structures are obtained on an iterative basis. You need to simulate the structure using various dimensions after which you can finally arrive at your desired design goals. You may later develop an equation based on the simulation results obtained for various dimensions.