At least with Google, if you type a mathematical expression into the search field the first result will be the answer Never tried it with Bing.