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 toolSafe 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.
Related tools
Browse all toolsMath & statistics
Quadratic & linear system solver
Solve ax² + bx + c = 0 (real and complex roots + vertex) and 2×2 or 3×3 linear equations via Gaussian elimination.
Science & engineering
Significant figures & error propagation
Count or round significant digits cleanly and propagate Gaussian measurement uncertainties (±δ) across operations.
Math & statistics
2D & 3D geometry calculator
Compute area, perimeter, Heron triangles, volume, slant height, and surface area for circles, spheres, cylinders, and cones.