Formula

GdBi = 10 LOG10 ( η4πA / λ2)

Where,
η = Efficiency
λ = Wave Length
A = Physical Aperture Area