# Calculator

> Basic and scientific calculator. Add, divide, use powers, roots, logarithms and trigonometry — all on your device.

URL: https://uttir.com/calculator
Categories: math-tools, calculators, developer-tools
Privacy: Every expression is calculated in your browser. Nothing is typed, logged or sent anywhere — the tool works offline.

## About

A calculator that does the ordinary arithmetic you need every day, and the scientific functions you reach for less often — in the same place.

Type an expression directly, or tap the keypad. It understands the usual conventions: brackets before multiplication, exponents before unary minus, and % as a percentage rather than a remainder.

## How to use

1. **Enter an expression** — Type into the field, or tap digits and operators on the keypad below it.
2. **Pick your angle unit** — Trigonometric functions read degrees by default. Switch to radians when your textbook uses them.
3. **Read the result** — The answer is shown beneath, with long values trimmed of floating-point noise.
4. **Reuse it** — Recent results stay in the history strip so you can pick up where you left off.

## Examples

### Everyday arithmetic

Brackets first, then multiplication, then subtraction.

Input:

```
(19.99 + 5) * 1.2
```

Output:

```
29.988
```

### A scientific expression

Functions compose like ordinary maths.

Input:

```
sin(30) + log(1000) + sqrt(144)
```

Output:

```
15.5
```

### Powers, roots and percentages

Exponents read right to left, and % divides by 100.

Input:

```
2^3^2  ·  sqrt(2)^2  ·  200*10%
```

Output:

```
512  ·  2  ·  20
```

## FAQ

### Is this calculator sent to a server?

No. The expression is read and calculated entirely inside your browser, which is why it keeps working with no connection at all. Nothing you type leaves your device.

### How do I enter square roots and powers?

Use sqrt(16) for a square root and ^ for a power, so 2^10 gives 1024. Exponents read from the right, which matches how they are written on paper: 2^3^2 is 512, not 64.

### What does % mean here?

Percentage, taken literally as a value divided by 100: 50% is 0.5 and 200*10% is 20. For a remainder use mod(a, b), so mod(10, 3) is 1.

### Why is −2² negative?

Because the exponent binds tighter than the minus sign, exactly as in mathematics: −2² is minus two squared, which is −4. Use (−2)² for four.

### Does it do degrees or radians?

Degrees by default, matching most calculators. Switch to radians in the toolbar if that is what you are working in — 2×π radians is the same as 360°.

### Which functions are available?

sin, cos, tan and their inverses, plus sinh, cosh and tanh. For numbers: sqrt, cbrt, abs, round, floor and ceil. For logarithms: ln, log, log2 and log10. Also exp, factorial with !, and mod, min and max.

## Related tools

- [Statistics Calculator](https://uttir.com/statistics-calculator) — Compute mean, median, mode, range, variance, standard deviation, and quartiles from a list of numbers.
- [Percentage Calculator](https://uttir.com/percentage-calculator) — Three percentage tools in one: percent of a value, ratio as a percent, and percent change.
- [Random Number Generator](https://uttir.com/random-number-generator) — Pick a random number, roll dice, or shuffle a list. Cryptographically secure, runs locally.
- [Number Base Converter](https://uttir.com/number-base-converter) — Convert between binary, octal, decimal, and hexadecimal. Type in any field and the other three update live.

---

For the full HTML page with the live tool, visit https://uttir.com/calculator.
This file is the markdown rendering at https://uttir.com/calculator.md. See https://uttir.com/llms.txt for a site-wide summary.
