Free Online Tool

Online Calculator

A fast, free scientific calculator for everyday math and advanced calculations. Get step-by-step solutions, a persistent history tape, memory functions, degree and radian modes, and full keyboard support, all running privately in your browser.

M: empty
0

Base converter (whole-number results)

DEC
-
HEX
-
OCT
-
BIN
-

How to Use This Scientific Calculator

Type any expression with the buttons or your keyboard and press = or Enter. The calculator evaluates the full expression at once, following the standard order of operations, and shows a step-by-step breakdown of how it reached the answer. Your calculation is saved to the history tape automatically.

TaskType thisResult
Basic arithmetic12.5*4-347
Sine of 30 degreessin(30)0.5
Power2^101024
15 percent of 200200*15%30
Factorial5!120
Square rootsqrt(144)12

Order of Operations (PEMDAS)

The calculator evaluates expressions in this order: Parentheses, Exponents and roots, Multiplication and Division (left to right), then Addition and Subtraction (left to right). This matches what you learn in school and what physical scientific calculators do.

PriorityOperationExampleResult
1 (first)Parentheses(2+3)*420
2Powers and roots2^3+19
3Multiplication, division6/2*39
4 (last)Addition, subtraction2+3*414

Powers are right-associative: 2^3^2 means 2^(3^2), which equals 512, not 64.

Degrees vs Radians

Trigonometric functions need to know whether your angle is in degrees or radians. Use the DEG/RAD toggle above the display. In DEG mode, sin(30) equals 0.5. In RAD mode, the same angle is written sin(pi/6). Inverse functions like asin return the angle in the active mode.

DegreesRadianssincos
0001
30pi/60.50.866025403784
45pi/40.7071067811870.707106781187
60pi/30.8660254037840.5
90pi/210
180pi0-1

Logarithms, Powers and Roots

log(x) is the base-10 logarithm: it answers "10 to what power gives x?" ln(x) is the natural logarithm with base e (about 2.71828). Powers use the ^ symbol, and roots can be written with sqrt, cbrt, or fractional exponents.

ExpressionMeaningResult
10^310 cubed1000
log(1000)10 to what power is 1000?3
ln(e^2)natural log of e squared2
sqrt(144)what squared gives 144?12
cbrt(27)what cubed gives 27?3
27^(1/3)cube root via exponent3

Factorials, Percentages and Memory

A factorial multiplies a whole number by every smaller positive whole number: 5! = 5*4*3*2*1 = 120. The % key divides the preceding number by 100, so 200*15% computes a 15 percent tip on 200, giving 30. Memory lets you park a value: M+ adds the current result to memory, M- subtracts it, MR recalls it, and MC clears it.

Function Reference

FunctionWhat it doesExampleResult
sin(x)Sine of angle xsin(30)0.5
cos(x)Cosine of angle xcos(60)0.5
tan(x)Tangent of angle xtan(45)1
asin(x)Inverse sine, returns angleasin(0.5)30
acos(x)Inverse cosine, returns angleacos(0.5)60
atan(x)Inverse tangent, returns angleatan(1)45
log(x)Base-10 logarithmlog(1000)3
ln(x)Natural logarithm (base e)ln(e^2)2
sqrt(x)Square rootsqrt(144)12
cbrt(x)Cube rootcbrt(27)3
x^yx raised to power y2^101024
1/xReciprocal1/40.25
n!Factorial5!120
%Percent (divides by 100)200*15%30
piConstant 3.14159...2*pi6.28318530718
eConstant 2.71828...e^12.71828182846
AnsResult of last calculationAns*2depends on last result

Keyboard Shortcuts

KeysAction
0-9 and .Enter digits and decimal point
+ - * / ^ % !Operators, power, percent, factorial
( )Parentheses
a-zFunction and constant names (sin, log, pi, Ans)
EnterCalculate the expression
BackspaceDelete the last character
EscapeClear the expression

Worked Examples

Example 1: sine of 30 degrees. Set DEG mode, type sin(30), press =. Steps: the calculator converts 30 degrees to radians internally, evaluates the sine, and returns 0.5.

Example 2: powers. Type 2^10 and press =. The calculator multiplies 2 by itself 10 times: 1024. This is why computers use 1024 bytes in a kilobyte.

Example 3: the 3-4-5 triangle. Type sqrt(3^2+4^2) and press =. Steps: 3^2 = 9, 4^2 = 16, 9 + 16 = 25, sqrt(25) = 5. This is the Pythagorean theorem in one expression.

Example 4: restaurant tip. For a 200 bill with 15 percent tip, type 200*15% and press =. The % divides 15 by 100, then 200 * 0.15 = 30.

