Calculators

Scientific Calculator

Trigonometry, logarithms, powers, roots, and more — a full scientific calculator that runs entirely in your browser, with no data ever sent anywhere.

Scientific Calculator Tool

Scientific Calculator

Angle mode

How to Use This Tool

  1. Build an expression using the keypad, or type directly into the display.
  2. Switch DEG/RAD to control how the trigonometric functions interpret angles.
  3. Press = (or Enter) to calculate.
  4. Use ← to delete the last character, or C to clear everything.

Examples

A few worked examples, including trigonometry and logarithms.
ExpressionResult
(5 + 5) * 220
sqrt(144)12
2^101024
2^2 (square)4
2^3 (cube)8
abs(-7)7
5! (factorial)120
sin(90) in DEG mode1
sin(pi/2) in RAD mode1
log(100)2
ln(e)1

Degrees vs. Radians

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.

How Expressions Are Calculated Safely

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.

Frequently Asked Questions

Is this a real scientific calculator, or just basic arithmetic?

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.

How does factorial (n!) work, and are there any limits?

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.

How do I switch between degrees and radians?

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.

Does this calculator use eval() or run arbitrary code?

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.

Can I type expressions with my keyboard instead of clicking buttons?

Yes. The display accepts typed digits, operators, and parentheses directly, along with Enter to calculate, Backspace to delete, and Escape to clear.

What happens if I divide by zero or enter an invalid expression?

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.

Why did asin/acos give me an error?

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.

Is my calculation uploaded anywhere?

No. Every calculation happens locally in your browser using JavaScript. Nothing you type here is sent to Brekzy or stored anywhere.

Is this tool free to use?

Yes, completely free, with no account, sign-up, or usage limit.

Find More Useful Tools

Explore Brekzy's growing collection of free calculators, converters, AI tools, and practical resources.