One Click Answers

OCACalculators

Share tool
FacebookPinterestEmail

Scientific Calculator

What is the answer to this calculation?

Type or tap a calculation and get the answer, with the steps behind it.

About this tool & how to use it

What it does

A scientific calculator with brackets, powers, roots, trigonometry in degrees or radians, logarithms, factorials, pi and e, a history list, and the steps it took.

How to use it

  1. Type the calculation in the box, or tap the keys. Brackets, powers (^), roots, sin, cos, tan, ln, log, ! and pi all work.
  2. Choose degrees or radians for angles.
  3. Read the answer. Press = or Enter to add it to the history.
  4. Press "Get a detailed answer" for the full working: tables, charts and what-if comparisons.

Type or use the keys. Brackets, powers (^), square roots, trig, logarithms, factorials (!), pi and e all work.

One click answer

Your answer will appear here.

Fill in the form and your answer appears here as you type.

Related tools

Try another answer

How we calculated this

The calculator reads your text into a tree of operations using its own parser; it never runs your text as code.

Brackets and functions are worked out first, then factorial and percent, then powers (right to left), then multiplication, division and mod, then addition and subtraction.

Every step in the detailed answer is an operation the calculator really performed, in order. Results are shown to 12 significant digits.

Formulas and details
  • Order: brackets, then ! and %, then ^ (right to left), then x / mod, then + -.
  • sin, cos and tan take degrees (converted by x pi / 180) or radians; asin, acos and atan give degrees or radians.

Assumptions

  • Numbers are 64-bit floating point, so results are accurate to about 15 digits.
  • Factorial works on whole numbers up to 170. Square roots, logarithms and inverse trig functions need valid inputs and say so when they do not get them.
  • The history is kept only on this page and disappears when you leave. Everything you enter is worked out in your browser and is never sent anywhere.

Example

Input: 2 * (3 + 4)^2 + sqrt(16)

Result: = 102. The steps: 3 + 4 = 7, 7 ^ 2 = 49, 2 × 49 = 98, sqrt(16) = 4, 98 + 4 = 102.

Questions

Why is -2^2 equal to -4?

A power is worked out before a leading minus, so it is -(2^2). Write (-2)^2 for 4.

Degrees or radians?

Use degrees for everyday angles such as 30 or 90 degrees, and radians when an angle is given in terms of pi. The detailed answer shows the other mode's result for comparison.

Why does 0.1 + 0.2 show 0.3?

Computers store tiny rounding errors. Showing 12 significant digits hides that noise.

Last reviewed 2026-10-08. Report an incorrect result

Got another question?

Free, no account. Answers show how they were worked out.