Skip to main content

calculator

An online calculator performs arithmetic and scientific operations directly in your browser without installing anything, supporting basic math (+, βˆ’, Γ—, Γ·), parentheses, exponents, square roots, trigonometric functions (sin, cos, tan), logarithms (log, ln), and common constants (Ο€, e). The ZTools Calculator handles full expression parsing β€” type "(3 + 4) Γ— sin(45Β°) Γ· √2" and get the answer in one shot β€” keeps a running history of recent calculations, supports keyboard shortcuts, and works offline once loaded.

Use cases​

Quick math during a meeting or call​

Open a tab, type the expression, get the answer. Faster than launching the OS calculator app, and the history shows what you computed in case you need it twice.

Engineering and physics homework​

Trig, logs, and unit conversions in one place. Express a complete formula like "0.5 Γ— 9.81 Γ— tΒ²" and step through values of t without re-typing.

On-site work without a calculator app​

A Chromebook, a borrowed laptop, a kiosk β€” any browser becomes a scientific calculator. No install, no permissions needed.

Teaching expression evaluation order​

Students see PEMDAS in action by editing parentheses and watching the result change. Useful for learning operator precedence.

How it works​

  1. Type or click an expression β€” Numbers, operators, parentheses, function names. Click buttons for touch input or type for keyboard speed.
  2. The expression is parsed safely β€” A math expression parser (not eval) tokenizes the input, applies PEMDAS, and computes the result. Invalid expressions show an error highlighting the bad token.
  3. Read the answer instantly β€” Result appears as you type. Press Enter or click = to commit it to history.
  4. Reuse history β€” Recent results stay in a side panel. Click any past result to insert it into the current expression β€” useful for chained calculations.

Examples​

Input: (3 + 4) Γ— 2

Output: 14


Input: sin(30Β°) + cos(60Β°)

Output: 1.0


Input: √144 + log(1000)

Output: 15

Frequently asked questions​

Is this a scientific calculator?

Yes β€” it supports trig (sin, cos, tan, asin, acos, atan), logs (log = log₁₀, ln = natural log), exponents (^), square root (√), constants (Ο€, e), and full expression parsing with parentheses.

Does it use degrees or radians for trig?

Default is degrees, with a toggle for radians. Use the appropriate mode for your context β€” most homework uses degrees, most physics uses radians.

Can it handle complex numbers or matrices?

No β€” for those use the dedicated Matrix Calculator and Expression Evaluator tools, which support more advanced math.

Does it work offline?

Yes β€” once the page loads, all calculation runs in JavaScript in your browser. Install ZTools as a PWA for offline access.

How is order of operations handled?

Standard PEMDAS: parentheses, exponents, multiplication and division (left-to-right), addition and subtraction (left-to-right). Use parentheses if in doubt β€” the parser respects them strictly.

Tips​

  • Use Ans (or up-arrow) to reuse the previous result without retyping.
  • For scientific notation, type 6.022e23 β€” equivalent to 6.022 Γ— 10Β²Β³.
  • When mixing degrees and radians, prefer parentheses and explicit conversion β€” sin(Ο€/6) in radians, sin(30Β°) in degrees.
  • Use parentheses generously β€” they're free and prevent operator-precedence bugs.

Try it now​

The full calculator runs in your browser at https://ztools.zaions.com/calculator β€” no signup, no upload, no data leaves your device.

Open the tool β†—


Last updated: 2026-05-05 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub