Scientific Calculator
A keypad calculator for trig, logarithms, powers and roots. Type a whole expression such as 1000(1 + 0.05/12)^120 or use the keys; it follows the order of operations, works in radians, degrees or grads, and keeps a history and a memory.
How to Use
- Type an expression, or build it with the keypad; both edit the same line and the result updates as you go. The Examples under the keypad load and evaluate one for you (sin 30° also switches to Deg).
- Click the Rad key to cycle Rad → Deg → Grad. The mode shows under the result and applies to trig and inverse trig.
- Press 2nd for the second labels: sin⁻¹, cos⁻¹, tan⁻¹, x³, ⁿ√, ∛, 10ˣ, eˣ, τ, φ, sinh, cosh, tanh, nPr, mod, M+ and M−.
- Write powers with ^ (2^10), factorials with ! (5!) and functions with brackets: root(3, 27), nCr(52, 5), log(2, 8). Implicit multiplication works: 2pi, 3(4 + 5).
- Press Enter or = to keep the result. It goes into Ans and the history; click a history entry to load it again.
Worked Example
The placeholder expression. In Rad mode, sin(pi/4) + log(100) = 0.707106781187 + 2 = 2.70710678119. sin(π/4) is √2/2, and log is base 10, so log(100) = 2.
Compound interest in one line. $1,000 at 5% a year, compounded monthly for 10 years, is 1000(1 + 0.05/12)^120 = 1647.00949769. The power is worked out before the multiplication by 1000, and the brackets make the division by 12 happen first.
The common mistake: the wrong angle mode. sin(30) should be 0.5, but in Rad mode the calculator reads 30 as 30 radians and gives −0.988031624093. Click Rad until the display shows DEG and the same keys give 0.5. If a trig answer looks odd, check the mode under the result first.
Show Work
Formulas
From Slide Rule to Pocket Calculator
John Napier published his logarithms in 1614, turning multiplication into addition, and around 1622 William Oughtred put two logarithmic scales side by side to make the slide rule. For three and a half centuries engineers multiplied, divided and took roots and sines on slide rules, to about three significant figures.
Hewlett-Packard’s HP-35 of 1972, priced at $395, was the first pocket calculator with trig, log and exponential functions. It computed them with CORDIC-style shift-and-add algorithms, an approach Jack Volder had published in 1959, and within a few years slide rules were out of production. The binary floating-point format this calculator uses was standardised as IEEE 754 in 1985.
About This Tool
This is a general keypad calculator for chaining expressions quickly: trig and inverse trig (sin, cos, tan, sec, csc, cot, asin, acos, atan, atan2), hyperbolic functions, log, ln, log2 and any base, powers and roots, n!, nCr, nPr and gamma, and abs, floor, ceil, round, trunc, mod, gcd, lcm, min, max and hypot, with π, e, τ, φ, Ans and a memory. It works in 64-bit floating point. The focused calculators go deeper on one operation: the Basic Calculator gives exact answers and shows the order of operations step by step, and the Log Calculator gives exact logs of exact powers with the change-of-base working.
Everything runs in your browser; nothing is uploaded.
Related tools: Basic Calculator, Log Calculator, Big Number Calculator, and Significant Figures Calculator.
Frequently Asked Questions
In what order does it work things out?
Brackets, then powers, then multiplication and division from left to right, then addition and subtraction: 2 + 3 × 4 = 14. Powers come before a leading minus, so −2^2 = −4, and they group from the right, so 2^3^2 = 2^9 = 512. Implicit multiplication has the same rank as ×, so 1/2pi is (1/2)π = 1.57079632679; write 1/(2pi) for 0.159154943092.
What is the difference between log and ln?
log is base 10 and ln is base e: log(100) = 2 and ln(e) = 1. log2 is base 2, so log2(1024) = 10. For any other base, put the base first: log(2, 8) = 3.
Why does sin(pi) show 1.224646799e-16 and not 0?
Because pi is stored to about 16 significant digits, not exactly, and sin of that slightly-off number is tiny but not zero. The same happens with sin(180) in degree mode, which converts 180° to that stored pi. Read anything around 1e-16 next to numbers of size 1 as zero.
How precise is it?
It uses 64-bit floating point, good to 15–17 significant digits, and shows 12 significant digits, so 0.1 + 0.2 shows 0.3 although the stored value is 0.30000000000000004. Whole numbers are exact up to 253 = 9,007,199,254,740,992; 2^53 + 1 is stored as 253. The largest factorial is 170! ≈ 7.257415615e+306, and 171! is ∞. For exact answers of any length, use the Big Number Calculator.
What does the % key do?
It gives the remainder, not a percentage: 17 % 5 = 2. With a negative number the remainder takes its sign, so −7 % 3 = −1, while mod(−7, 3) = 2. For 15% of 80, type 80 × 15/100 = 12.
How do I use the Scientific Calculator?
Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.
Is it free? Does it work without internet?
Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.
Where does my data go?
Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.
Common Use Cases
Compound interest
$1,000 at 5% a year compounded monthly for 10 years: 1000(1 + 0.05/12)^120 = 1647.00949769.
Doubling time
At 7% growth, ln(2)/ln(1.07) = 10.2447683511 years to double.
Physics
A projectile at 20 m/s and 45°, in Deg mode: 20^2 sin(90)/9.81 = 40.7747196738 m of range.
Right triangles
hypot(3, 4) = 5, and atan(3/4) in Deg mode = 36.8698976458°.
Counting
nCr(52, 5) = 2598960 different five-card poker hands.
Last updated: