Math calculator

Free scientific calculator calculator

Evaluate complex expressions with trig, logarithms, exponentials, and roots — enter any expression to see the result, updated live, as you type.

InputsLive
Expression
Supports Math.sin, cos, tan, log, sqrt, pow, PI, E, abs, etc.
Result
Result
Enter a valid mathematical expression.
ExpressionMath.sin(Math.PI / 6)
Result
Is Integer?
Absolute Value

Uses JavaScript Math library (IEEE 754). Not a replacement for symbolic math systems.

Results are estimates. Consult a professional.

How it's calculated

How the scientific calculator works

A scientific calculator extends basic arithmetic with trigonometric functions (sin, cos, tan and their inverses), logarithms (natural log ln and base-10 log), exponentials, square roots, and constants like π and e. This calculator evaluates mathematical expressions following standard order of operations (PEMDAS) and supports nested parentheses for complex calculations.

Trigonometry: sin(θ), cos(θ), tan(θ) — input in degrees or radians
Inverse trig: arcsin(x), arccos(x), arctan(x)
Logarithms: log(x) = log₁₀(x), ln(x) = logₑ(x)
Exponentials: exp(x) = eˣ, x^y = x raised to power y
Roots: √x = x^(1/2), ∛x = x^(1/3)
Constants: π ≈ 3.14159265, e ≈ 2.71828183
NIST Digital Library of Mathematical Functions — standard mathematical function definitions
Example

Worked example: compound expression with trig and logs

Example: Calculate sin(30°) + log(1000) − ln(e²)

Evaluate the expression sin(30°) + log(1000) − ln(e²). This combines a trigonometric function, a base-10 logarithm, and a natural logarithm in one expression.

sin(30°) = 0.5
log(1000) = log₁₀(10³) = 3
ln(e²) = 2
Result = 0.5 + 3 2 = 1.5
1.5
sin(30°) + log(1000) − ln(e²) = 0.5 + 3 − 2 = 1.5. Breaking complex expressions into individual function evaluations first is the safest approach.
Quick reference

Common scientific calculator functions

The table below lists the most frequently used scientific calculator functions, their notation, and representative values.

FunctionNotationExampleResult
Sinesin(θ)sin(90°)1
Cosinecos(θ)cos(60°)0.5
Tangenttan(θ)tan(45°)1
Base-10 loglog(x)log(100)2
Natural logln(x)ln(e)1
Exponentialexp(x) or eˣexp(2)7.389
Square root√x√14412
Powerx^y2^101024

Source: Standard mathematical function definitions. Trig functions assume degree mode unless otherwise specified.

Practical tips

Tips for using a scientific calculator accurately

Even with a reliable calculator, common input mistakes can produce wrong answers. These five habits prevent the most frequent errors.

  • Always check degree vs. radian mode — sin(90) gives 1 in degrees but 0.894 in radians. Most everyday problems use degrees; physics and calculus typically use radians. Confirm the mode before computing.
  • Use parentheses liberally — 1/2x is ambiguous: it could mean (1/2)×x or 1/(2x). Explicit parentheses make the order of operations unambiguous and prevent order-of-operations errors.
  • Remember that log() means log base-10, not ln() — on most scientific calculators the "log" key is base-10; the natural logarithm uses the "ln" key. Mixing them up is the most common logarithm error.
  • Use the memory or ANS key for chain calculations — storing intermediate results prevents rounding errors from manual re-entry and keeps your expression readable.
  • Verify with a sanity check — for trig results, remember sin and cos always fall between −1 and 1. For logs, log(x) is positive only when x > 1, and negative when 0 < x < 1. A quick mental check catches most errors.
Accuracy & limits

Accuracy and limitations

This calculator uses JavaScript's built-in Math library, which follows the IEEE 754 double-precision floating-point standard. Results are accurate to approximately 15–16 significant digits. Floating-point representation means some expressions produce small rounding errors — for example, 0.1 + 0.2 returns 0.30000000000000004 rather than exactly 0.3. For most scientific and engineering purposes, this precision is more than sufficient.

Domain restrictions apply: log and ln are undefined for non-positive numbers; arcsin and arccos are only defined for inputs between −1 and 1; square root is undefined for negative real numbers. Entering out-of-domain values will produce NaN (Not a Number).

Glossary

Key terms

A unit of angular measurement equal to the angle subtended by an arc of length equal to the radius. One full circle = 2π radians ≈ 6.283; 180° = π radians.
The exponent to which a base must be raised to produce a given number. log₁₀(1000) = 3 because 10³ = 1000.
The logarithm to base e (Euler's number ≈ 2.71828). ln(e) = 1; widely used in calculus and exponential growth/decay models.
The mathematical constant ≈ 2.71828, the base of the natural logarithm. It is the unique number whose exponential function is its own derivative.
The ratio of a circle's circumference to its diameter, ≈ 3.14159265. It appears throughout trigonometry, geometry, and physics.
The international standard for floating-point arithmetic used by virtually all modern processors. Double precision provides about 15–17 significant decimal digits of accuracy.
About

About this calculator

Part of our math calculators suite — explore all calculators.

Questions

Frequently asked questions about the free scientific calculator calculator

A scientific calculator calculator is a free online tool that helps you calculator with trig, logarithms, and exponentials. Supports sin, cos, tan, log, sqrt, pow, PI, etc. It runs entirely in your browser with instant results and no sign-up.
JavaScript double-precision floating-point — accurate to about 15-17 significant digits. For arbitrary precision, use the Big Number calculator.
The statistics calculator computes population variance (divides by n). For sample variance, multiply variance by n/(n-1).

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.