Frequently Asked Questions

What is an online calculator?
An online calculator is a web-based tool that performs mathematical calculations right in your browser. This one works as both a basic calculator and a scientific calculator, handling arithmetic, trigonometry, logarithms, powers, roots and factorials with no download or signup required.
How do I use this scientific calculator?
Type an expression using the buttons or your keyboard, then press = or Enter. For example, type sin(30) for trigonometry, 2^10 for powers, or sqrt(144) for square roots. The calculator shows each step of the evaluation below the result.
What is the difference between DEG and RAD mode?
DEG mode interprets angle inputs as degrees, so sin(30) equals 0.5. RAD mode interprets angles as radians, so sin(pi/2) equals 1. Use the DEG/RAD toggle above the keypad to switch. Most school problems use degrees.
How do I calculate a percentage?
Type the percent sign after a number. For example, 200*15% calculates 15 percent of 200, which equals 30. The % symbol divides the preceding number by 100.
What does the Ans button do?
Ans inserts the result of your last calculation into the current expression. For example, after computing 2+3, pressing Ans*4 gives 20. It lets you chain calculations without retyping results.
How do the memory buttons (M+, M-, MR, MC) work?
M+ adds the current result to memory, M- subtracts it from memory, MR recalls the stored value into your expression, and MC clears the memory. A small M indicator appears above the display whenever memory holds a non-zero value.
How do I calculate a factorial?
Type a whole number followed by the exclamation mark. For example, 5! equals 120. Factorials only work for whole numbers from 0 to 170.
What order does the calculator follow for operations?
It follows the standard order of operations: parentheses first, then powers and roots, then multiplication and division, then addition and subtraction. So 2+3*4 equals 14, while (2+3)*4 equals 20.
How do I find a square root or cube root?
Press the root button and type the number inside parentheses, for example sqrt(144) which equals 12. For cube roots use cbrt(27), which equals 3. You can also use fractional powers like 27^(1/3).
What is the difference between log and ln?
The log button computes the base-10 logarithm, so log(1000) equals 3. The ln button computes the natural logarithm with base e, so ln(e^2) equals 2. Both are common in science and engineering.
How do I use parentheses?
Press the ( and ) buttons to group parts of an expression. Parentheses force that part to be calculated first. For example, sqrt(3^2+4^2) groups the addition before the square root, giving 5.
Can I type with my keyboard?
Yes. You can type digits, operators (+ - * / ^), parentheses, decimal points and function names like sin or sqrt directly. Press Enter to calculate, Backspace to delete one character, and Escape to clear everything.
Is my calculation history saved?
Yes. Every calculation is added to the history tape and stored in your browser, so it survives page reloads. Click any past expression to load it back, click a result to reuse it, or copy individual entries. Use Clear to wipe the tape.
What is the base converter panel for?
After a calculation that produces a whole number, the base converter shows that result in decimal, hexadecimal, octal and binary. It is handy for programming and computer science work.
Why do I see "Error" as a result?
Error appears when the expression cannot be evaluated, for example division by zero (1/0), the square root of a negative number, a logarithm of zero or less, an unknown function name, or mismatched parentheses. Check the expression and try again.
How do I convert degrees to radians?
Multiply degrees by pi and divide by 180. For example, 180*pi/180 equals pi, about 3.14159. Our dedicated degrees to radians converter in the related tools section below does this instantly.
What is 2 to the power of 10?
2 to the power of 10 equals 1024. Type 2^10 into the calculator. Powers are right-associative, so 2^3^2 is evaluated as 2^(3^2), which equals 512.
How do I calculate sin(30)?
Make sure DEG mode is active, then type sin(30) and press =. The result is 0.5. In RAD mode you would type sin(pi/6) to get the same answer.
Is this online calculator free to use?
Yes, it is completely free with no signup, no download and no usage limits. All calculations happen in your browser, so your expressions never leave your device.
Does the calculator work on mobile phones?
Yes. The keypad uses large touch-friendly buttons and the layout adapts to small screens. All features, including the history tape and scientific functions, work on mobile browsers.
What is the number e?
The letter e stands for Euler's number, approximately 2.71828. It is the base of natural logarithms. Press the e button to insert it, for example e^1 equals about 2.71828.
How do I clear the display?
Press C to clear the entire expression, or use the backspace button to delete the last character only. Pressing Escape on your keyboard also clears everything.

Related Calculators

Looking for a dedicated scientific-only layout? Try our Scientific Calculator. The tool on this page is the general-purpose online calculator with scientific functions included.

Free tool by NRTechStudio