Skip to main content
Calculators & financeLocal in browser — nothing is uploaded

Scientific & fraction calculator

Evaluate mathematical expressions using a safe recursive-descent parser (trig, logs, roots, constants) alongside exact arbitrary-precision BigInt fractions.

Scientific Expression Evaluator

Supports +, -, *, /, ^, %, !, sin, cos, tan, asin, acos, atan, sqrt, cbrt, ln, log10, exp, pow(x,y), pi, e.

= 10

Exact Integer Fraction Calculator

=

19/12

Mixed: 1 7/12 · Decimal: 1.583333

Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.

Report a problem with this tool

Safe expression parsing (no eval)

Recursive-descent grammar: Parses operator precedence, parentheses, sin/cos/tan/log/ln/sqrt/abs/factorial, pi, and e without JavaScript eval().

Exact GCD BigInt fractions: Adds, subtracts, multiplies, and divides ratios with exact greatest-common-divisor reduction.

Frequently asked questions

Does trigonometry support both Degrees and Radians?
Yes. Toggle between DEG and RAD modes above the expression input.
Can fractions overflow floating point?
Fraction numerator and denominator reductions use JavaScript BigInt arithmetic before decimal approximation.