belun.app

Scientific Calculator — Trig, Logs, Powers, Memory

0

History

    A full scientific calculator that runs in your browser. Type an expression like 2*sin(45) + log(100) and read the answer as you type, or use the keypad for trigonometry, logarithms, powers, roots, and factorials. Switch between degrees and radians, store values in memory, and reuse anything from the history list.

    The numbers you enter are calculated locally in your browser and never sent to a server.

    Precedence traps in scientific calculator input

    A leading minus binds more loosely than a power, so a negative base needs its own brackets. Excel is the well-known outlier: =-2^2 in a cell returns 4, because Excel ranks unary minus above exponentiation. Implied multiplication sits at the same level as × and ÷, so it is evaluated left to right with them. Old textbooks disagree on that point. The TI-82 ranked implied products above division, and the TI-83 dropped the rule. Extra brackets remove the doubt.

    Typed Read as Result
    -2^2 -(2^2) −4
    (-2)^2 (-2)·(-2) 4
    2^3^2 2^(3^2) 512, not 64
    6/2(1+3) (6/2)·(1+3) 12, not 1

    Calculator memory keys MS, MR, M+ and M−

    Key Action
    MS Saves the current result, replacing what memory held
    MR Inserts the stored value into the expression
    M+ Adds the current result to memory
    M− Subtracts the current result from memory

    M+ suits a running total across separate sums. Price each line item with its own tax rate, press M+ after each one, then recall the grand total with MR.

    Frequently asked questions

    Which functions can I type that have no keypad button?
    Type them by name. The list is sec, csc and cot, the hyperbolic sinh, cosh and tanh, log2, exp, cbrt for the cube root, abs, round, floor and ceil, and the constants tau and phi. They follow the same DEG or RAD setting as the keypad trig keys.
    Can I type on my keyboard instead of clicking?
    Yes, the display is a normal text field. Type digits, operators, function names and parentheses directly, press Enter to record the result and Escape to clear. Every keypad button only inserts text at the cursor, so the two work together.
    Why does 0.1 + 0.2 show 0.3 here but not in JavaScript?
    The calculator rounds the display to 12 significant digits, which hides the tiny binary floating-point error that raw JavaScript output shows. The arithmetic itself is the same IEEE 754 double precision as in the console.

    Related tools