Basic Arithmetic
The calculator supports standard arithmetic operations with full BigNumber precision (64 significant digits).
| 2 + 2 | Addition |
| 5 - 3 | Subtraction |
| 6 * 7 | Multiplication |
| 144 / 12 | Division |
| -3 * -4 | Negative numbers |
| 1.5e3 | Scientific notation — 1.5 × 10³ = 1500 |
Exponentiation & Roots
Raise numbers to powers or extract roots. The caret ^ is your power operator.
| 2^10 | Power: 2¹⁰ = 1024 |
| 10^-2 | Negative exponent: 10⁻² = 0.01 |
| sqrt(144) | Square root |
| sqrt3(27) | Cube root via sqrt3(x) |
| sqrt(256, 4) | nth root: sqrt(x, n) — 4th root of 256 |
| 10^(2 | Auto-close: unmatched ) are added automatically |
Trigonometry
Full trig support in degrees or radians. Toggle the Deg/Rad radio buttons below the input.
| sin(90) | Sine in degree mode → 1 |
| cos(0) | Cosine |
| tan(45) | Tangent → 1 in degree mode |
| asin(0.5) | Inverse sine |
| sinh(1) | Hyperbolic sine |
| cot(45) | Cotangent |
| sec(60) | Secant |
| csc(30) | Cosecant |
Logarithms & Exponentials
Natural and base-2 logarithms, plus the exponential function.
| ln(e) | Natural log — ln(x) is logₑ(x) |
| ln(e^5) | Natural log of e⁵ → 5 |
| log2(8) | Log base 2 → 3 |
| lg2(1024) | Alias for log2 → 10 |
| exp(1) | e¹ ≈ 2.71828 |
| log(1000) | log(x) is natural log (same as ln) |
Combinatorics
Combinations and permutations for counting problems.
| ncr(49, 6) | Combinations: 49 choose 6 → 13,983,816 |
| nCr(5, 2) | Case-insensitive alias → 10 |
| npr(7, 3) | Permutations: 7 pick 3 → 210 |
| nPr(5, 3) | Case-insensitive alias → 60 |
Modulo & Percentages
| 17 mod 5 | Modulo: remainder of 17 ÷ 5 → 2 |
| 123^345 mod 127 | Large exponent modulo |
| 100 + 5% | Add 5% to 100 → 105 |
| 200 - 10% | Subtract 10% from 200 → 180 |
Constants
Built-in mathematical constants.
| pi | π ≈ 3.14159 |
| e | Euler's number ≈ 2.71828 |
| i | Imaginary unit √-1 |
Programmer Features
Hexadecimal, binary, and bitwise operations for low-level work.
| 0xFF | Hex literal → 255 |
| 0b1010 | Binary literal → 10 |
| 0xA and 0x3 | Bitwise AND → 2 |
| 0xA or 0x3 | Bitwise OR → 11 |
| 0xA xor 0x3 | Bitwise XOR → 9 |
| 5 shl 1 | Left shift → 10 |
| 10 rsh 1 | Right shift → 5 |
Auto-Close Parentheses
Forgot a closing parenthesis? The calculator automatically balances unmatched opening parentheses so expressions like 10^(2 still evaluate correctly.
| 10^(2 | → 10^(2) = 100 |
| sin(90 | → sin(90) = 1 (deg mode) |
| (1+2)*(3+4 | → (1+2)*(3+4) = 21 |
Ξ ETH Unit Converter
Live bidirectional conversion between Wei, Gwei, and ETH. Type into any field and the other two update instantly.
| WeiSmallest ETH denomination — 1 Wei = 10⁻¹⁸ ETH | |
| GweiGas denomination — 1 Gwei = 10⁹ Wei = 10⁻⁹ ETH | |
| ETHMain Ether unit — 1 ETH = 10¹⁸ Wei |
Located below the main calculator. Supports comma formatting and decimal precision up to 18 places.
History & Clipboard
Every calculation is saved in the history dropdown below the input. Click to recall a previous result into the input field.
| HistoryClick the history button (-- History --) to see past calculations. Click any entry to re-use it. | |
| ClipboardClick the clipboard icon to open a textarea with all your results, ready to copy. | |
| Clear HistoryOpen history → click 'clear history' to wipe all entries. |
Results are rendered as crisp SVG images — no blurry text at any zoom level.
Graphing
Click the graph icon (📷 screenshot) next to the input to open the graphing tool in a new tab.
Tips & Tricks
| Use parentheses generouslyGroup expressions clearly: (3+5)*(2-1) instead of 3+5*2-1. | |
| Deg vs RadAlways check the Deg/Rad toggle before trig calculations. 90° ≠ 90 rad. | |
| BigNumber precisionThe calculator uses 64-digit BigNumber precision. No more 0.1 + 0.2 !== 0.3 surprises for complex calculations. | |
| Keyboard inputYou can type directly into the input field — no need to click buttons. Use Enter to evaluate. | |
| On-screen keyboardToggle the keyboard icon to show/hide the on-screen button pad. |