Calculator (Basic & Scientific)

Free online calculator for everyday sums plus powers, sin, cos, tan, square roots, log and ln, with π, e and brackets; angles are in radians.

Runs in your browser. Files never leave your device.
0

About the Calculator (Basic & Scientific)

This free online calculator covers everyday sums and scientific maths from the on-screen buttons. Add, subtract, multiply and divide, raise numbers to a power with ^, group terms in brackets, and work out sine, cosine, tangent, square roots, base-10 logarithms (log) and natural logarithms (ln), with π and e built in. Use it for homework, for geometry and trigonometry exercises, or to check a figure before it goes into a report.

Nothing is worked out until you press =. The whole expression stays on the display, so you can check every bracket and operator before the answer replaces it. Answers are rounded to 10 decimal places, which hides the tiny binary rounding errors that would otherwise turn 0.1 + 0.2 into 0.30000000000000004.

How the calculator works out an answer

When you press =, the expression is read by a parser that follows the usual order of operations: brackets and functions first, then powers, then multiplication, division and remainder from left to right, then addition and subtraction from left to right. A number written right next to a bracket, function or constant is multiplied, so 2π means 2 × π and 3(4+1) gives 15.

Trigonometry is in radians, the unit most maths and programming work in. For degrees, multiply the angle by π ÷ 180 inside the function: sin(30 × π ÷ 180) gives 0.5. Brackets you leave open are closed for you, so sqrt(16 with no closing bracket still gives 4.

Divide by zero or take the square root of a negative number and the display shows Error, as it does for any answer that isn't a real, finite number. Press C or Delete to reset to 0, or tap a number or function button to replace the Error with a new entry.

Order:       ( )  →  sin cos tan sqrt log ln  →  ^  →  × ÷ %  →  + −
Powers:      2 ^ 10 = 1024    2 ^ 3 ^ 2 = 2 ^ 9 = 512 (worked right to left)
Degrees:     radians = degrees × π ÷ 180
Logarithms:  log(x) = log base 10 of x     ln(x) = log base e of x
Constants:   π ≈ 3.1415926536     e ≈ 2.7182818285
Remainder:   a % b = what is left after dividing a by b

Assumptions and limits

  • Angles are in radians. sin(30) is the sine of 30 radians (−0.9880316241), not of 30°.
  • The % button gives the remainder after division (17 % 5 = 2), not a percentage. For 15% of 80, enter 80 × 15 ÷ 100.
  • Answers are rounded to 10 decimal places, so results smaller than about 0.00000000005 show as 0, and tan(π ÷ 2) shows a very large number instead of Error because π can only be stored approximately.
  • A digit pressed straight after an answer is added to the end of it. Press C before a new sum, or press an operator to carry on from the answer.
  • The e button is always the constant 2.7182818285, never scientific notation: 2 e 3 means 2 × e × 3 = 16.3096909708. For 2 × 10³ enter 2 × 10 ^ 3. Very large and very small answers are written with ×10^ too, for example 2 ^ 100 = 1.2676506002×10^30 and 1 ÷ 10000000 = 1×10^-7, and they can be used in the next sum with ×, ÷, + or −.
  • A minus sign typed before a number belongs to that number before the power is applied, so − 2 ^ 2 gives 4. For −(2²) enter − (2 ^ 2), which gives −4.
  • Use the on-screen buttons; typing on a keyboard isn't supported.

Worked examples

Area of a circle with a radius of 3

Area is π × r², so multiply π by the radius twice.

π × 3 × 3 = 28.2743338823

Hypotenuse of a right-angled triangle

With sides of 3 and 4, Pythagoras says the long side is the square root of 3² + 4². The brackets inside sqrt( hold the whole sum.

sqrt(3 × 3 + 4 × 4) = 5

Compound growth with a power

£1,000 growing by 5% a year for 10 years is 1,000 × 1.05¹⁰. The ^ button raises 1.05 to the 10th power before the multiplication.

1000 × 1.05 ^ 10 = 1628.8946267774

Sine of 30 degrees

Convert the angle to radians inside the function, then compare it with the same number treated as radians.

sin(30 × π ÷ 180) = 0.5
sin(30)           = −0.9880316241   (30 radians)

How to use the Calculator (Basic & Scientific)

  1. Build the expression. Tap numbers, operators and functions; each function button opens its own bracket, like sqrt(.
  2. Press =. Close any brackets you want closed earlier; any still open at the end are closed for you.
  3. Correct or clear. Delete removes the last character; C (Clear) resets the display to 0 for the next calculation.

Frequently asked questions

Is this calculator in degrees or radians?

Radians. To find the sine, cosine or tangent of an angle in degrees, convert it inside the function by multiplying by π ÷ 180. For example, cos(60 × π ÷ 180) gives 0.5 and tan(45 × π ÷ 180) gives 1.

How do I calculate a percentage on this calculator?

Multiply and divide by 100, because the % button is the remainder operator. 15% of 80 is 80 × 15 ÷ 100 = 12, and adding 15% to 80 is 80 × 1.15 = 92. The % button itself returns what's left over after dividing, so 17 % 5 gives 2.

What is the difference between log and ln?

log is the logarithm to base 10: log(1000) = 3, because 10 × 10 × 10 = 1000. ln is the natural logarithm, to base e (about 2.71828): ln(e) = 1 and ln(10) = 2.302585093. Both show Error for 0 or a negative number.

Does it follow the order of operations (BODMAS)?

Yes. Brackets come first, then multiplication and division from left to right, then addition and subtraction. So 10 − 2 × 3 is 4, not 24, and (2 + 3) × 4 is 20. A number next to a bracket is multiplied at the same level, so 4 ÷ 2(1+1) is worked as 4 ÷ 2 × 2 = 4.

How do I work out a power or a square root?

For a power, enter the number, tap ^ and enter the exponent: 2 ^ 10 gives 1024, 5 ^ 2 gives 25 and 2 ^ −1 gives 0.5. For a square root, tap sqrt(, enter the number and press =: sqrt(144) gives 12. Other roots are fractional powers, so the cube root of 27 is 27 ^ (1 ÷ 3) = 3. A negative number inside sqrt( shows Error.

Why does my calculation show Error?

Either the expression is incomplete, for example it ends with + or ×, or the answer isn't a real, finite number: dividing by zero, the square root of a negative number, or log or ln of zero or less. Press Delete to fix the last character, or C to start again.

This tool runs entirely in your browser. What you enter or upload stays on your device and is never sent to our servers.