Calcula

Online calculator

Basic and scientific, with history and full keyboard support. Your sums stay on your device.

0

History

Your calculations appear here. Tap one to reuse its result.

    How to use it

    Tap the keys or type: digits, + - * / ^ ( ) %, a dot or comma for decimals, Enter or = to calculate, Backspace to delete one character and Esc to clear everything. The big number already shows the result as you type; when you calculate, the sum goes into the history. You can also paste an expression with Ctrl+V.

    Scientific mode adds sine, cosine, tangent and their inverses, natural log (ln) and base-10 log (log), square and cube roots, x², xʸ, factorial, 1/x, π and e. Functions open a parenthesis: type the argument and close it with ). The Deg/Rad switch sets the unit for sin, cos, tan and the inverse functions.

    Percent like a desk calculator

    The % key depends on context, as on pocket calculators. In 100 + 10% the answer is 110, because 10% is taken of the 100. 100 − 10% gives 90. 200 × 10% gives 20. Alone, 50% is 0.5. If you only want 10% of 200, type 200 × 10%.

    Order of operations

    Powers come before multiplication and division, which come before addition and subtraction. Powers are evaluated right to left: 2^3^2 is 2^9 = 512. A leading minus applies after the power: −2^2 is −4, while (−2)^2 is 4. Implicit multiplication works: 2π, 2(3+4) and 3sin(30) are accepted.

    Precision and errors

    Computers store decimals in binary, so a raw 0.1 + 0.2 gives 0.30000000000000004. Here the result is rounded to about 12 significant digits, and the screen shows 0.3. Very large or very small numbers appear in scientific notation, such as 1.5e20.

    Instead of “NaN” or “Infinity”, the calculator says what happened: division by zero, a value outside the domain (square root of a negative number, ln of zero or a negative, arcsine of 2, tan of 90°, factorial of a negative or fractional number), a number too large (factorial above 170, for example) or an unmatched parenthesis. The expression stays on screen so you can fix it with Backspace.

    History

    The last 50 calculations are kept in the history, stored only in this browser. Tapping an entry puts its result back into the calculation so you can carry on from there. Clear erases the list.

    What it does not do

    It does not solve equations with unknowns, draw graphs, handle complex numbers or convert units. Factorial accepts only whole numbers from 0 to 170. For money that needs exact cents, check the rounding for your case: the screen shows 12 digits, not 2 decimal places.

    Frequently asked questions

    Why does 100 + 10% give 110 and not 100.1?

    The % key follows the desk-calculator convention: after an addition or subtraction, the percentage is taken of the number on the left. With multiplication and division, 10% is simply 0.1.

    How do I switch between degrees and radians?

    Open Scientific mode and use the Deg/Rad switch. In degrees sin(30) is 0.5; in radians sin(30) is −0.988. The choice is saved in your browser.

    Why does tan(90) show an error?

    The tangent of 90° does not exist (it is infinite). The calculator reports a domain error instead of showing a huge meaningless number.

    Is the history sent anywhere?

    No. It lives in your browser's local storage. If you clear the site data or use a private window, it disappears.

    Can I type a dot or a comma?

    Both work. The English page shows results with a dot; the Portuguese page uses a comma.

    What is the largest factorial?

    170! (about 7.26e306). 171! exceeds the browser's number range, and the calculator reports that the number is too large.

    Does it work offline?

    Once the page has loaded, calculations need no network. Everything is computed on your device.