Scientific Calculator

Basic operations plus scientific functions: trigonometry, logarithms, powers, roots, factorial, memory and calculation history.

0

Calculation History

CalcCore

What the scientific calculator does

The scientific calculator on CalcCore combines ordinary arithmetic with scientific functions for free: trigonometry, logarithms, powers, roots, factorial, the constants π and e and memory. It works in the browser on a computer, tablet and phone, needs no installation or sign-up, and the result can be copied with one press.

Trigonometry: degrees and radians

The sin, cos and tan buttons work out the sine, cosine and tangent of an angle. The DEG/RAD switch chooses the units: in degrees sin 30 is 0.5, while in radians sin π is 0. The Inv button turns on the inverse functions arcsin, arccos and arctan, which return an angle in the chosen units. It stays on until you press it again. The tangent of 90° does not exist in degrees, so the calculator shows a very big number instead of an exact answer.

Logarithms, powers and roots

The log button works out the common logarithm (base 10) and ln the natural one (base e). For powers there are x² for the square and xʸ for any exponent: 2^10 is 1024. The √ button works out a square root and 1/x the reciprocal. These functions are needed in physics, chemistry, statistics and any task where a power or a logarithm is part of a formula.

Factorial, π and e

The n! button works out the factorial of a whole non-negative number: 5! is 120. The factorial is defined here for numbers from 0 to 170; for bigger numbers the result exceeds the limit of precision, and for fractional and negative numbers the calculator gives no result. The constants π and e have their own buttons, and the expression 2π is understood as 2 times π.

Percentages in an expression

The % button works as on an ordinary calculator. After multiplication and division it simply divides the number by 100: 200 × 15% is 30. After addition or subtraction it takes a percentage of the previous number: 200 + 10% is 220 and 200 − 10% is 180. This quickly works out discounts, markups and taxes. For separate percentage tasks the percentage calculator is better.

Order of operations, brackets and implied multiplication

The calculator follows the standard order of operations: brackets first, then powers, then multiplication and division, and finally addition and subtraction. So 2 + 3 × 4 is 14 and −2² is −4, while (−2)² is 4. Unclosed brackets are closed automatically, and an entry like 3(4) or 2sin(30) is understood as multiplication. Division by zero gives an error message.

Memory, history and keyboard

The five memory buttons work like this: MS stores the current value, MR inserts it (and replaces the number being entered), M+ and M− add and subtract, and MC clears the memory. Every calculation goes into a history of up to 30 entries: a click on an entry puts the result into a new expression. The history is kept only in your browser and is not sent anywhere. You can type from the keyboard: digits, + − * /, brackets, %, Enter for “=”, Backspace and Escape.

Precision and limits

The calculator works in the browser's ordinary double precision (about 15 significant digits). The result is shown with up to ten decimal places, and numbers of 10¹⁵ and above are shown in scientific notation. Because of the binary representation of fractions, intermediate results may have tiny errors, which the calculator rounds when showing the result: 0.1 + 0.2 gives 0.3.

Sources, rights and contact

The calculator uses the standard mathematical functions of JavaScript described in the MDN documentation and the generally accepted order of operations described in the article on the order of operations. The texts are written by us. The site is not affiliated with or endorsed by these sources, and their names belong to their owners. If you are a rights holder with a concern, write to us on the Contacts page.

Leave DEG for angles in degrees and switch to RAD for radians: this changes the result of sin, cos and tan. Do not mix the modes when you work with ready formulas.

FAQ

How do I switch between degrees and radians?

Press DEG or RAD above the display. The active mode is highlighted. In DEG an angle is in degrees, in RAD in radians, and this changes the result of sin, cos, tan and the inverse functions.

What does the “Inv” button do?

It turns on the inverse trigonometric functions: sin, cos and tan become arcsin, arccos and arctan. The button stays on until you press it again.

How does memory work?

MS stores a value, MR inserts it into the expression, M+ adds the current value to the memory, M− subtracts and MC clears it. The memory lasts while the page is open.

Can I use the keyboard?

Yes: digits, the decimal point, + − * /, brackets, %, Enter for “=”, Backspace to delete a character and Escape for a full reset.

How do I enter sin, cos, log and √?

Type a number and press the function, and the number goes into brackets, for example 30 and sin give sin(30). You can also press the function first and then type the number, and the bracket closes automatically.

Does the calculator follow the order of operations?

Yes. Brackets, powers, multiplication and division, then addition and subtraction. For example 2 + 3 × 4 is 14 and −2² is −4.

How does the % button work?

After × and ÷ it divides the number by 100 (200 × 15% = 30). After + and − it takes a percentage of the previous number (200 + 10% = 220, 200 − 10% = 180).

Up to what number is the factorial worked out?

For whole numbers from 0 to 170. For 171 and above the result is too big, and fractional and negative numbers have no factorial, so no result is shown.

Why is the result sometimes in scientific notation?

Numbers of 10¹⁵ and above are shown as a mantissa and a power of ten so they fit in one line. Precision is limited by double precision, about 15 digits.

Why does the calculator show “Error”?

Most often because of division by zero or an expression that cannot be worked out, for example the factorial of a fractional number. Press C or CE and enter the expression again.

Is the calculation history stored?

Yes, up to the last 30 entries are kept in your browser. Nothing is sent to a server. The “Clear history” button deletes them.

How is a scientific calculator different from an ordinary one?

Besides arithmetic it has trigonometry, logarithms, powers, roots, factorial, constants and memory, which are needed for school, university and technical calculations.