Trigonometry, logarithms, powers, roots, and more — a full scientific calculator that runs entirely in your browser, with no data ever sent anywhere.
| Expression | Result |
|---|---|
(5 + 5) * 2 | 20 |
sqrt(144) | 12 |
2^10 | 1024 |
2^2 (square) | 4 |
2^3 (cube) | 8 |
abs(-7) | 7 |
5! (factorial) | 120 |
sin(90) in DEG mode | 1 |
sin(pi/2) in RAD mode | 1 |
log(100) | 2 |
ln(e) | 1 |
Degrees and radians are two different units for measuring the same angles — a full circle is 360 degrees, or 2π radians. The trigonometric functions give completely different results depending on which unit the input is meant to represent, which is why this calculator makes the current mode clearly visible at all times and applies it consistently to sin, cos, tan, and their inverses.
This calculator never runs your input as JavaScript code. Instead, what you type is broken down and calculated by a purpose-built parser that only understands numbers, the operators + − × ÷ ^ %, parentheses, the constants π and e, and a fixed list of named functions. Anything outside that limited, well-defined vocabulary is rejected with an error rather than executed — a deliberate safety design, not an incidental one.
It's a full scientific calculator: basic arithmetic, parentheses, powers (including one-tap square and cube), roots, absolute value, factorial, percentages, reciprocals, the trigonometric functions (sin, cos, tan and their inverses), logarithms (base 10 and natural), the exponential function, and the constants π and e.
Type a number followed by ! (or use the n! button), like 5! for 5 factorial. It only accepts non-negative whole numbers, and is capped at 170! -- one step further, 171!, is too large for a JavaScript number to represent exactly and would silently become "Infinity," so this calculator stops and shows a clear message instead.
Use the DEG/RAD toggle above the display. The current mode is always shown, and it affects every trigonometric function — sin(90) equals 1 in Degrees mode, but a completely different value in Radians mode, since 90 radians is a very different angle than 90 degrees.
No. Every expression is parsed and calculated by a purpose-built parser that only understands a fixed set of numbers, operators, and named functions — there is no code path that could execute arbitrary JavaScript from what you type.
Yes. The display accepts typed digits, operators, and parentheses directly, along with Enter to calculate, Backspace to delete, and Escape to clear.
You'll see a clear, specific error message — "Division by zero," a note about unbalanced parentheses, or similar — rather than a blank or confusing result.
Inverse sine and cosine are only defined for inputs between -1 and 1. A value outside that range has no real answer, so the calculator reports that clearly rather than showing a meaningless result.
No. Every calculation happens locally in your browser using JavaScript. Nothing you type here is sent to Brekzy or stored anywhere.
Yes, completely free, with no account, sign-up, or usage limit.
Explore Brekzy's growing collection of free calculators, converters, AI tools, and practical resources.