# 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 |

### Functions

sqrt |
Square Root of a value or expression. | |
---|---|---|

sin |
sine of a value or expression | |

cos |
cosine of a value or expression | |

tan |
tangent of a value or expression | |

asin |
inverse sine (arcsine) of a value or expression | |

acos |
inverse cosine (arccos) of a value or expression | |

atan |
inverse tangent (arctangent) of a value or expression | |

sinh |
Hyperbolic sine of a value or expression | |

cosh |
Hyperbolic cosine of a value or expression | |

tanh |
Hyperbolic tangent of a value or expression | |

exp |
e (the Euler Constant) raised to the power of a value or expression | |

ln |
The natural logarithm of a value or expression | |

log |
The base-10 logarithm of a value or expression | |

floor | Returns the largest (closest to positive infinity) value that is not greater than the argument and is equal to a mathematical integer. | |

ceil | Returns the smallest (closest to negative infinity) value that is not less than the argument and is equal to a mathematical integer. | |

abs | Absolute value (distance from zero) of a value or expression | |

sign | Sign (+1 or −1) of a value or expression | |

### Constants

pi | The constant π (3.14159265...) | |
---|---|---|

e | The Euler constant (2.71828...), the base for the natural logarithm |