Decide what the percent applies to. Some people tip on the pre-tax subtotal. The calculator uses the bill you type, so remove tax first if that is your rule. A 20% tip on $64 is $12.80. The amount to settle is $76.80.
Split the $76.80, not the $64 and then the tip in a second conflicting way. Two people owe $38.40 each. If someone is not sharing a dish, do not force an even split; calculate the shared tip and add the individual items outside this formula.