Math Calculator

Add, subtract, multiply or divide two numbers, or work out a power, root, remainder, percentage or average. Pick an operation and the calculator shows the full working along with the answer, written with Indian digit grouping.


How to Use the Math Calculator

  1. Enter the first number in the "Enter First Number" field.
  2. Enter the second number in the "Enter Second Number" field.
  3. Select an operation: addition, subtraction, multiplication, division, power, root, remainder, percentage or average. The field labels change to show what each number means for that operation.
  4. Click "Calculate" to see the result instantly.

Which Number Goes First?

The calculator always works as First Number (operation) Second Number. For addition and multiplication the order does not matter, because 8 + 3 and 3 + 8 both give 11, and 8 × 3 and 3 × 8 both give 24. For subtraction and division it matters a great deal:

  • 8 − 3 = 5, but 3 − 8 = −5. Put the number you are subtracting from in the first field.
  • 12 ÷ 4 = 3, but 4 ÷ 12 = 0.333333333333333. Put the number being divided (the dividend) first and the number you are dividing by (the divisor) second.

Working With Negative Numbers and Decimals

Type a minus sign before a number to make it negative. When multiplying or dividing, the sign of the answer follows a simple rule: matching signs give a positive result, different signs give a negative result.

CalculationResultWhy
−15 + 7−8Moving 7 up from −15 still leaves you below zero
−6 − (−10)4Subtracting a negative is the same as adding 10
12.5 × −4−50Positive times negative is negative
−18 ÷ −36Negative divided by negative is positive
7 ÷ 23.5Division gives a decimal; for whole numbers the tool also shows 3 remainder 1

Quotient and Remainder

Division gives a decimal answer, and when both numbers are whole, the calculator also shows the long-division form. 17 ÷ 5 = 3.4, shown as 3 remainder 2, because 3 × 5 = 15 and 17 − 15 = 2. If you only need the remainder, choose Remainder (mod): 17 mod 5 = 2. With a negative first number the remainder keeps its sign, so −17 mod 5 = −2.

Powers, Roots, Percentages and Averages

OperationEnterAnswerEveryday use
Power (xʸ)1.08, 51.4693280768₹1 lakh growing at 8% a year for 5 years becomes about ₹1,46,933
Root (ʸ√x)144, 212A square plot of 144 sq ft has 12 ft sides
Root (ʸ√x)27, 33A cube-shaped tank of 27 cubic ft has 3 ft sides
Percentage (x% of y)18, 250045018% GST on ₹2,500 is ₹450
Average of the two numbers72, 8578.5Average of two test scores
  • A negative exponent gives a fraction: 2 ^ −3 = 0.125, which is 1 ÷ 8. A negative base with a fractional exponent has no real answer, so the calculator says so.
  • Odd roots of negative numbers work (the cube root of −27 is −3), but even roots such as the square root of −16 are not real numbers.
  • For discounts, GST and percentage change, the dedicated Percentage, Discount and GST calculators show more detail.

Lakhs, Crores and Large Numbers

Enter numbers as plain digits without commas. One lakh is 1,00,000 (100000) and one crore is 1,00,00,000 (10000000), so ₹25 lakh is entered as 2500000. Multiplying 2500000 by 12 gives 30000000, which is ₹3 crore. To convert an answer back, divide it by 100000 for lakhs or by 10000000 for crores.

Results are rounded to 15 significant digits. This removes the tiny errors that computers make when storing decimals in binary (without it, 0.1 + 0.2 would show as 0.30000000000000004 instead of 0.3), and it is far more precision than everyday sums need. For whole numbers with more than 15 digits, or for exact fractions, use a dedicated big-number or fraction tool.

Checking Your Answer

  • Use the opposite operation. If 846 − 379 = 467, then 467 + 379 should give back 846. If 945 ÷ 15 = 63, then 63 × 15 should give 945.
  • Estimate first. 49.8 × 21.3 is roughly 50 × 20 = 1000, so an answer of 1060.74 is believable while 10607.4 points to a misplaced decimal point.
  • Watch the size of the answer when dividing by a number less than 1. Dividing by 0.5 doubles a number, so 30 ÷ 0.5 = 60, not 15.

Frequently Asked Questions

Besides adding, subtracting, multiplying and dividing two numbers, it can raise a number to a power, take any root, find the remainder, work out a percentage of a number and average the two numbers. Choose the operation from the dropdown before clicking Calculate.

Yes, both input fields accept positive numbers, negative numbers, and decimals.

Division by zero is mathematically undefined, so the calculator shows a "Division by zero is not allowed!" message instead of a result.

One third has a decimal expansion that repeats forever, so any calculator has to stop somewhere. This one keeps 15 significant digits. If you multiply that result by 3 you get 0.999999999999999 rather than 1; for exact work with fractions, keep the fraction (1/3) in your working and divide only at the end.

Not in one step. Calculate the first two numbers, then enter that result as the first number and the next value as the second, and repeat. When an expression mixes operations, such as 5 + 3 × 2, do multiplication and division before addition and subtraction (the BODMAS rule): 3 × 2 = 6 first, then 5 + 6 = 11. For long expressions the Scientific Calculator is quicker.
1.0 out of 5 (1 rating)
Rate this calculator:
Was this tool helpful?