Scientific Calculator
Type any expression or use the keypad — trig, inverse & hyperbolic functions, logs, nPr/nCr, fractions, number bases, memory and history.
Type freely — Enter evaluates, Esc clears. Try 2π, nCr(10,3), log(8,2) or 6.02E23/2.
Answer in other forms
- Fraction
- —
- Mixed number
- —
- Scientific
- —
- Engineering
- —
- Hexadecimal
- —
- Octal
- —
- Binary
- —
History
Answers you get with = appear here. Click one to reuse it.
Free Online Scientific Calculator
This free scientific calculator works the way you write maths: type or paste a whole expression such as 3(2+5)^2 / sin(45), edit any part of it, and see the answer update as you type. You can also use the on-screen keypad, which follows the layout of a classic handheld scientific calculator, with a 2nd key for inverse functions and a hyp key for hyperbolic ones.
The online scientific calculator handles trigonometry in degrees or radians, common, natural and any-base logarithms, powers and roots, factorials, permutations and combinations, percentages and numbers in scientific notation. Every answer is also shown as a fraction, a mixed number, in scientific and engineering notation and, for whole numbers, in hexadecimal, octal and binary. Memory, Ans and a history of past answers make multi-step problems quick. Nothing to install, and nothing leaves your browser.
About the Scientific Calculator
How expressions are read
Your input is split into numbers, names and operators, then evaluated by a precedence parser — it is never run as code. From highest to lowest priority: brackets and function calls, postfix ! and %, powers ^ (right-associative, so 2^3^2 = 29 = 512), a leading minus (so -2^2 = −4), then × and ÷ (including implied multiplication), then + and −. Missing closing brackets at the end are added for you, so sqrt(2 works.
Worked example: 2nCr(5,2) + 10% → nCr(5,2) = 10, so 2 × 10 = 20; 10% = 0.1; total 20.1.
Functions and constants
Trigonometry
sin, cos, tan; inverses asin, acos, atan; hyperbolic sinh, cosh, tanh and their inverses asinh, acosh, atanh.
Logs, powers & roots
log (base 10), log(x, b) for any base, ln, log2, exp, ^, √ / sqrt, ∛ / cbrt, and root(x, n) for the n-th root.
Counting
n! for factorials up to 170!, nPr(n, r) permutations and nCr(n, r) combinations.
Other
abs, floor, ceil, round, mod(a, b), constants π (pi) and e, Ans, memory M, and 0x / 0o / 0b number literals.
Accuracy
All arithmetic runs locally in IEEE 754 double precision (about 15–17 significant digits), using function definitions from the NIST Digital Library of Mathematical Functions. Answers are rounded to 12 significant digits, so rounding residue such as sin(π) ≈ 1.2 × 10⁻¹⁶ shows as 0. Fractions are found with continued fractions and shown only when they match the answer exactly at that precision, with denominators up to 10,000.
Related Calculators & Tools
Solve any percentage problem — percent of a number, percentage change, percentage increase/decrease, and more — with clear results and working.
Convert between units of length, weight, temperature, volume, speed, data, and more — fast, accurate, bidirectional conversions.
Calculate logarithms in any base with change-of-base steps shown.
Compute all six trig functions for any angle, or find the angle from a ratio using inverse trig, with exact values shown.
Authoritative Sources & Standards
- IEEE Standard for Floating-Point Arithmetic (IEEE 754-2019) — IEEE Computer Society
- NIST Digital Library of Mathematical Functions (DLMF) — National Institute of Standards and Technology (NIST)
Frequently Asked Questions
How do I switch between Degrees (DEG) and Radians (RAD)?
Click the DEG or RAD toggle above the display. In DEG mode sin(30) = 0.5; in RAD mode trigonometric functions take angles in radians, so sin(π/6) = 0.5. Inverse trig functions return their answer in the selected unit.
Can I type expressions directly with my keyboard?
Yes. The display is a normal text box, so you can type, paste, move the cursor and edit anywhere in the expression. Even if the box is not focused, typing digits or operators sends them to the calculator. Press Enter to evaluate and Escape to clear.
Does this scientific calculator follow the order of operations (PEMDAS/BODMAS)?
Yes. Brackets and functions are evaluated first, then factorial and percent, then powers (right to left, so 2^3^2 = 512), then multiplication and division, then addition and subtraction. A leading minus applies after powers, so -2^2 = -4.
Does it understand implied multiplication like 2π or 3(4+1)?
Yes. A number, constant or closing bracket followed by another value is multiplied, so 2π, 3(4+1), (1+2)(3+4) and 2sin(30) all work. Implied multiplication has the same priority as ×, so 1/2π is read left to right as (1/2)·π; write 1/(2π) if you mean the other.
What is the difference between log and ln?
log is the base-10 common logarithm (log(100) = 2) and ln is the natural logarithm with base e ≈ 2.718281828. For any other base, pass it as a second argument: log(8, 2) = 3.
How do I calculate permutations and combinations (nPr and nCr)?
Use nPr(n, r) for ordered arrangements and nCr(n, r) for unordered selections. For example nPr(5, 2) = 20 and nCr(5, 2) = 10. Press 2nd then nPr on the keypad to get nCr. Both require whole numbers with 0 ≤ r ≤ n.
How do I enter a number in scientific notation?
Use the ×10ˣ key or type a capital E: 6.022E23 means 6.022 × 10²³ and 1.6E-19 means 1.6 × 10⁻¹⁹. A lowercase e on its own is Euler's number, so 2e means 2 × e.
Can it show the answer as a fraction or in hexadecimal and binary?
Yes. Under the display, every answer is also shown as a fraction (and mixed number) when it has an exact simple fraction form, in scientific and engineering notation, and, for whole numbers, in hexadecimal, octal and binary. You can also type 0x, 0o and 0b numbers into an expression.
How do memory and Ans work?
Ans holds the last answer you got by pressing =, and you can use it inside the next expression. M+ adds the current answer to memory, 2nd then M+ subtracts it, MR inserts the memory value M into the expression, and 2nd then MR clears memory.
How accurate is this calculator?
It uses IEEE 754 double-precision arithmetic, which keeps about 15–17 significant digits, and shows answers rounded to 12 significant digits. That hides tiny floating-point errors, so sin(180°) shows 0 and 0.1 + 0.2 shows 0.3.