# Online Scientific Calculator - Type a Whole Expression

> Free online scientific calculator: type 2*(3+4)^2, sin(pi/6) or log(8,2) and see the answer as you type, with degrees or radians and a history list.

- URL: https://qilingtools.com/en/math/calculator
- Category: Math Tools (https://qilingtools.com/en/math)
- Tags: [Math](https://qilingtools.com/en/tags/math), [Education](https://qilingtools.com/en/tags/education)
- Last updated: 2026-10-26
- Price: Free, no sign-up
- Privacy: Runs locally in the browser; files are never uploaded

Type the whole expression and see the answer update as you go. Parentheses, powers, factorials, trigonometry, logarithms and combinations are all supported, you can switch between degrees and radians, and the previous answer is kept in ans for the next line.

## How to use

1. Type an expression such as 2*(3+4)^2 or sin(pi/6)+ln(e)
2. Switch to DEG if you want trigonometric functions to use degrees
3. Press Enter to store the answer in ans and reuse it in the next expression

## Features

- Whole-expression input with a live result
- sin cos tan asin ln lg log(x, base) sqrt cbrt abs exp floor round min max mod ncr npr
- Factorial 5!, powers with ^, implicit multiplication 2(3+4)
- One-click switch between degrees and radians
- Clickable history, one-click copy

## FAQ

### How do I take a logarithm with a custom base?

Write log(8, 2) — the first argument is the number, the second is the base, giving 3. log(x) alone is base 10; use ln(x) for the natural logarithm.

### How do I work in degrees?

Click DEG at the top and sin(30) becomes 0.5. In radian mode you can also write sin(rad(30)) or sin(pi/6).

### What is ans?

The result of the last expression you confirmed with Enter. Compute 12*5 to get 60, then write ans/4 for 15.

### Is anything uploaded?

No. Parsing and evaluation happen entirely in your browser.

## Related tools

- [Graphing Calculator](https://qilingtools.com/en/math/graph): Free online function graphing calculator: type sin(x), x^2 or 1/x and see the curve at once, with several functions, parametric and polar curves, PNG export.
- [Equation Solver](https://qilingtools.com/en/math/equation): Free online equation solver: enter coefficients for linear, quadratic (with discriminant, vertex and complex roots) and cubic equations, plus 2×2 systems.
- [Fraction Calculator](https://qilingtools.com/en/math/fraction): Free online fraction calculator: add, subtract, multiply and divide fractions with automatic reduction, plus fraction ↔ decimal with repeating digits.
- [Percentage Calculator](https://qilingtools.com/en/math/percentage): Free online percentage calculator: X% of Y, X as a percent of Y, increase and decrease, a value after a percentage change and the original behind it.
- [Prime Factorization](https://qilingtools.com/en/math/prime): Free online prime factorization: factor an integer with exponents, list every divisor and their sum, test primality with neighbouring primes, or list a range.
- [GCD and LCM](https://qilingtools.com/en/math/gcd-lcm): Free online GCD and LCM calculator: works with two or more integers, says whether they are coprime, shows each prime factorization and every Euclidean step.
- [Statistics Calculator](https://qilingtools.com/en/math/statistics): Free online statistics calculator: paste a data set for the mean, median, mode, range, quartiles, variance, standard deviation, standard error and outliers.
- [Combinations](https://qilingtools.com/en/math/combination): Free online combination and permutation calculator: exact C(n,r), P(n,r) and n! with big integers, plus repetition variants and the total number of subsets.
