Scientific Calculator

Evaluate explicit real-number expressions with a deterministic parser, visible DEG/RAD mode, clear domain errors, and private local history.

Parentheses Memory (M+/MR) DEG / RAD History
History
No history yet

Expressions and results stay in this browser. History is session-only unless you explicitly choose “Save in browser”, download, copy, or print it.

This scientific calculator provides a full range of mathematical functions beyond basic arithmetic, including trigonometric, logarithmic, exponential, and factorial operations. It supports parentheses for complex expressions, memory storage for intermediate results, and both degree and radian modes for angle calculations. The calculator handles constants like pi and the Euler number, and displays a history of your recent calculations for easy reference. Engineering students, science researchers, teachers, and professionals who need quick access to advanced math functions without installing desktop software will find this browser-based calculator both powerful and convenient.

How this calculator evaluates expressions

This MVP runs calculations locally in the browser, supports decimal arithmetic, parentheses, powers, factorials, constants, trigonometry, logarithms, memory, and a reusable session history.

How it works — methodology & sources

Updated for 2026. Here is exactly how each result is produced, the assumptions behind it, and what to verify before you rely on it.

Methodology & assumptions
Every calculation runs locally through a deterministic expression parser; user text is not passed to JavaScript evaluation. The supported grammar covers decimal and scientific-notation numbers, explicit + − × ÷ mod operators, parentheses, right-associative powers, postfix factorials, pi, e, and the function buttons shown above. Multiplication must be explicit, so write 2*pi rather than 2pi. Factorial accepts whole numbers from 0 through 170. Trigonometric functions respect the selected DEG or RAD mode; inverse trig returns the selected angular unit. log is base 10 and ln is natural logarithm. Missing parentheses, division by zero, unsupported names, non-real domains, and non-finite results produce an error instead of a guessed value. Results use IEEE 754 double-precision arithmetic and are displayed with up to 12 significant digits.
Limitations & what to verify
This is a general-purpose real-number calculator, not a symbolic algebra system, complex-number calculator, certified instrument, or exam-approved device. IEEE 754 arithmetic can create small rounding artefacts, so match displayed precision to the precision of your inputs. Confirm DEG/RAD mode, required significant figures, and any assessment rules independently. History exists only in this tab unless you explicitly save or export it; a saved copy remains in this browser profile. Print/PDF output is a worksheet, not proof that an answer is correct.
Sources & references
Calculations are based on the standard mathematical functions and IEEE 754 double-precision arithmetic defined for the JavaScript Math library. See the MDN Math reference ↗ for the exact function definitions used here. Last verified 2026.

Frequently Asked Questions

Is the AfroTools Scientific Calculator free to use?
Yes, the AfroTools Scientific Calculator is completely free with no sign-up required. It includes trigonometry, logarithms, memory functions, constants, and full keyboard support at no cost.
Does the scientific calculator work offline?
Calculations do not require a server call after the page assets load. A future offline visit still depends on whether your browser or the site service worker retained the required files.
What modes does the scientific calculator support?
The calculator supports DEG (degrees) and RAD (radians) modes for trigonometric functions. It also includes memory functions (M+, M-, MR, MC), parentheses for complex expressions, and a calculation history.
Is my calculation data stored or sent to a server?
Calculations happen locally. History is session-only unless you explicitly use Save in browser, copy, TXT, or print. Saved history remains on this browser profile until you clear its site data or overwrite it.
What functions are available in this scientific calculator?
The calculator supports sin, cos, tan and their inverses, log (base 10), ln (natural log), square root, cube root, powers (x^y), factorial (n!), absolute value, constants (pi and e), and modulo operations. Full keyboard input is also supported.