Calculator

This site has a Direct Algebra Calculator.

Click on the 'Calculator' button in the top menu to open and close the input text area.

Enter the equation with the correct input code (see below) and press 'Enter' to get the complete solution.

List of functions

NameSymbolInput Code
addition++
substraction-
multiplication×*
division÷/
multiplier (×10)Ee
power^**
piπp
Euler's numberen
natural logLNln
log base 10LOG10lg (or log)
log base 2LOG2lb
sineSINs
cosineCOSc
tangentTANt
arcsineASINas
arccosineACOSac
arctangentATANat
opening parenthesis(«
closing parenthesis)»
infinity
not a numberNaN
number too largeInfiniNaN

Input code is not case sensitive.

Trigonometry is calculated in degrees.

Missing opening and closing parenthesis are completed automatically. For example:

1+1»/«2+2
(1 + 1) ÷ (2 + 2) =
2 ÷ (2 + 2) =
2 ÷ 4 =
0.5

Implied multiplication are completed automatically. For example:

«2p+3n»«2s30+3ac0.5»
(2 × π + 3 × e) × (2 × SIN30 + 3 × ACOS0.5) =
(2 × 3.141592653589793 + 3 × e) × (2 × SIN30 + 3 × ACOS0.5) =
(2 × 3.141592653589793 + 3 × 2.718281828459045) × (2 × SIN30 + 3 × ACOS0.5) =
(2 × 3.141592653589793 + 3 × 2.718281828459045) × (2 × SIN30 + 3 × 59.99999999999999) =
(2 × 3.141592653589793 + 3 × 2.718281828459045) × (2 × 0.49999999999999994 + 3 × 59.99999999999999) =
14.438030792556722 × (2 × 0.49999999999999994 + 3 × 59.99999999999999) =
14.438030792556722 × 180.99999999999997 =
2613.283573452766

Although not an intended function, the calculator will solve most series of + and −. For example:

3+--+-3
3 + − − + − 3 =
3 − 3 =
0

All calculations are correct, but input is not completely 'idiot proof'. For very complicated equations, verify detailed calculations. If the input text area freezes, reload page to reinitialize.

Function priority

Functions are solved in this order:

  • ( ) [« »]
  • π [p]
  • e [n]
  • ^ [**]
  • ASIN [as]
  • ACOS [ac]
  • ATAN [at]
  • SIN [s]
  • COS [c]
  • TAN [t]
  • LOG10 [lg or log]
  • LOG2 [lb]
  • LN [ln]
  • × and ÷ [* and /]
  • + and − [+ and -]