🧮

Universal Math Calculator

Expression evaluation, scientific functions, equation solving, base conversion and statistics
Math 📂 Calculator 👤 ToolWorld 🏷️ v1.2.0
Loading...
Expression Type a formula and evaluate it

Equation Solver Quadratic / cubic ax²+bx+c=0 · ax³+bx²+cx+d=0

Linear system 2x2 / 3x3 simultaneous equations

Base Converter Integer bases 2-36
Calculus & Series Integral, derivative, summation, product, root, limit

Statistics Common metrics for a list
Complex Numbers Arithmetic, power, modulus, argument

Matrix Tools Determinant, transpose, inverse, multiply, eigenvalues

Functions & Reference Supported constants and functions

Constants

π = 3.14159… · e = 2.71828… · φ = 1.61803…

Functions

abs sqrt cbrt exp ln log log2 log10 sin cos tan asin acos atan atan2 asinh acosh atanh sinh cosh tanh gamma erf sinc floor ceil round trunc fact comb perm gcd lcm min max rand

Example expressions

2^10 · sqrt(144)+2^5 · 7! · comb(10,3) · sin(30)+cos(60) · log(1000) · gcd(48,36) · gamma(0.5) · erf(1)

Note

Use * for multiplication; switch deg/rad in the top-left panel; factorial and combinations accept non-negative integers only

How to Use

📖 What this does


This is a math calculator that runs entirely in your browser, no network needed. Type an expression and it evaluates it: plain arithmetic, powers, roots, logarithms, trigonometry, factorials, combinations, permutations and greatest common divisors are all understood. Three extra tools are bundled: a quadratic equation solver, integer base conversion between any bases from 2 to 36 (big integers included), and statistics for a list of numbers (count, sum, mean, median, mode, range, variance and standard deviation). It is handy for checking homework answers, quick calculations while coding, or any time you need a result without opening a desktop calculator.

✨ Features


  • Full expression parsing: addition, subtraction, multiplication, division, powers (^), modulo (%), nested parentheses and unary minus are handled with correct operator precedence, so you can paste a whole formula and get one answer.
  • Scientific functions: absolute value, square and cube root, exponential, natural log, base-10 log, base-2 log, plus sine, cosine, tangent and their inverses, and hyperbolic functions.
  • Degrees / radians switch: trig functions default to degrees; flip to radians and everything follows. Inverse trig results (asin, acos, atan) use the same mode.
  • Combinatorics and number theory: factorial (n!), combinations C(n,k), permutations P(n,k), greatest common divisor and least common multiple work on integer input.
  • Equation and base tools: enter coefficients to solve quadratic equations (complex roots shown for a negative discriminant) and cubic equations (Cardano's formula, complex and repeated roots included); integers convert between any bases from 2 to 36.
  • Linear systems: type one equation per line for 2×2 or 3×3 systems; Gaussian elimination returns the unique solution and detects no-solution / infinitely-many-solutions cases automatically.
  • List statistics: paste a list of numbers separated by commas or spaces and get count, sum, mean, median, mode, range, variance and standard deviation in one click.
  • Calculus & numeric methods: definite integral (adaptive Simpson), numerical derivative (central difference), summation Σ and product Π (k from lower to upper bound), Newton root finding and limits (numerical extrapolation), all computed in radians.
  • Complex numbers: addition, subtraction, multiplication, division and powers, plus modulus, argument, conjugate and polar form.
  • Matrix tools: 2×2 and 3×3 determinants, transpose, inverse, matrix multiplication and 2×2 / 3×3 eigenvalues (complex eigenvalues included).

🛠 How to use


  1. Type an expression in the Expression box, for example sqrt(144)+2^5 or 7!, then press Calculate or hit Enter to get the result.
  2. Or use the on-screen keypad: digits, operators, parentheses, power, factorial, pi and e are one tap away; C clears, the backspace key deletes the last character, and common functions sit in the row below.
  3. Before using trig functions, check whether Degrees or Radians is selected on the right; inverse trig output follows the same mode.
  4. For Equation Solver, fill a, b, c in the upper section to solve a quadratic (a = 0 falls back to linear) and a, b, c, d in the lower section then press Solve Cubic; for Linear System type one equation per line (e.g. 1,2,3 means x+2y=3) — two lines solve a 2×2 system, three lines a 3×3 system.
  5. For Base Conversion, enter an integer, pick the source and target bases and press Convert; results list binary, octal, decimal, hexadecimal and base 36 at once. For Statistics, enter numbers separated by commas or spaces and press Stats.
  6. In Calculus & Series, type the function (use x or k as the variable), fill lower/upper bounds for the integral or sum, and use the initial value for the derivative point, Newton start or limit approach; in Complex Numbers fill the real and imaginary parts of two numbers and pick an operation; in Matrix Tools separate rows with semicolons and columns with commas — the eigenvalue button auto-detects 2×2 and 3×3.

⚠️ Notes


  • Use * for multiplication: implicit multiplication is not supported. Write 2*pi instead of 2pi and 3*(4+2) instead of 3(4+2), otherwise you get a syntax error.
  • Function names are lowercase English: sqrt, ln, sin and gcd must be typed in lowercase; Chinese or uppercase names are treated as unknown functions. When in doubt, tap the function key on the keypad.
  • Factorial and combinatorics limits: factorial accepts non-negative integers only, and anything above 170! overflows the floating-point range; C(n,k) and P(n,k) need non-negative integers with k ≤ n.
  • Division by zero and domain: dividing or taking modulo by 0 shows an error, as do the square root of a negative number and the logarithm of a non-positive value. Check your input first.
  • Base conversion is integer-only: decimals are rejected. In Statistics, any non-numeric token in the list triggers an error, so separate numbers with commas or spaces only.
  • Numeric methods use radians: trig inside the calculus panel is always interpreted in radians, independent of the deg/rad switch; integrating a function with a singularity (e.g. 1/x) may diverge.
  • System format: each line of a linear system must hold the coefficients and constant for 2 or 3 variables, and the number of lines must be 2 or 3; a singular coefficient matrix means no solution or infinitely many solutions, which the tool detects automatically.
  • Limits are numeric: the Limit button approximates by step-size extrapolation, suited to 0/0 forms and continuous functions; near genuine discontinuities or oscillating divergence the value may be unreliable, so cross-check with the graph or theory.
  • Matrix limits: determinant and inverse work on 2×2 and 3×3 square matrices only; a singular matrix has no inverse; multiplication requires the left matrix's columns to equal the right matrix's rows.

Related

⏫︎