Write the recurrence
The cost of recursion is the work at one node plus the cost of the calls it makes. That equation is the plan.
Depth and branching
A shallow tree with many branches can still be huge. Depth sets the stack, branching sets the total.