Web3 Calculator — Help

Everything you need to know about the scientific calculator, ETH unit converter, and all available functions.

← Back to Calculator

Basic Arithmetic

The calculator supports standard arithmetic operations with full BigNumber precision (64 significant digits).

2 + 2Addition
5 - 3Subtraction
6 * 7Multiplication
144 / 12Division
-3 * -4Negative numbers
1.5e3Scientific notation — 1.5 × 10³ = 1500

Exponentiation & Roots

Raise numbers to powers or extract roots. The caret ^ is your power operator.

2^10Power: 2¹⁰ = 1024
10^-2Negative 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^(2Auto-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 5Modulo: remainder of 17 ÷ 5 → 2
123^345 mod 127Large exponent modulo
100 + 5%Add 5% to 100 → 105
200 - 10%Subtract 10% from 200 → 180

Constants

Built-in mathematical constants.

piπ ≈ 3.14159
eEuler's number ≈ 2.71828
iImaginary unit √-1

Programmer Features

Hexadecimal, binary, and bitwise operations for low-level work.

0xFFHex literal → 255
0b1010Binary literal → 10
0xA and 0x3Bitwise AND → 2
0xA or 0x3Bitwise OR → 11
0xA xor 0x3Bitwise XOR → 9
5 shl 1Left shift → 10
10 rsh 1Right 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.