Firefox can work as a mathematical calculator itself. There should be a google search box by default. You can enter formula in the field.
It also evaluates sin, cos, exponentiation, square…etc functions
But it seems that an equal sign is necessary after a formula to get it working.