I used to carefully calculate 10 % as a base and then when feeling generous, or for extra service or because she was cute I might run it up to 15%.
Now-a-days, I am ok for money so I think about whether a buck or two on the tip makes any real difference to me. I waste or lose more than that often enough so I add it on the tip. I'm almost always over 20% and frequently significantly more.
If it's in a small restaurant and the bill is $10 throwing 2 or 3 dollars on the table doesn't hurt me and makes a big difference to someone else.