The next time you get the bill at the end of a meal, just Google it. A new tip calculator can instantly tell you how much you should leave behind, and even lets you split the bill between friends.

The search string to activate the calculator on the Web, iOS or Android is “tip for” followed by the amount. By default, it’s set to 15% split by one person, but you can adjust those parameters as you need.