---
title: "Scientific Calculator | Trig, Logs, Powers & Memory | BQ Calculator"
canonical: "https://calculator.bqtools.com/scientific-calculator/"
description: "Use a fast scientific calculator with trig, logs, roots, powers, factorial, constants, memory, degree/radian modes and a safe first-party expression parser."
---

# Scientific Calculator

Evaluate scientific expressions with keyboard input, memory, degree/radian trigonometry and a purpose-built parser that never uses eval().

BQ Calculator · https://calculator.bqtools.com/scientific-calculator/

## Inputs

Share links contain only the values needed to recreate this calculation.

## Supported math

## A scientific expression calculator without dynamic code execution

This calculator parses mathematical expressions using an explicit grammar instead of passing your input to eval() or another dynamic JavaScript execution mechanism. That makes the supported syntax predictable and keeps the calculator’s behavior constrained to mathematical operations.

## Operator order

```text
parentheses → postfix ! and % → powers ^ → × and ÷ → + and −
```

Powers are right-associative, so 2^3^2 is interpreted as 2^(3^2). Unary plus and minus are supported, and scientific notation such as 1.2e6 can be entered directly.

## Trigonometry and angle modes

Choose Degrees for common classroom and practical angle measurements or Radians for calculus and higher mathematics. Inverse trigonometric functions return an angle in the currently selected mode.

## Worked examples

Enter sin(30)^2 + cos(30)^2 in degree mode to verify the trigonometric identity and get approximately 1. Enter sqrt(81) + log(100) to get 11. Enter 5! to calculate 120.

## Precision and limitations

Calculations use JavaScript’s IEEE 754 double-precision numbers. This is appropriate for everyday scientific calculation but can show familiar floating-point rounding effects. Factorials are limited to 170, and the tool is not an arbitrary-precision computer algebra system.

## Frequently asked questions

### Does the scientific calculator use JavaScript eval()?

No. Expressions are parsed by a first-party recursive-descent parser with explicit operators, constants and supported functions. Dynamic code execution is not used.

### Which trigonometric functions are supported?

The calculator supports sin, cos, tan, asin, acos and atan. You can switch the angle mode between degrees and radians.

### What constants and functions can I type?

Supported constants include pi, e and ans. Functions include sqrt, abs, ln, log, exp, floor, ceil, round and the trigonometric functions listed above.

### How does the percent symbol work?

A postfix percent sign divides the preceding value by 100. For example, 50% evaluates to 0.5.

### What is the largest factorial supported?

Factorial is limited to non-negative integers from 0 through 170 because larger factorials exceed the finite numeric range used by the browser.

### Related calculators

All calculation inputs stay local to this browser.

## Machine-readable resources

- Calculator registry: https://calculator.bqtools.com/calculators.json
- Site index: https://calculator.bqtools.com/llms.txt
- Full agent text: https://calculator.bqtools.com/llms-full.txt
- Agent discovery index: https://calculator.bqtools.com/agent-index.json
