Evaluate a math expression
All computation runs locally in your browser

The Math evaluator computes the value of the expression you type. It’s handy for quick calculations, homework checks, and “what if?” explorations where using a full spreadsheet would be overkill.
What it can do
If you often work with a sequence of expressions, you might also like our Log calculator or Quadratic equation solver.
Quick sanity check: if a result surprises you, add parentheses and re-evaluate. Many “wrong answers” come from precedence, not from the math.
Step-by-step mini walkthrough
Example: compute .
In the input, type 2^10. The evaluator returns the result immediately.
Trigonometry sanity-check (radians)
Background: you want a known reference value. A classic check is .
Input: sin(pi/3). Output: approximately .
How to use it: if you typed sin(60) and got something unexpected, it’s because trigonometric functions use radians by default.
Quick algebra evaluation
Background: you want to evaluate a numeric expression without doing it by hand.
Inputs: .
How to apply: type sqrt(2) + 3^3/12 to get the numeric result.
Back-of-the-envelope percentage change
Inputs: original , new . Percentage change:
If you do a lot of percentage math, our Percentage increase calculator is even faster.
Homework checking
Verify an answer quickly before moving on.
Not a substitute for showing full steps in class.
Precedence confusion
Add parentheses to match your intent and test both versions.
Useful when refactoring formulas from notes into code.
Trig & constants
Compute with and common trig values.
Be careful about radians versus degrees.
One-off engineering math
Fast evaluations for quick estimates.
Double-check with domain-specific tools when stakes are high.
Quick parameter sweeps
Try different numbers and see how the result changes.
Great for intuition-building and sensitivity checks.
Checking percentage math
Avoid mistakes when converting formulas into a report.
Pair with a dedicated percentage calculator if needed.
The evaluator follows standard mathematical rules. The key idea is operator precedence (which operations run first) plus parentheses.
Precedence example
Without parentheses, multiplication happens before addition. So equals:
If you meant “add first”, use parentheses:
For trigonometry, the input angle is interpreted in radians. The degree-to-radian conversion formula is:
By default trig uses radians, so sin(30) means . If you want 30 degrees, use sin(pi/6) because .
Use ^. For example, corresponds to 2^10.
Use sqrt(x) for and abs(x) for .
Typical causes are missing parentheses, commas, or a function name typo. Simplify the expression and add parentheses around every group.
No. This evaluator runs locally in your browser.
Yes. 1e-3 means .
Important notes
Here are solid references for the underlying math and function behavior:
Estimate the time needed to consume a total amount at a constant rate, and get an expected end time. Runs locally in your browser.
Calculate simple or weighted average of multiple percentages
Solve common percentage problems: X% of Y, X is what percent of Y, and percent increase/decrease
Calculate percentage change between two values instantly
Solve quadratic equations with step-by-step solutions and visualizations
Convert fractions to percentages and vice versa instantly