What is an online calculator?
This is a free online calculator with two modes: a standard calculator for everyday arithmetic and a scientific calculator with trigonometry, logarithms, roots, powers and factorials. You can click the on-screen keypad or just type on your keyboard, and every calculation you confirm is saved in a history list that you can reuse. It opens ready to use, with nothing to install and no sign-up, and it works on a phone as well as on a desktop.
The calculator reads a whole expression and respects the order of operations, so 2 + 3 × 4 gives 14, not 20. The precedence, from highest to lowest, is: postfix operators (!, %, ², ³, °), powers (^, right-associative), unary minus, multiplication, division and mod (also implicit multiplication such as 2(3+4)), and finally addition and subtraction. As a result -2^2 is -4 and 2^3^2 is 512, as in mathematics.
It also understands percentages the way people use them: 200 + 10% is 220 and 200 - 10% is 180. Both the dot and the comma work as the decimal separator, so you can type 0,1 + 0,2 in Portuguese or Spanish. The result is cleaned of floating-point noise, so 0.1 + 0.2 shows 0.3 rather than 0.30000000000000004. The expression is parsed by the tool's own parser; nothing is evaluated as code and nothing leaves your browser.
How to use the calculator
- Choose standard or scientific mode.
- Type the expression with the keyboard or the on-screen keys. Digits and the operators
+ - * / ^work;×,÷and−are accepted too. - In scientific mode, choose degrees or radians for the angle before using
sin,cos,tanand their inverses. - Press Enter or
=to calculate and store the result in the history. Esc clears and Backspace deletes the last character. - Click an entry in the history to reuse its expression or insert its result.
- Use
Ansto refer to the previous result.
Examples
Order of operations
2 + 3 × 4 is 14. With parentheses, (2 + 3) × 4 is 20.
Percentages
200 + 10% gives 220 and 200 - 10% gives 180. 200 × 10% gives 20, which is 10 percent of 200.
Powers and roots
2^3^2 is 512 (read as 2^(3^2)), -2^2 is -4, and sqrt(144) is 12. 5! is 120.
Trigonometry
In degrees mode sin(30) is 0.5. In radians mode sin(pi/2) is 1.
Decimal comma and implicit multiplication
0,1 + 0,2 gives 0.3, and 2(3+4) gives 14.
Errors the calculator explains
5/0 reports that division by zero is not defined; sqrt(-1) says the square root is not defined for that value; (2+3 says the parenthesis at position 1 is never closed.
Common mistakes
- Expecting left-to-right evaluation. Multiplication and division come before addition and subtraction, as on a scientific calculator.
- Using degrees when the angle is in radians.
sin(pi/2)is 1 in radians mode and about 0.0274 in degrees mode. - Forgetting to close parentheses. The message points to the position of the one left open.
- Percent confusion.
200 + 10%adds 10 percent of 200, not 10; use200 + 10for that. - Factorial of a decimal or a large number. Factorial works with whole numbers from 0 to 170; beyond that the result does not fit in a number.
- Unknown names. Use function names such as
sin,lnorsqrt, or the constantspiande.
Frequently asked questions
Is this a scientific calculator?
Yes. Scientific mode adds sin, cos, tan and their inverses, hyperbolic functions, ln, log, log2, square and cube roots, abs, exp, floor, ceil, round, factorial and powers.
How do I calculate a percentage?
Type it as in speech: 200 + 10%. For percentage tasks such as "what percent is X of Y", use the percentage calculator.
Does it handle units or matrices?
Not in this calculator. The math expression evaluator accepts unit conversions, matrices and variables.
Are my calculations stored?
Only in your browser's history list on this page; nothing is sent to a server.
Can I use my keyboard's numeric keypad?
Yes. Digits, operators, Enter and Backspace work as you expect.