Math Expression Tester / Evaluator

In mathematics, an expression or mathematical expression is a finite combination of symbols that is well-formed according to rules that depend on the context.

As an example if you want to calculate simple interest then enter the expression in the text area below then click Parse Expression. Once the parameters are populated in the table then enter the values. After populating click on Evaluate Expression.

Click here to try. Show List of Constants Show List of Functions Show List of Symbols

Constant Description
E Euler's number (approx. 2.718)
LN2 Natural logarithm of 2 (approx. 0.693)
LN10 Natural logarithm of 10 (approx. 2.302)
LOG2E Base-2 logarithm of E (approx. 1.442)
LOG10E Base-10 logarithm of E (approx. 0.434)
PI PI (approx. 3.14)
SQRT1_2 Square root of 1/2 (approx. 0.707)
SQRT2 Square root of 2 (approx. 1.414)
Function Description
abs(x) The absolute value of x
acos(x) The arccosine of x
acosh(x) The hyperbolic arccosine of x
asin(x) The arcsine of x
asinh(x) The hyperbolic arcsine of x
atan(x) The arctangent of x as a numeric value between -PI/2 and PI/2 radians
atan2(y x) The arctangent of the quotient of y and x
atanh(x) The hyperbolic arctangent of x
cbrt(x) The cubic root of x
ceil(x) x rounded upwards to the nearest integer
clz32(x) The number of leading zero bits in the 32-bit binary representation of x
cos(x) The cosine of x (x is in radians)
cosh(x) The hyperbolic cosine of x
exp(x) The value of Ex
expm1(x) The result of (e^x - 1), which is an implementation-dependent approximation to subtracting 1 from the exponential function of x (e raised to the power of x, where e is the base of the natural logarithms).
floor(x) x rounded downwards to the nearest integer
fround(x) The nearest single precision float representation of x
hypot(x y z) The square root of the sum of squares of its arguments
imul(x y) The result of 32-bit multiplication of x and y
log(x) The natural logarithm (base E) of x
log1p(x) The natural logarithm of 1 + x
log2(x) The base 2 logarithm of x
log10(x) The base 10 logarithm of x
max(x y z ... n) The number with the highest value
min(x y z ... n) The number with the lowest value
pow(x y) The value of x to the power of y
random() A random number between 0 and 1
round(x) Rounds x to the nearest integer
sign(x) The sign of the x, indicating whether x is positive, negative or zero
sin(x) The sine of x (x is in radians)
sinh(x) The hyperbolic sine of x
sqrt(x) The square root of x
tan(x) The tangent of x (x in radians)
tanh(x) The hyperbolic tangent x
trunc(x) The integer part of x
Symbol Description
+ Addition (a + b)
- Substraction (a - b)
* Multiplication (a * b)
/ Division (a / b)
^ To the power or (a ^ b)
Param Name Param Value