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 nowUpdated · 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.
Free online math calculator
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.
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
Expressions and scientific functions
Evaluate a full expression with powers, roots, logs, trig and factorials.
Percentage calculators
Percent of a number, percent change, increase, decrease and difference.
- Percentage CalculatorPercent of a number, what percent, the whole, percent change and percentage points.
- Percentage Change CalculatorPercent increase or decrease from an old value to a new value.
- Percentage Increase CalculatorFind the percent increase between two values, or increase a number by a percent.
- Percentage Decrease CalculatorFind the percent decrease between two values, or reduce a number by a percent.
- Percentage Difference CalculatorSymmetric percent difference between two values, relative to their average.
Decimal and percent conversion
Move between decimals, fractions and percents.
Rounding and remainders
Round to places, significant figures or a multiple, and find a mod n.
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
- Pick the angle mode. Choose DEG for angles in degrees or RAD for radians. It only matters for sin, cos, tan and their inverses.
- 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. - 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.
- Carry on from the answer. Press an operator straight after = to continue with Ans, or start typing a number to begin a new calculation.
- 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.
- 01Exponents come before multiplication, and multiplication before addition.2² = 44 × 4 = 163 + 16 = 19
- 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?
- 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?
- 01The cut and the rise apply to different bases.80 × (1 − 25%) = 6060 × (1 + 25%) = 75
- 02Divide by 60 and keep the remainder.1000 = 16 × 60 + 40mod(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
| Concept | Formula or rule | Example |
|---|---|---|
| Order of operations | Brackets, then exponents, then × and ÷ left to right, then + and − left to right | 2 + 3 × 4² = 50, but (2 + 3) × 4² = 80 |
| Percent of a number | part = (P / 100) × whole | 15% of 80 = 0.15 × 80 = 12 |
| One number as a percent of another | P = (part / whole) × 100% | 18 out of 24 = 75% |
| Whole from a part and a percent | whole = 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 percent | new = 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 ↔ percent | Multiply by 100 to get a percent; divide by 100 to get a decimal | 0.075 = 7.5%; 125% = 1.25 |
| Round half up vs half to even | A 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 figures | Count digits from the first non-zero digit | 0.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) |
| Logarithms | log x = log₁₀ x, ln x = logₑ x | log 1000 = 3; ln e = 1 |
| Factorials and combinations | n! = n × (n − 1) × … × 1; nCr = n! / (r!(n − r)!) | 5! = 120; nCr(5, 2) = 10 |
Frequently asked questions
What is a math calculator?
Can this math calculator solve equations with x?
Does the calculator follow the order of operations?
What is the difference between percentage change and percentage difference?
What is the difference between a percent and a percentage point?
Why does a 20% decrease followed by a 20% increase not return to the original value?
How do I convert between a decimal and a percent?
What is banker’s rounding?
Why do calculators and programming languages disagree about −7 mod 3?
Looking for something else? See all calculators or search the site.