Tranny first gear combined with rear gear help

is there a basic formula to calculate what size first gear will be with first gear ratio and rear end ratio?