~ / calculator / scientific-calculator

🔬 Scientific Calculator

Trig, logarithms, powers and factorials with the whole expression visible on one line. Type on your keyboard or tap the keys.

calc
DEGkeyboard input works
0
history · memory
Memory (M)0
Ans (last result)0

How to use the scientific calculator

Tap the keys or just type on your keyboard. A live preview appears under the expression, and pressing = (or Enter) saves the result to the history. Because the whole expression stays visible on one line — like 2×sin(30)+√(16) — you can check exactly what you entered, click into the display to move the cursor, and fix or insert anything in the middle.

Keyboard shortcuts

TypeMeaning
0–9 . + - * / ^ ( ) % !Numbers, arithmetic, powers, parentheses, percent, factorial (* → ×, / → ÷)
Enter or =Calculate
Backspace / EscDelete one character (a function name is deleted as a whole) / clear all
sin cos tan asin acos atanTrig functions and their inverses (sin⁻¹ also works)
ln log log2 sqrt absNatural log, common log, log base 2, square root, absolute value
pi e ansπ, Euler's number e, the last result
1.5E-3Scientific notation = 0.0015 (an e right after a number is read as an exponent: 2e3 = 2000; to multiply by Euler's number type 2×e)

Order of operations

The calculator follows standard math order of operations (PEMDAS / BODMAS). From highest priority to lowest:

RankOperationExample
1Parentheses, functions sin( ) log( ) √( )2×(3+4) = 14
2Postfix ! % ² ³3! = 6, 50% = 0.5, 4² = 16
3Exponent ^ (right to left)2^3^2 = 2^9 = 512
4Negative sign −−2^2 = −4, (−2)^2 = 4
5Multiply and divide (left to right, including implied multiplication)2π = 6.28318530718, 3(4) = 12
6Add and subtract (left to right)10 − 4 − 3 = 3

Implied multiplication such as 2π, 3(4+1), (1+2)(3+4) and 2sin(30) works. It has the same priority as ordinary multiplication, so 1÷2π is read as (1÷2)×π. Calculators disagree on this, so when in doubt add parentheses: 1÷(2π). Any parentheses left open at the end are closed for you.

% simply divides by 100. 200×15% = 30, but unlike a phone calculator, 200+15% is 200.15, not 230. For discounts, markups and percent change, the percentage calculator is easier.

Degrees vs. radians

In DEG mode a full turn is 360°; in RAD mode it is 2π. radians = degrees × π ÷ 180, so 30° = π/6 ≈ 0.5236 rad. The same sin(30) gives 0.5 in degrees but −0.988031624093 in radians, so check which unit your problem uses. Calculus and physics formulas (angular velocity, arc length) normally use radians; triangle and surveying problems usually use degrees.

DegreesRadianssincostan
0°0010
30°π/60.50.8660254037840.57735026919
45°π/40.7071067811870.7071067811871
60°π/30.8660254037840.51.73205080757
90°π/210undefined
180°π0−10

Computers cannot store π exactly, so many tools show sin(180°) as 0.0000000000000001224. This calculator treats multiples of 90° (π/2) specially, so sin(180°) = 0 and cos(90°) = 0 exactly, and tan(90°) is reported as undefined.

Logs, exponents and factorials

Floating-point errors and displayed digits

Computers store numbers in binary, so 0.1 + 0.2 is really 0.30000000000000004 internally. This calculator rounds results to 12 significant digits, so you see 0.3, and 1÷3 shows as 0.333333333333. Numbers of 10¹⁵ or more, or smaller than 0.000001, switch to scientific notation such as 1.23456789012E20 — the same way a handheld scientific calculator shows only 10 to 12 digits.

Handy examples

All calculations run in your browser; expressions are never sent to a server. Results are rounded to 12 significant digits, so the last digits of very large numbers or high-precision scientific work may differ slightly. For exams and lab reports, double-check with an approved calculator or software.

FAQ

Why does sin(30) give −0.988 instead of 0.5?
The calculator is in RAD (radians) mode. Press the DEG key to switch to degrees and sin(30) will return 0.5. The current angle unit is shown at the top left of the display.
What is the difference between log and ln?
log is the base-10 logarithm (log 100 = 2) and ln is the natural logarithm with base e ≈ 2.718 (ln e = 1). For base 2, use the log₂ key.
Does 0.1 + 0.2 show 0.30000000000000004?
No. That is how computers store it internally, but this calculator rounds to 12 significant digits and shows 0.3, just like a handheld scientific calculator.
Can I type 2π or 3(4+1) without a multiplication sign?
Yes. Numbers, constants, parentheses and functions written next to each other are multiplied: 2π = 6.28318530718 and 3(4+1) = 15. For something like 1÷2π, use parentheses to make your intent clear.
How large a factorial can it calculate?
Whole numbers from 0 up to 170! (about 7.25741561531E306). 171! is larger than a computer number can hold. Factorials of decimals (the gamma function) are not supported.
Where is my calculation history stored?
The last 30 calculations are saved only in this browser (localStorage) and never sent anywhere. Use the clear button to erase them; in a private window they disappear when you close it.

Related tools