Skip to content

Calculator

What is the Calculator?

A free online calculator that works right in your browser. It has two modes: Basic for everyday arithmetic and Scientific for trigonometry, logarithms, powers, and constants like π and e.

How to Use This Calculator

Basic Mode

Tap the number buttons to enter values, then choose an operator (+, −, ×, ÷) and press = to get your answer. You can also type on your keyboard — numbers, operators, Enter for equals, and Escape to clear.

Scientific Mode

Click the Scientific toggle to unlock extra functions:

  • Trigonometry: sin, cos, tan — all in degrees
  • Logarithms: log (base 10) and ln (natural log)
  • Powers: x² (square) and xʸ (any power)
  • Square root:
  • Constants: π (3.14159…) and e (2.71828…)
  • Parentheses: ( ) for grouping sub-expressions
  • Implicit multiplication: type or 5sin(90) and the calculator automatically inserts the multiplication

What the Results Mean

DisplayMeaning
Expression (top)The full expression you are building, shown as you type
Result (bottom, green)The evaluated answer after pressing =
Error (red)Domain errors like division by zero, negative square root, or overflow
History panelA collapsible list of past calculations — tap any entry to reload it

Tap the result area to copy the value to your clipboard. A checkmark confirms the copy.

Good Examples

Example 1: Adding Up Expenses

You bought groceries for 12.50,12.50, 8.75, and $23.00.

  • Input: 12.50 + 8.75 + 23
  • Result: 44.25

Example 2: Applying a 20% Discount

A $150 item is on sale at 20% off.

  • Input: 150 × 0.8
  • Result: 120

Example 3: Trigonometry — Finding a Height

A 15-meter ladder leans against a wall at 60 degrees.

  • Input (Scientific mode): 15 × sin(60)
  • Result: 12.99 (about 13 meters high)

Example 4: Compound Growth with Powers

An investment doubles every year for 10 years starting at $1,000.

  • Input: 1000 × 2 ^ 10
  • Result: 1,024,000

Example 5: Using Constants

Calculate the circumference of a circle with radius 7.

  • Input: 2π × 7 (implicit multiplication handles )
  • Result: 43.9822971502571

Sharing and URL Parameters

You can share any calculation by clicking the Share Result button. The generated URL includes:

  • ?mode=basic or ?mode=scientific — preserves the selected mode
  • &expr=sin(90) — encodes the expression so the recipient sees the same result

On mobile, the native share sheet opens. On desktop, the URL is copied to your clipboard.

Key Tips

  • Keyboard shortcuts: Type numbers and operators directly. Use Enter for =, Backspace to delete, and Escape to clear all.
  • Repeat equals: After getting a result, press = again to re-apply the last operation. For example, 5 + 3 = 8, then = 11, = 14, and so on.
  • History panel: Click the history header to expand past calculations. Tap any entry to reload its result for further chaining.
  • Parentheses guard: The ) button only works when there is a matching ( to close — no unbalanced parentheses possible.
  • Precision: Results display up to 15 significant digits, matching the Apple calculator standard. Very large or very small numbers automatically switch to scientific notation.

Formulas

Basic Arithmetic

a+b,ab,a×b,a÷ba + b,\quad a - b,\quad a \times b,\quad a \div b

Trigonometric Functions

sin(θ),cos(θ),tan(θ)\sin(\theta),\quad \cos(\theta),\quad \tan(\theta)

Logarithms

log10(x),ln(x)\log_{10}(x),\quad \ln(x)

Power and Square Root

xy,xx^y,\quad \sqrt{x}

VariableMeaning
a,ba, bOperands (input numbers)
θ\thetaAngle in degrees
xxPositive number (for log/ln/sqrt)
yyExponent

Frequently Asked Questions

Are trigonometric functions in degrees or radians?

Degrees. Enter the angle directly — for example, sin(90) returns 1. No conversion needed.

What is the maximum precision?

The calculator displays up to 15 significant digits. Internally it uses 100-digit arbitrary precision arithmetic, so chained calculations stay accurate.

Can I share my calculation with someone?

Yes. Click Share Result to generate a URL that includes your expression and mode. The recipient will see the exact same calculation when they open the link.

Does the calculator support keyboard input?

Yes. All number keys, operators (+, -, *, /), Enter (=), Backspace (delete), Escape (clear), and parentheses work from your keyboard.

Is my calculation history saved?

History is kept during your current session (up to 20 entries). It resets when you refresh the page — no data is stored on any server.

FAQ

Is this tool free to use?

Yes, all tools on Toolmize are completely free. No sign-up, no hidden fees — just open and use.

Is my data safe?

All calculations happen directly in your browser. No data is sent to any server, so your information stays 100% private.