belun.app Blog

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.

    How it works

    1. 1
      Type or click an expression Enter the calculation in the display field — you can type it on your keyboard or tap the keys. Parentheses, powers (^), and implicit multiplication like 2pi all work.
    2. 2
      Pick degrees or radians Use the DEG / RAD switch above the keypad before using sin, cos, tan, or their inverses. The result updates instantly when you change the mode.
    3. 3
      Press = and reuse the result Hit Enter or the = key to save the calculation to the history list. Click any history entry to load it back into the display, and use MS / MR / M+ / M− to keep a running value in memory.

    Your data stays private

    All processing happens entirely in your browser. No files, text, or data are ever sent to our servers. You can disconnect from the internet and this tool will still work.

    Frequently asked questions

    Which functions does this scientific calculator support?
    Trigonometry (sin, cos, tan, sec, csc, cot), inverse trigonometry (asin, acos, atan), hyperbolic functions (sinh, cosh, tanh), logarithms (ln, log for base 10, log2), exp, square root and cube root, absolute value, rounding (round, floor, ceil), factorial with !, powers with ^, modulo with mod, and the constants pi, e, tau, and phi.
    How do I switch between degrees and radians?
    Use the DEG / RAD buttons above the keypad. In DEG mode, sin(30) returns 0.5. In RAD mode the same input is read as 30 radians and returns about −0.988. The inverse functions return their answer in whichever unit is selected.
    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 just inserts text at the cursor, so the two work together.
    What order of operations does it use?
    Standard mathematical precedence: parentheses first, then factorial, then powers (right-associative, so 2^3^2 is 512), then multiplication, division and modulo, then addition and subtraction. Implicit multiplication is supported, so 2(3+4) is 14 and 2pi is about 6.283.
    Why does 0.1 + 0.2 show as 0.3 here but 0.30000000000000004 in a programming console?
    The calculator rounds the display to 12 significant digits, which hides the tiny binary floating-point error that shows up in raw JavaScript output. The underlying arithmetic is the same IEEE 754 double precision every calculator app uses.
    Do my calculations leave the browser?
    No. The parser and every function run locally in JavaScript. Nothing you type is sent to a server, stored, or logged, and the tool keeps working if you go offline after loading the page.

    From the blog

    Scientific Calculator: Order of Operations, DEG vs RAD, and Memory Keys The three things that cause almost every wrong answer on a scientific calculator, and how to type expressions so they can't bite you. Read the post →

    Related tools