Scientific Calculator

Handheld calculators are easy to lose, and phone apps hide their angle mode behind a menu. That hidden setting is why so many students get -0.988 when they expect sin(30) to be 0.5. Online tools add their own problems, from rounding errors at simple angles to no support for fractions. Getting a formula right should not depend on finding the correct settings screen.

This scientific calculator runs in your browser with a keypad modeled on classroom calculators and a clearly visible DEG, RAD or GRAD mode. It covers trigonometry, logarithms, powers, roots, factorials, permutations, combinations and fractions. Special angles return exact values, so cos(90) shows 0 rather than a tiny leftover. Turn on Show Steps to see how each function was applied.

Scientific Calculator

Angle mode

Calculation History

What Is a Scientific Calculator?

A scientific model extends basic arithmetic with the functions used in algebra, trigonometry, chemistry and physics. Typical keys include sin, cos, tan, log, ln, powers, roots, factorials and a key for entering numbers in powers of ten. It also follows the standard order of operations, so you can type whole expressions. Most schools require one from middle school onward.

It sits between a four-function calculator and a graphing calculator. It cannot draw graphs or solve equations symbolically, but it evaluates any formula you give it. Popular handheld examples include the TI-30XS and Casio fx-991 series. This page offers the same everyday functions without batteries or a price tag.

How to Use This Scientific Calculator

Check the angle mode first, since it decides every trigonometry result. DEG is the default and suits most school geometry, while RAD is used in calculus and physics. Type expressions with the keypad or your keyboard, then press = or Enter.

Functions take their argument in brackets, so type sin(30) rather than 30 sin. Use EXP to enter powers of ten, such as 3.2 EXP -4 for 3.2 × 10^-4, and Ans to reuse the last result. The a b/c key enters fractions, and S⇔D switches any result between fraction and decimal form.

  • Choose DEG, RAD or GRAD before any trigonometry.
  • Type a function name followed by its value in brackets.
  • Press = or Enter to evaluate the whole expression.
  • Press S⇔D to switch between fraction and decimal answers.
  • Use Ans or Calculation History to reuse earlier results.

Angle Modes, Functions and Key Order

Degrees split a full turn into 360 parts, radians into 2π and gradians into 400. The calculator converts your input to radians internally, then applies the function. When the true answer is 0, 0.5 or 1, as with sin(30) or tan(45), it returns that exact value from a lookup table. That is why sin(30) returns 0.5 exactly and tan(45) returns 1.

Functions bind tighter than multiplication, and powers bind tighter than functions applied to them. So 2sin(30) means 2 × sin(30), and sin(30)^2 squares the result. Factorials apply to the number just before the ! sign, and nPr and nCr take the two numbers on either side of them. Log means the base-10 logarithm, and ln means the natural logarithm.

  • Trigonometry: sin, cos, tan and their inverses in DEG, RAD or GRAD.
  • Logarithms: log for base 10, ln for base e and logₓ for any base.
  • Powers and roots: x², x³, xʸ, √, ∛ and ʸ√x.
  • Counting: x!, nPr and nCr with exact whole-number results.
  • Entry helpers: EXP, Ans, π, e, fractions and S⇔D.

Scientific Calculator Examples

These examples cover trigonometry, logarithms, growth, counting and fractions. Each lists the keys to press, the result and what the answer means.

Try them on the keypad above and keep an eye on the angle mode indicator. Show Steps confirms which mode and which function produced each value.

Sine of 30 degrees

In DEG mode, enter sin(30) to get 0.5. The value comes from the exact table for special angles. A 30 degree slope rises half a unit for every unit along its length.

The same keys in radian mode

Switch to RAD and enter sin(30) to get -0.988031624093. The calculator now reads 30 as 30 radians, which is almost five full turns. This is the most common reason for a surprising trigonometry answer.

Measuring a tree with a tangent

Standing 20 meters from a tree, you measure an angle of 35 degrees to its top. Enter 20 × tan(35) in DEG mode to get about 14.0041507642. The tree is roughly 14 meters taller than your eye level.

Finding an angle from a ratio

Enter sin⁻¹(0.5) in DEG mode to get 30. The inverse function turns a ratio back into an angle. In RAD mode the same keys give 0.523598775598, which is π/6.

A common logarithm

Enter log(1000) to get 3, because 10^3 = 1000. Logarithms count how many times a base multiplies itself. The log key always uses base 10 here.

The pH of a solution

A hydrogen ion concentration of 0.00025 moles per liter gives a pH of -log(0.00025). Enter it to get about 3.60205999133, so the solution is acidic. Chemistry teachers usually round this to 3.60.

Compound interest

Enter 1000 × 1.05^10 to get 1628.89462678. That is 1000 invested for 10 years at 5% interest compounded yearly. The xʸ key handles the repeated growth in one step.

A natural logarithm

Enter ln(2) to get 0.69314718056. Dividing that by the growth rate gives doubling times, which is where the rule of 70 comes from. The ln key always uses base e, about 2.71828.

Ten factorial

Enter 10! to get 3628800. That is the number of ways to arrange 10 different books on a shelf. Factorials grow fast, so 25! already needs E notation to display.

