Skip to content
UniKit

Calculator with history

A calculator that takes one expression per line: arithmetic, powers, factorials, parentheses and percent signs, evaluating each line, checking any "expression = result" claim and summarising duplicates in the history. Pure text processing, nothing is written to localStorage.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Input

Result

Evaluates each line and summarises duplicates in the history.

Enter a value to see the result

Lines: 0 · Unique: 0 · Repeated: 0 · Mismatched: 0

What this tool does

  • Check a report in bulk: paste one expression per line, get every result at once and verify with the expression = result form.
  • Paste several calculations in a row instead of reaching for a calculator repeatedly.
  • See which formulas you keep recomputing from the history ranking.

Example

Input

(1+2)*3
2^10
5!

Output

(1+2)*3 = 9
2^10 = 1024
5! = 120

历史记录:3 条,去重后 3 条,重复 0 条
高频算式:(1+2)*3(1 次)、2^10(1 次)、5!(1 次)

Frequently asked questions

Which operations are supported?

Arithmetic + - x /, exponentiation ^ (right-associative), factorial ! (integers 0-170), parentheses and percent. Full-width x, / and () and the CJK minus sign are accepted too.

Is % a percent sign or modulo?

Position decides: a % right after a number is a percent sign (50% becomes 0.5, 200*50% becomes 100), while a % between two operands is modulo (10 % 3 is 1).

What is the expression = result form for?

Verification. Entering 1+2=4 makes the tool compute 3 and flag it as inconsistent, and the mismatch count appears in the stats. The tolerance is 1e-9.

Is the history stored locally?

No. The tool processes text only: you paste the history and it evaluates and summarises line by line. Nothing is written to localStorage and no request is made.

Keywords:计算器带历史记录calculator表达式求值阶乘百分号

Related tools