Skip to content
Statculator

Math Calculator: Scientific, Percentage & Rounding

Free online math calculator: evaluate expressions with powers, roots, logs and trig, then work out percentages, percent change, rounding and remainders.

Use the math calculator now

Updated · Formulas and conventions follow our methodology

In short

A math calculator works out a whole expression in one go, such as 2 × sin(30°) + √16 = 5, following the standard order of operations. The free scientific calculator below handles powers, roots, logarithms, trigonometry, factorials and percent, and the nine tools under it solve percentage problems, percent change, decimal–percent conversion, rounding and remainders, each with the formula and steps.

Type an expression with your keyboard or tap the keys, and the answer appears as you type. Switch between degrees and radians, press 2nd for inverse trig, cube roots, nPr and mod(a, b), and reuse the last answer with Ans. Your last 10 calculations stay in the history.

Full Scientific Calculator page with formulas and FAQ
Angle unit for sin, cos and tan
=5

Type with your keyboard or use the keys. Enter or = evaluates and Esc clears. You can also type sinh(x), cosh(x), tanh(x), log2(x), logb(x, base), exp(x), round(x), floor(x) and ceil(x).

History

Press = to save a calculation here. The last 10 are kept on this device; select one to load it again.

Try an example

All 10 math calculators

What this math calculator does

The calculator at the top of the page is a full scientific calculator. It reads an expression the way a maths teacher would: brackets first, then functions and exponents, then multiplication and division, then addition and subtraction, each working left to right. That is why 3 + 4 × 2² gives 19, not 196. It covers sin, cos and tan with their inverses in degrees or radians, log and ln, powers and roots, factorials, combinations and permutations, percent, absolute value, π, e and scientific notation, so it does everything a handheld calculator does for algebra, physics, chemistry or statistics homework.

For everyday arithmetic with a fixed question, a dedicated tool is quicker and shows the working. Most percentage mistakes come from the base, the number you divide by. Percent of asks for a part of a whole: 15% of 80 is 12. Percentage change divides by the old value, so 80 to 100 is a 25% increase while 100 back to 80 is a 20% decrease. Percentage difference divides by the average of two values when neither comes first, so 80 and 100 differ by 22.22%. The Rounding Calculator rounds by several rules, including banker’s rounding, and the Modulo Calculator returns the quotient and remainder for positive and negative numbers.

What it does not do: this is a numeric calculator, not a symbolic algebra solver. It will not solve 2x + 3 = 11 for x or simplify an expression with letters in it. It will check every step of that work, though: substitute x = 4 and 2 × 4 + 3 returns 11. For counting problems with every step shown, use the Factorial Calculator, Combination Calculator or Permutation Calculator; for statistics on a list of numbers, see Descriptive Statistics Calculators.

How to use the math calculator

  1. Pick the angle mode. Choose DEG for angles in degrees or RAD for radians. It only matters for sin, cos, tan and their inverses.
  2. Type or tap the expression. Use × or *, ÷ or /, ^ for powers and brackets wherever you want to force the order, for example 1500 × (1 + 4%)^5.
  3. Read the live answer. The result updates under the expression as you type; an unfinished bracket is closed for you when you press = or Enter.
  4. Carry on from the answer. Press an operator straight after = to continue with Ans, or start typing a number to begin a new calculation.
  5. Switch tools for fixed questions. For percent of a number, percent change, rounding or remainders, the calculators in the list above show the formula and each step.

Math calculator worked examples

Each answer below was checked in the calculator at the top of the page. Type the expression shown to see the same result.

Order of operations and a trig expression

Problem. Work out 3 + 4 × 2² and 2 × sin(30°) + √16.

  1. 01Exponents come before multiplication, and multiplication before addition.
    2² = 4
    4 × 4 = 16
    3 + 16 = 19
  2. 02In degree mode, sin(30°) is exactly one half; the square root of 16 is 4.
    2 × 0.5 + 4 = 5

Answer. 19 and 5. Adding first would give (3 + 4) × 4 = 28, which is wrong.

Compound growth with a percent

Problem. $1,500 grows by 4% a year for 5 years. What is it worth at the end?

  1. 01Each year multiplies the amount by 1 + 4% = 1.04, so five years multiply it by 1.04⁵.
    1500 × (1 + 4%)^5 = 1500 × 1.2166529 = 1824.98

Answer. About $1,824.98, a total rise of 21.67%, not 5 × 4% = 20%.

A discount, then a markup, then a remainder

Problem. A $80 price is cut by 25%, then raised by 25%. Separately, how many hours and minutes are 1,000 minutes?

  1. 01The cut and the rise apply to different bases.
    80 × (1 − 25%) = 60
    60 × (1 + 25%) = 75
  2. 02Divide by 60 and keep the remainder.
    1000 = 16 × 60 + 40
    mod(1000, 60) = 40

Answer. The price ends at $75, not $80. 1,000 minutes is 16 hours 40 minutes.

Which math calculator should I use?

If you want to…Use
If you want to evaluate a whole expression with powers, roots, logs, trigonometry or factorials
If you want a percent of a number, what percent one number is of another, or the whole from a part and its percent
If you want the percent change from an old value to a new value, whichever direction it goes
If you want the size of a rise, or want to raise a number by a percent (pay rise, price increase, markup)
If you want the size of a fall, or want to reduce a number by a percent (discount, loss, decline)
If you want to compare two values when neither is the starting point
If you want to turn a decimal or a fraction into a percent
If you want to turn a percent into a decimal or a fraction
If you want to round to decimal places, significant figures or the nearest 10, 100 or other multiple
If you want the remainder of a division, including with negative numbers
If you want a factorial, combinations or permutations with every step shown

