Calculator
A free online calculator with basic and scientific functions. Perform addition, subtraction, multiplication, division, percentages, square roots, powers, and use memory functions. Works entirely in your browser with no backend required.
How to Use This Calculator
This online calculator works like a standard desktop calculator. Enter numbers using the button grid or your keyboard, select an operation (+, -, x, /), and press the equals button (=) to see the result. Use parentheses for complex expressions, the percent button for percentage calculations, and the square root or power buttons for advanced math. Memory functions (MC, MR, M+, M-) let you store and recall values during multi-step calculations.
Calculator Functions and Formulas
Addition: a + b
Subtraction: a - b
Multiplication: a x b
Division: a / b
Percentage: a% = a / 100
Square Root: sqrt(a)
Power: a^b = a raised to the power of b
Parentheses: (a + b) x c — controls order of operations
The calculator follows standard mathematical order of operations (PEMDAS): Parentheses, Exponents, Multiplication/Division (left to right), Addition/Subtraction (left to right).
Example Calculations
Basic: 25 + 17 = 42
Multiplication: 12 x 8 = 96
Division: 144 / 12 = 12
Percentage: 200 x 15% = 30
Square Root: sqrt(144) = 12
Power: 2^10 = 1024
Parentheses: (5 + 3) x 4 = 32
Complex: (100 - 20) / 4 + 5^2 = 45
Calculator Button Reference
| Button | Function | Example |
|---|---|---|
| AC | All Clear - resets calculator | Clears display and memory |
| C | Clear - clears current entry | Resets display to 0 |
| Backspace | Delete last character | 123 becomes 12 |
| % | Percentage | 50% = 0.5 |
| √ | Square root | √(25) = 5 |
| x^y | Power / exponent | 3^4 = 81 |
| ( ) | Parentheses for grouping | (2+3)*4 = 20 |
| MC | Memory Clear | Clears stored value |
| MR | Memory Recall | Displays stored value |
| M+ | Memory Add | Adds current to memory |
| M- | Memory Subtract | Subtracts from memory |
Frequently Asked Questions
Does this calculator follow order of operations?
Yes, this calculator follows standard mathematical order of operations (PEMDAS/BODMAS). Expressions in parentheses are evaluated first, followed by exponents, then multiplication and division from left to right, and finally addition and subtraction from left to right.
How do I use the memory functions?
Use M+ to add the current value to memory, M- to subtract from memory, MR to recall the stored value, and MC to clear memory. This is useful for multi-step calculations where you need to store intermediate results.
What is the maximum number this calculator can handle?
This calculator uses JavaScript floating-point arithmetic, which can handle numbers up to approximately 1.8 x 10^308. For very large or very small numbers, results may be displayed in scientific notation (e.g., 1.5e+20).
Can I use keyboard input?
This calculator is designed for button-based input. Click the on-screen buttons to enter numbers and operations. The display shows your current expression and updates in real time as you build your calculation.
How do I calculate a percentage of a number?
To find a percentage of a number, multiply the number by the percentage and press the % button. For example, to find 15% of 200, enter 200, press x, enter 15, press %, then press =. The result is 30.