Lottery combinations

Enter 49 nCr 6 to get 13983816. That is how many ways to pick 6 numbers from 49 when order does not matter. One ticket therefore has about a 1 in 14 million chance.

Permutations for a podium

Enter 10 nPr 3 to get 720. That counts the ways to award gold, silver and bronze among 10 runners. Order matters here, which is why the result is larger than 10 nCr 3.

Adding mixed fractions

Enter 2 1/4 + 1 2/3 using the a b/c key to get 3 11/12. Press S⇔D to see the decimal 3.91666666667. The fraction form is exact, while the decimal is rounded.

Turning a decimal into a fraction

Enter 0.375 and press S⇔D to get 3/8. The calculator finds the simplest fraction whose decimal matches the result. Recurring decimals such as 0.333333333333 convert to 1/3 the same way.

Entering scientific notation

Enter 3.2 EXP -4 × 2 to get 0.00064, which is 6.4 × 10^-4. EXP stands for times ten to the power, so it saves typing × 10^. Results smaller than 10^-7 switch to E notation automatically.

Roots of any order

Enter ∛(27) to get 3, then enter 4 ʸ√x 16 to get the fourth root of 16, which is 2. The ʸ√x key takes the root order first and the number second. Both results are exact because the roots are whole numbers.

Trigonometry and Logarithms in Code

Most programming languages work in radians only, so Math.sin(30) in JavaScript returns the radian result. To use degrees, multiply by π and divide by 180 first. Even then, floating-point math gives 0.49999999999999994 instead of 0.5 and a tiny value instead of 0 for cos(90°).

The calculator on this page removes those artifacts by using exact values for special angles and rounding results to 12 significant digits. Python's math module adds exact combinatorics with comb, perm and factorial. For logarithms, both languages name the natural log log, which is a frequent source of confusion.

// Math.sin expects radians
console.log(Math.sin(30));                // -0.9880316240928618
console.log(Math.sin(30 * Math.PI / 180)); // 0.49999999999999994

// Floating point leaves tiny errors at exact angles
console.log(Math.cos(Math.PI / 2));       // 6.123233995736766e-17

console.log(Math.log(Math.E));  // 1, natural log
console.log(Math.log10(1000));  // 3, common log
import math

print(math.sin(math.radians(30)))  # 0.49999999999999994
print(math.log10(1000))            # 3.0
print(math.comb(49, 6))            # 13983816 combinations
print(math.factorial(10))          # 3628800

Accuracy, Exact Angles and Privacy

Arithmetic, powers with whole-number exponents, factorials and combinations are computed exactly. Transcendental functions such as sin, ln and eˣ use double-precision math and are rounded to 12 significant digits, which hides floating-point noise. Special angles and values within 10^-15 of zero are snapped to their exact results. Answers built on rounded values are marked approximate in the steps panel.

Function names follow ISO 80000-2, the international standard for mathematical notation, and floating-point behavior follows IEEE 754. Every calculation runs in your browser, so no expression is sent to a server. Once the page has loaded, the keypad keeps working even if your connection drops.

Math Errors and Domain Problems

Some inputs have no real answer, and the calculator says so instead of printing NaN or Infinity. Common cases are tan(90) in degree mode, the logarithm of zero or a negative number, and sin⁻¹ above 1. The table explains each message and the fix.

Mode mistakes are not errors to the calculator, but they are the top cause of wrong answers. If a trigonometry result looks strange, check whether DEG or RAD is highlighted. The steps panel repeats the active mode on every trigonometry line.

Message or problem
Example
Fix
Undefined for this angle.tan(90) in DEG modeTangent has no value at 90 or 270 degrees
Outside the function's domain.sin⁻¹(2) or log(-5)Inverse sine needs -1 to 1, and logarithms need positive inputs
Factorial needs a whole number from 0 to 1000.4.5! or (-3)!Use a whole number, or compute a gamma function elsewhere
Division by zero is undefined.1 ÷ (2 - 2)Check the denominator
Wrong angle modesin(30) returns -0.988Switch to DEG for degree problems
Missing closing parenthesis.sin(30Close every bracket that a function opens

Scientific vs Basic vs Graphing Calculators

A basic calculator handles arithmetic, percentages and square roots, which is enough for shopping and budgets. A graphing calculator draws functions, solves equations and runs programs, and many exams require a specific model. Between them sits the tool most students use daily, with functions but no graphs.

For homework, science labs and engineering formulas, this scientific calculator covers the functions you need without installing anything. Use the table to see where each type fits. The calculator for everyday totals is simpler, and huge or tiny values convert cleanly with the scientific notation calculator.

Feature
Basic
Scientific
Graphing
Arithmetic and percentagesYesYesYes
Trigonometry and logarithmsNoYesYes
Fractions and exact resultsRarelyYesYes
Graphs and equation solvingNoNoYes
Typical cost as a handheldVery lowLowHigh
Best forEveryday totalsSchool science and mathAdvanced math and exams that require one

Questions About Scientific Calculators

These answers cover what students and parents ask most about modes, functions and calculator models. Several come from exam preparation and homework help.

The examples above walk through many of the same functions. Try each one on the keypad to see the result and the steps.