Type natural math expressions line by line and see each result update instantly, like working on paper. Reference earlier lines, add labels, and keep a running tally without a clunky button calculator. Everything stays in your browser.
Type one math expression per line. Each line is evaluated independently and the result appears to the right. You can reference variables defined on earlier lines.
Addition (+), subtraction (−), multiplication (×/*), division (÷//), exponentiation (^), and percentage (%). You can also write '20% of 500' or 'tax = 0.2 * price'.
Define a variable by writing 'name = expression' (e.g. 'rate = 73'). Then use the variable name in subsequent lines. Assignments do not produce a result on the right side.
Start a line with # to make it a comment. Comments are ignored by the calculator.
No. All data exists only in your browser session. Refreshing the page clears everything.
Each line is evaluated by a custom recursive-descent expression parser written in TypeScript — no eval() is used, preventing code injection. The parser supports +, −, ×, /, ^, %, 'X% of Y', and 'A + B%' percentage shortcuts. Variable assignment (name = expression) stores values in a shared scope object that persists across lines within the same session. Comments (lines starting with #) are skipped. Results are displayed in a synchronized right panel aligned per-line using matching line-height values.