you divide the DPI by of the resolution of the photo.
take the highest resolution of the 20d is 3504 x 2332 and divide that by 300 DPI that would be 11.68 x 7.73, Now you can lower the DPI and get bigger prints but the qaulity/sharpness of the print won't be as high.
hope that helps...