Quicklearn
Math Expression Evaluator
Enter a mathematical expression and click evaluate to see the result.

Example Expressions

Basic Operations

5+3

Simple addition

How it works:

Adding two numbers: 5 plus 3 equals 8

10-4

Simple subtraction

How it works:

Subtracting 4 from 10 equals 6

6*7

Simple multiplication

How it works:

Multiplying 6 by 7 equals 42

20/5

Simple division

How it works:

Dividing 20 by 5 equals 4

10+5-3

Multiple operations (addition and subtraction)

How it works:

First 10+5=15, then 15-3=12. Addition and subtraction have the same precedence and are evaluated from left to right.

4*3/2

Multiple operations (multiplication and division)

How it works:

First 4*3=12, then 12/2=6. Multiplication and division have the same precedence and are evaluated from left to right.

Order of Operations

2+3*4

Multiplication before addition

How it works:

Multiplication has higher precedence than addition: 3*4=12, then 2+12=14

(2+3)*4

Parentheses change the order

How it works:

Operations in parentheses are performed first: (2+3)=5, then 5*4=20

10-4/2

Division before subtraction

How it works:

Division has higher precedence than subtraction: 4/2=2, then 10-2=8

8/4/2

Multiple divisions (left to right)

How it works:

When operations have the same precedence, evaluate from left to right: 8/4=2, then 2/2=1

2*(3+4)-5

Parentheses, multiplication, and subtraction

How it works:

First (3+4)=7, then 2*7=14, finally 14-5=9

10/(2+3)

Division with parentheses

How it works:

First (2+3)=5, then 10/5=2

Exponents & Roots

2^3

Simple exponent

How it works:

2 raised to the power of 3: 2*2*2=8

sqrt(16)

Square root

How it works:

The square root of 16 is 4, because 4*4=16

2^3+4

Exponents and addition

How it works:

Exponents are calculated before addition: 2^3=8, then 8+4=12

sqrt(9)+sqrt(16)

Multiple square roots

How it works:

sqrt(9)=3, sqrt(16)=4, so sqrt(9)+sqrt(16)=3+4=7

2^(3+1)

Exponent with expression in parentheses

How it works:

The expression in parentheses is evaluated first: 3+1=4, then 2^4=16

cbrt(27)

Cube root

How it works:

The cube root of 27 is 3, because 3*3*3=27

Trigonometry

sin(0)

Sine of 0 radians

How it works:

The sine of 0 radians is 0

cos(0)

Cosine of 0 radians

How it works:

The cosine of 0 radians is 1

sin(π/2)

Sine of π/2 radians (90 degrees)

How it works:

The sine of π/2 radians is 1

cos(π)

Cosine of π radians (180 degrees)

How it works:

The cosine of π radians is -1

tan(π/4)

Tangent of π/4 radians (45 degrees)

How it works:

The tangent of π/4 radians is 1

sin(π/6)+cos(π/3)

Sum of trigonometric functions

How it works:

sin(π/6)=0.5 and cos(π/3)=0.5, so the sum is 0.5+0.5=1

Logarithms

log(10)

Base-10 logarithm of 10

How it works:

The base-10 logarithm of 10 is 1, because 10¹=10

log(100)

Base-10 logarithm of 100

How it works:

The base-10 logarithm of 100 is 2, because 10²=100

ln(e)

Natural logarithm of e

How it works:

The natural logarithm (base e) of e is 1, because e¹=e

ln(e^3)

Natural logarithm of e raised to a power

How it works:

The natural logarithm (base e) of e^3 is 3, because ln(e^x)=x

log(10^3)

Logarithm of a power of 10

How it works:

log(10^3)=3, because log(10^n)=n

Special Functions

abs(-15)

Absolute value

How it works:

The absolute value of -15 is 15

floor(7.8)

Floor function (round down)

How it works:

The floor function rounds down to the nearest integer: floor(7.8)=7

ceil(3.2)

Ceiling function (round up)

How it works:

The ceiling function rounds up to the nearest integer: ceil(3.2)=4

round(4.7)

Rounding to nearest integer

How it works:

The round function rounds to the nearest integer: round(4.7)=5

max(4,9,2)

Maximum value

How it works:

Returns the largest value from the given numbers: max(4,9,2)=9

min(5,2,8)

Minimum value

How it works:

Returns the smallest value from the given numbers: min(5,2,8)=2

Complex Expressions

(5+3)*(10-7)/2

Combined operations with parentheses

How it works:

First (5+3)=8 and (10-7)=3, then 8*3=24, finally 24/2=12

sqrt(3^2+4^2)

Pythagorean theorem calculation

How it works:

3^2=9, 4^2=16, so sqrt(9+16)=sqrt(25)=5

sin(π/4)^2+cos(π/4)^2

Trigonometric identity

How it works:

This is the Pythagorean identity: sin²(θ)+cos²(θ)=1 for any angle θ

5!

Factorial

How it works:

5! = 5×4×3×2×1 = 120

2^3*2^2

Product of powers with same base

How it works:

2^3=8, 2^2=4, so 2^3*2^2=8*4=32. Also equals 2^(3+2)=2^5=32

log(100)/log(10)

Change of base formula

How it works:

This is equivalent to log₁₀(100), which equals 2

This evaluator supports basic arithmetic operations (+, -, *, /), exponents (^), parentheses, and functions like sin(), cos(), sqrt(), log(), abs(), floor(), ceil(), and more. Click the book icon to explore mathematical terms.