The below form will help you properly size your rain garden
Note: Calculation for rain garden size is a ratio derived from the Toronto Region Conservation Authority and Credit Valley Conservation LID Design Guide. It factors in a fixed depth of the rain garden, infiltration rates of native soils, void space ratio of growing medium and 24 hr period for runoff to be absorbed by the rain garden. For more details see Chapter 4 Section 4.5 Bioretention in the LID Design Guide.