Scientific Calculator
A free online scientific calculator with trigonometry, logarithms, powers, roots, factorials, memory keys, and full keyboard support. Works on phone, tablet, and desktop.
History
Calculations you confirm with equals show up here. Tap one to reuse its result.
Keyboard
- Enter
- Calculate
- Backspace
- Delete one character
- Esc
- Clear all
- ^
- Power
A full function set without the handheld
Most people need a scientific calculator a few times a month, which is rarely enough to justify carrying one. This one opens in a browser tab and covers the same ground: trigonometry with a proper degree and radian switch, logs in three bases, powers, roots, factorials, and memory keys that survive between calculations. The expression stays on screen while you build it, so you can check a long formula before committing to an answer.
Small details that save time
Live answer preview
The result appears under your expression while you type. A mismatched bracket or a stray digit shows up immediately instead of after you press equals.
Type or tap
Full keyboard support on desktop and large tap targets on mobile, so the same tool works whether you are at a desk or on a phone.
Reusable history
The last dozen calculations stay listed. Tap one to pull its result back into the input instead of copying digits by hand.
Solved on your device
Expressions are parsed and solved in your browser. Nothing you calculate is sent anywhere or stored once the tab closes.
How this Scientific Calculator works
Every expression you type is parsed before it is solved. The calculator reads the line character by character into numbers, operators, functions, and constants, then reorders them with the shunting-yard algorithm so precedence is settled before any arithmetic happens. Parentheses bind first, then functions, then powers, then multiplication and division, and finally addition and subtraction. Powers stay right-associative, so 2^3^2 gives 512 rather than 64, matching how a handheld calculator behaves.
That parsing step is also a safety decision. The input is never handed to the JavaScript engine to run, so nothing typed into the display can execute as code. Anything the parser does not recognise is rejected instead of guessed at.
Trigonometry respects the angle switch. In degrees, arguments to sine, cosine, and tangent are converted to radians before the calculation, and results from the inverse functions are converted back, so sin(30) returns exactly 0.5. In radian mode the values pass through untouched. Factorials are computed as whole-number products and refuse negative or fractional input rather than returning something meaningless.
Results are formatted for reading, not for maximum digits. Whole numbers stay whole, ordinary decimals are trimmed to twelve significant figures to hide floating-point noise, and anything above a trillion or below a billionth switches to exponential form. Each answer you confirm is kept in the history list, where a tap drops it back into the input. Nothing is sent to a server.
How to use this Scientific Calculator
Choose degrees or radians
Set the angle mode before any trigonometry. School and engineering work usually uses degrees; calculus uses radians.
Build the expression
Tap the keys or type on your keyboard. Parentheses, powers, roots, and logs can all be combined in one line.
Watch the live preview
The answer updates under your expression as you type, so a typo shows up before you press equals.
Reuse past answers
Press equals to save the calculation to history, then tap any entry to drop it back into the input.
Example Usage
Three calculations typed straight into the input line:
Frequently Asked Questions
What can this scientific calculator do?
Why does sin(30) give me a different answer than I expected?
Does it follow the order of operations?
Can I type on my keyboard instead of tapping?
What does the INV key change?
How do the memory buttons work?
Can I use a previous result in a new calculation?
Why does the result show up in scientific notation?
Does it need an internet connection or an install?
Is this accurate enough for exams and coursework?
Related Tools
Income Tax Calculator
Estimate US federal income tax, refund position, and effective rate.
Unit Converter
Convert between various units of measurement.
Binary Calculator
Perform arithmetic on binary numbers.
Hex Calculator
Perform arithmetic on hexadecimal numbers.
Percentage Calculator
Work out what percent of a number, what percent one number is of another, percentage increase and decrease, and discounts or markups. Five calculators on one page.
Compound Interest Calculator
See how savings and investments grow with compound interest. Add regular deposits, pick a compounding frequency, and read the year-by-year balance breakdown.
The Scientific Calculator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

