Scientific Calculator

Trig functions, logarithms, powers, and factorials, with correct operator precedence.

 
0

How to Use the Scientific Calculator

  1. Build an expression using the buttons.
  2. Switch between Deg and Rad for trig functions.
  3. Click "=" to evaluate.

Frequently Asked Questions

Does this respect the correct order of operations?

Yes — it uses a proper expression parser (not a naive left-to-right evaluation), so multiplication and division happen before addition and subtraction, exponents are evaluated right-to-left as they should be, and parentheses always take priority.

Are the trig functions in degrees or radians?

You can switch between them with the Deg/Rad toggle. In degree mode, sin(90) correctly returns 1; in radian mode, the same functions expect and interpret angles in radians instead.

What functions and constants are supported?

sin, cos, tan, sqrt, log (base 10), ln (natural log), and abs, plus the constants π and e, factorials with !, and standard +, −, ×, ÷, and ^ for powers.

Is anything I calculate sent anywhere?

No — every calculation is evaluated entirely in your browser using JavaScript, so nothing you enter is ever sent to a server.