Aileron sizing

Good day everyone, I was designning the wing for a school project and I wonder if there is any equation for defining the aileron size. I am designing a straight rectangular wing. I just found on other forums that the aileron's lenght should be 0.25 of the wingspan and the aileron chord should be 0.25 of the wing mean chord.