Here ya go,this may help in what size.How to do the formula,I have no idea.
http://www.wallaceracing.com/header_length.php