Order of Operations Calculator

Type in your sum to see how to solve it step by step. Examples: 2+3*4 or 3/4*3

images/operations.js

 

 

Description

Just type in sums like these (see Order of Operations for more detail):

Examples:

  • 1+2*3
  • 7 + (6 * 5^2 + 3)
  • cos(1.2^2)+3
  • (5−3)(5+3)
  • ( −6 + √(6²−4×5×1) ) / (2×5)
  • sqrt(3^2+4^2)

You will see what the calculator thinks you entered (which may be a little different to what you typed), and then a step-by-step solution.

Note: there can be more than one way to find a solution.

The calculator is still under development and may get things wrong, so be careful!

Tree View

Press the "tree" button to see your sum as a tree. You would do the calculations from the top down ... sometimes you have a choice which calculation to do first.

All Functions

Operators

+
Addition operator
-
Subtraction operator
*
Multiplication operator
/
Division operator
^
Exponent (Power) operator
()
Parentheses (brackets)

Functions

sqrt
sin
cos
Cosine
tan
Tangent
asin
Inverse sine (arcsine)
acos
Inverse cosine (arccos)
atan
Inverse tangent (arctangent)
sinh
cosh
Hyperbolic cosine
tanh
Hyperbolic tangent
ln
The natural logarithm
log
The base-10 logarithm
abs
Absolute value (distance from zero)
deg
Convert radians to degrees
rad
Convert degrees to radians
sign
+1 for 0 or greater, otherwise −1
round
round to nearest integer
largest integer not greater than the input value
smallest integer (towards negative infinity) not less than the input value
fact
factorial function

Constants

pi
The constant π (3.14159265...)
e
Euler's number (2.71828...), the base for the natural logarithm