Rounding and remainder rules, and where they come from

Two conventions trip people up because different tools follow different rules. For rounding, a value exactly halfway between two candidates either always rounds up (round half up, taught in school) or goes to the even neighbour (round half to even, or banker’s rounding). NIST’s Special Publication 811 gives the round-half-to-even rule for reporting measurements, and Python’s round() uses it too, so round(2.5) returns 2.

For remainders with negative numbers, floored division gives a result with the sign of the divisor, which is what mathematics, Python and Excel’s MOD function use: −7 mod 3 = 2. The % operator in C, Java and JavaScript truncates instead and returns −1. The calculator above uses the floored rule in mod(a, b); the Modulo Calculator shows both.

Math formulas, rounding rules and order of operations

ConceptFormula or ruleExample
Order of operationsBrackets, then exponents, then × and ÷ left to right, then + and − left to right2 + 3 × 4² = 50, but (2 + 3) × 4² = 80
Percent of a numberpart = (P / 100) × whole15% of 80 = 0.15 × 80 = 12
One number as a percent of anotherP = (part / whole) × 100%18 out of 24 = 75%
Whole from a part and a percentwhole = part / (P / 100)12 is 15% of 12 / 0.15 = 80
Percentage change(new − old) / |old| × 100%80 → 100 is +25%; 100 → 80 is −20%
Increase or decrease by a percentnew = old × (1 ± P / 100)200 raised by 15% = 230; reduced by 15% = 170
Percentage difference|a − b| / [(a + b) / 2] × 100%80 and 100: 20 / 90 = 22.22%
Decimal ↔ percentMultiply by 100 to get a percent; divide by 100 to get a decimal0.075 = 7.5%; 125% = 1.25
Round half up vs half to evenA final 5 rounds up, or to the nearest even digit (banker’s rounding)2.5 → 3 (half up) or 2 (half even); 3.5 → 4 under both
Significant figuresCount digits from the first non-zero digit0.004567 to 2 s.f. = 0.0046; 12,345 to 2 s.f. = 12,000
Modulo (floored)a mod n = a − n · ⌊a / n⌋17 mod 5 = 2; −7 mod 3 = 2 (truncated division gives −1)
Logarithmslog x = log₁₀ x, ln x = logₑ xlog 1000 = 3; ln e = 1
Factorials and combinationsn! = n × (n − 1) × … × 1; nCr = n! / (r!(n − r)!)5! = 120; nCr(5, 2) = 10

Frequently asked questions

What is a math calculator?

A math calculator evaluates a numeric expression and returns the answer, applying the order of operations for you. The one on this page is a free scientific calculator: it handles powers, roots, logarithms, trigonometry, factorials and percent, and it sits alongside dedicated tools for percentages, rounding and remainders that show each step.

Can this math calculator solve equations with x?

No. It is a numeric calculator, not a symbolic algebra solver, so it will not rearrange 2x + 3 = 11 to find x. Use it to check your working instead: substitute your answer, x = 4, and 2 × 4 + 3 returns 11, which confirms it.

Does the calculator follow the order of operations?

Yes. It works out brackets first, then functions and exponents, then multiplication and division from left to right, then addition and subtraction from left to right. So 3 + 4 × 2² = 19. Add brackets to force a different order: (3 + 4) × 2² = 28.

What is the difference between percentage change and percentage difference?

Percentage change measures how far a value has moved from a starting point and divides by the old value, so it has a direction: 80 to 100 is +25%. Percentage difference compares two values with no “before” and “after” and divides by their average, so it is the same whichever value comes first: 80 and 100 differ by 22.22%. Use the Percentage Change Calculator for the first and the Percentage Difference Calculator for the second.

What is the difference between a percent and a percentage point?

A percentage point is the plain difference between two percentages, while a percent change is relative to the starting percentage. If a rate rises from 4% to 5%, it has gone up by 1 percentage point, which is a 25% increase. Mixing the two is a common source of misleading claims.

Why does a 20% decrease followed by a 20% increase not return to the original value?

Because the two percentages apply to different bases. A 20% decrease takes 100 down to 80, and a 20% increase on 80 adds only 16, giving 96. To undo a 20% decrease you need a 25% increase, since 80 × 1.25 = 100.

How do I convert between a decimal and a percent?

Multiply a decimal by 100 to get a percent, which moves the decimal point two places to the right: 0.075 becomes 7.5%. Divide a percent by 100 to get a decimal, which moves the point two places to the left: 125% becomes 1.25. For a fraction, divide the numerator by the denominator first, so 3/8 = 0.375 = 37.5%.

What is banker’s rounding?

Banker’s rounding, or round half to even, sends a value exactly halfway between two candidates to the one whose last digit is even: 2.5 rounds to 2 and 3.5 rounds to 4. Ordinary round half up always sends a 5 upward, which pushes totals slightly upward over many values. Rounding half to even removes that bias, and it is the default in IEEE 754 floating-point arithmetic and in Python’s built-in round function. The Rounding Calculator offers both rules.

Why do calculators and programming languages disagree about −7 mod 3?

They use different definitions of the remainder for negative numbers. Floored division, used in mathematics, Python and Excel’s MOD, gives a result with the sign of the divisor, so −7 mod 3 = 2. Truncated division, used by the % operator in C, Java and JavaScript, gives a result with the sign of the dividend, so the answer is −1. The Modulo Calculator shows both.

Looking for something else? See all calculators or search the site.