Math Tools

Scientific Calculator

Full expression input · sin, cos, tan, log, ln, √, x², n! · memory · history · keyboard support

0

0

Keyboard supported · Type expressions directly · Enter or = to evaluate · Esc to clear

History

No calculations yet

Memory

0

M+ adds current result · M− subtracts · MR recalls · MC clears

Quick Examples

Click to load into the calculator

Function Reference

Tips & Insights

📐

Mode: Degrees

DEG mode: sin(90) = 1, cos(0) = 1, tan(45) = 1. All trig inputs treated as degrees.

⌨️

Type full expressions

You can type complete math expressions like sin(45) + log(100) × sqrt(25). The calculator evaluates the full expression.

🧠

Use Ans for chaining

After each calculation, use Ans to reference the last result. Example: Ans × 2 doubles your previous answer.

What to do next

Who Needs a Scientific Calculator

  • Engineering and physics students solving problems involving forces, wave frequencies, signal amplitudes, and structural loads — all of which require trigonometric and logarithmic functions.
  • Chemistry students computing pH levels, reaction rates, and radioactive decay — logarithms are fundamental to all of these.
  • Statistics and data science practitioners working with probability distributions, z-scores, and combinatorics that require factorials and powers.
  • Programmers and developers performing bitwise estimations, complexity analysis (log n), and numerical verification of algorithm outputs.
  • Finance professionals computing exponential growth, compounding, and present value calculations that require ln and e.
  • Teachers and tutors creating and verifying worked solutions to problems across algebra, trigonometry, and calculus.

Real-World Applications by Function Type

  • Trigonometry (sin, cos, tan): Used in structural engineering for resolving forces into components, in navigation for bearing calculations, in acoustics for waveform analysis, and in architecture for calculating roof slopes and rafter lengths.
  • Logarithms (log, ln): log base-10 measures decibel levels in audio, earthquake magnitude on the Richter scale, and signal strength in electronics. Natural log (ln) appears in finance (continuous compounding), biology (population growth), and chemistry (reaction kinetics).
  • Factorials (n!): Essential in combinatorics for counting permutations and combinations — used in probability theory, cryptography key space calculations, and statistics (binomial coefficients).
  • Powers and roots (x², √, xʸ): Area and volume calculations, Pythagorean theorem applications, physics energy equations (E = mc²), and compound interest all require precise exponentiation.
  • Inverse trig (asin, acos, atan): Used to find angles from known ratios — critical in surveying, robotics (inverse kinematics), graphics programming, and signal phase angle calculations.

Edge Cases and Error Conditions to Know

  • log(0) and ln(0) are undefined — the result approaches negative infinity. Entering zero or a negative number into log or ln will return an error, not a value.
  • sqrt of a negative number is not a real number — this calculator returns an error for sqrt(−4). Complex number results require a specialised tool.
  • asin and acos are only defined for inputs between −1 and 1. Entering asin(2) or acos(−1.5) returns an error because no real angle has a sine greater than 1.
  • tan(90°) is theoretically undefined — the result approaches infinity. In DEG mode, tan(90) may return a very large number or an error depending on floating-point precision.
  • Factorial is only defined for non-negative integers. Entering fact(5.7) or fact(−3) returns an error.
  • Very large factorials overflow — fact(171) exceeds JavaScript's maximum number and returns an error. The upper safe limit is fact(170).

When to Use a Scientific vs Basic Calculator

A basic calculator handles the four arithmetic operations. Reach for the scientific calculator when your problem involves any of the following:

  • Angles, triangles, or waves — any problem involving sides and angles requires sin, cos, or tan.
  • Orders of magnitude — comparing values that span many powers of ten (sound, light, earthquakes) requires logarithms.
  • Growth and decay — compound interest, population growth, radioactive half-life, and bacterial growth are all exponential functions.
  • Counting arrangements — probability problems involving permutations (ordered) or combinations (unordered) require factorials.
  • Chained multi-step computations — when you need to carry an intermediate result into the next step without writing it down, the Ans feature prevents transcription errors.

Related Tools

All calculations run client-side using a safe recursive-descent parser — no data is sent to any server.

How it works

  1. 1

    Type full mathematical expressions like sin(45) + log(100) × sqrt(25).

  2. 2

    Toggle between Degree and Radian mode for trigonometric functions.

  3. 3

    Use memory functions (M+, M−, MR, MC) to store intermediate results.

  4. 4

    The Ans key inserts the last computed value for chaining calculations.

Example calculation

Scenario: Calculate the area of a circle with radius 7

  • Formula: A = π × r²
  • Expression: π × 7**2
  • Result: 3.14159 × 49 = 153.938 sq units

Who benefits & use cases

  • Solve complex engineering and science problems in your browser.
  • Chain calculations using the Ans variable to avoid re-entering values.
  • Full keyboard support — type expressions naturally without clicking buttons.

Frequently asked questions

What is the difference between DEG and RAD mode?

In DEG mode, sin(90) = 1. In RAD mode, sin(π/2) = 1. Degrees are more intuitive for everyday use; radians are standard in mathematics and physics.

How do I calculate factorial?

Use the fact() function: fact(5) = 120. Or press the n! button which inserts 'fact(' for you.

Are calculations saved?

Yes. Your last 20 calculations are stored in history (localStorage) and can be clicked to restore the expression.