The Calc Guide › Calculator
Calculator
A free standard and scientific calculator in one page. Standard keys by default, scientific functions one toggle away. Angles in degrees, % divides by 100, and multiplication comes before addition.
Last updated: November 25, 2026
Calculate your numbers
Angles in degrees. % divides by 100. You can also type, Enter calculates, Escape clears.
Free. No sign-up. Calculated in your browser; nothing is sent to our servers.
How this calculator reads your expression
This calculator waits until you press = and then works out the whole expression at once, following the order of operations. That is why 2 + 3 × 4 = 14 here: the multiplication happens before the addition. Some simple calculators work in button-press order instead, which gives 20 for the same keystrokes (Wikipedia, Order of operations). Neither machine is broken; they read the expression by different rules.
This page uses the standard rule, a convention used throughout mathematics, science, technology and many programming languages (Wikipedia, Order of operations). Brackets first, then powers and roots, then multiplication and division, then addition and subtraction. Brackets override everything. (2 + 3) × 4 = 20, because the brackets force the addition first. If an answer ever surprises you, add brackets around the part you want done first, and the result no longer depends on which rule a calculator uses.
Standard and scientific: what changes
The Standard view is the everyday keypad: add, subtract, multiply, divide, percent and a decimal point, with big keys and nothing else. The bracket keys live on the Scientific keypad, one toggle away, though typed brackets work in Standard mode too.
The Scientific view, one toggle away at the top of the tool, adds trig, logs, powers, roots, factorials and constants. The toggle only changes which keys are shown; the expression rules stay the same in both views, and the mode you are in stays visible while you calculate. Standard is the default every time the page opens, unless you open it with ?mode=scientific in the address, which starts it in scientific view.
Scroll sideways to see all columns →
| Function | Key | Example (what you type) |
|---|---|---|
| Sine, cosine, tangent (degrees) | sin cos tan | sin(30) = 0.5 |
| Logarithm base 10 | log | log(1000) = 3 |
| Natural logarithm | ln | ln(e) = 1 |
| Square root | √ | sqrt(144) = 12 |
| Powers | xʸ and x² | 2^10 = 1024 |
| Factorial | ! | 5! = 120 |
| Reciprocal | 1/x | inv(4) = 0.25 |
| Constants | π e | pi = 3.1415926536, e = 2.7182818285 |
The Example column shows what to type. The √ key types sqrt(, the 1/x key types inv( and the π key types pi, so a typed expression uses those words.
Example
Worked examples
A tip. A bill of $85 with an 18% tip: 85 × 18% = 15.30, because 18% here means 0.18. The total is 85 + 15.30 = 100.30. Multiplication with a percent works the way you expect; it is addition and subtraction with a percent where this page differs from a pocket calculator, explained below.
A sale price. A $200 jacket at 25% off: 200 − (200 × 25 ÷ 100) = 150. Write the discount out in full like this. Typing 200 − 25% here gives 199.75, because % always means divide by 100 on this page, while a pocket calculator treats −25% as take off 25% of 200 and gives 150.
Brackets change the answer. 2 + 3 × 4 = 14, but (2 + 3) × 4 = 20. Same digits, different brackets, different answer. When a result looks wrong, check the brackets first.
A trig check. sin(30) = 0.5, because angles are in degrees. If your angle is in radians, convert it to degrees first: degrees = radians × 180 ÷ π. An angle of π ÷ 6 radians is 30 degrees, so type sin(30). Typing sin(pi/6) gives 0.0091383954 here, the sine of about 0.5236 degrees, not 0.5.
The % key, and why another calculator disagrees
On this page, % always means divide by 100, nothing more. 10% = 0.1. 200 + 10% = 200.1. 50% of 200 is written 200 × 50% = 100. That rule is simple and it never changes, which is why this page uses it.
Pocket calculators often use a different rule. Raymond Chen of Microsoft writes that the Windows calculator percent key works the same way as pocket calculators, and shows 72 + 5% as the price of a $72 item after 5% tax. Read that way, +10% means add 10% of the number before it, so 200 + 10% = 220, and 200 − 10% = 180. If your pocket calculator and this page disagree on a sum with %, neither is wrong; they are applying different % rules. For a discount or a markup on this page, write it out in full, as in the sale example above.
The same kind of disagreement happens with angles. The sine function in Python (math.sin), JavaScript (Math.sin) and the Excel SIN function all take radians, so sin(30) there means sin(30 radians), a different number: -0.9880316241. This page works in degrees and states it on the tool itself. To convert, radians = degrees × π ÷ 180, and degrees = radians × 180 ÷ π.
Good to know
C clears everything, including the history line above the display that shows the expression you just calculated. The backspace key deletes the last character. Pressing = again on a number result gives the same number, because the tool evaluates the whole expression fresh each time.
Typing has four rules. Use * for multiply and / for divide, because the × and ÷ symbols on the page cannot be typed. Use “-” for minus, sqrt( for the square root and pi for π. Write function names and pi in lowercase. Write multiplication out in full: 2(3 + 1) gives an error here, because the multiplication sign is missing. Write 2 * (3 + 1) = 8 instead.
Division by zero gives an error rather than a made-up number, and factorial only accepts whole numbers from 0 to 170, because 171! is larger than the biggest number a browser can hold, about 1.8 × 10^308 (MDN, Number.MAX_VALUE).
Two sign rules are worth knowing. Powers group to the right, so 2^3^2 = 512 (that is 2^(3^2), not (2^3)^2 = 64), the way Google Search and Wolfram Alpha read it (Wikipedia, Order of operations). And a minus sign binds less tightly than a power except in the exponent itself, so −2^2 = −4, but 2^−2 = 0.25. Written mathematics reads −3² as −9; spreadsheets such as Excel apply the minus sign first and give 9 (Wikipedia, Order of operations). When in doubt, brackets remove all doubt.
Limits and rounding. Results show up to 10 decimal places, so 1 ÷ 3 shows 0.3333333333 and 0.1 + 0.2 shows 0.3. A result of 1,000,000,000,000 (10^12) or more, or 0.000000001 or smaller, switches to exponent form with 7 significant digits: 999999999 × 999999999 shows 1e+18, and 2 ÷ 3 × 10^-10 shows 6.666667e-11.
Some results look odd and are not typos. sin(180) shows 1.224647e-16 and cos(90) shows 6.123234e-17, not 0. These are leftovers from converting degrees with π; read them as 0. tan(90) is undefined, so it shows ‘Not a number’.
Sources and method
This page needs no external data, because every figure on it is arithmetic worked by the tool itself. The conventions it follows come from the sources opened for this page on November 19, 2026, listed below. Every example on this page was run through the calculator’s own evaluator code and recomputed separately in Python on that date; all of them matched. Results are shown to 10 decimal places, as stated above.
Sources opened November 19, 2026:
Related calculators
For percent questions with the steps shown, use the percentage calculator. For splitting a bill and working out a tip, use the tip calculator. For growth over time, use the compound interest calculator. Every tool on the site is listed on the All calculators page.
Frequently asked questions
Why is 2 + 3 × 4 = 14 and not 20?
Multiplication is worked first: 3 × 4 = 12, and then 2 + 12 = 14. A result of 20 comes from simple calculators that apply each key in the order you press it. Put brackets round the addition and you get 20 here too: (2 + 3) × 4.
Why does 200 + 10% give 200.1 here but 220 on my pocket calculator?
The two calculators apply different % rules. Here % divides by 100, so 200 + 10% is 200 + 0.1 = 200.1. Many pocket calculators read +10% as ten percent of 200 added on. To get 220 here, type 200 + (200 × 10 ÷ 100).
Are the angles in degrees or radians?
Degrees: sin(30) = 0.5 here. Python, JavaScript and Excel take radians instead, so sin(30) is -0.9880316241 there. As a check, 30 degrees = 0.5236 radians.
Can I type instead of tapping the keys?
Yes. Type into the display, press Enter to calculate and Escape to clear. Multiply and divide are typed as * and /, not × and ÷. A typed expression follows the same rules as the keys, which are there for tapping on a phone.
Does this calculator save or send my numbers?
The calculation runs in your browser; nothing you type is sent to our servers. The history line above the display shows only the expression you just calculated, and C clears it. For what the site collects, see the Privacy Policy. Free. No sign-up.
Educational tool only. Results are estimates based on the numbers you enter and the assumptions explained on this page, not financial advice.