It can't be right, because when you look at the gear from the side, you see a triange, and you dont use the longest side length in this calculation.
I succeeded in making the helical gears by using loft cut tool instead of helical cut tool. Seems like something is off with helical cut tool or...