Scientific Calculator

A free scientific calculator with trigonometry, logarithms, exponents, factorials, history and memory.

Expressions are evaluated in your browser and never sent to a server.

Ans: 0M: 0

Result

4.5

sin(30)+sqrt(16)

Supported syntax

sin(30), sqrt(9), log(100), 2^8, 5!, 15%, pi, e, Ans, M are supported.

History

Results you calculate appear here.

Examples

What is this tool?

A full scientific calculator that runs in your browser. It supports functions like sin, cos, tan, log, ln, sqrt, exponents, factorials and percentages, with DEG/RAD modes, an Ans variable, memory keys and a calculation history.

How to use

  1. Type an expression or use the on-screen keypad.
  2. Press Calculate (or Enter) to evaluate and add it to the history.
  3. Use Ans and M to chain calculations, and DEG/RAD to switch angle units.

Use cases

  • Quick engineering or homework calculations.
  • Percentages and powers without opening a spreadsheet.
  • Chaining results with Ans and memory keys.

Notes

  • Factorials support integers up to 170.
  • All calculations happen locally in your browser.

FAQ

How do I switch between degrees and radians?

Use the DEG / RAD toggle above the input. Trigonometric functions respect the selected angle mode.

What do Ans and M do?

Ans holds the result of your last calculation, and M is a separate memory slot with M+, M−, MR and MC buttons — like a physical calculator.

Is my input sent to a server?

No. Expressions are evaluated locally in your browser.

Related tools

Days Calculator

Calculate the number of days between two dates, or the date N days from now.

Age Calculator

Calculate exact age from a date of birth, including days lived and next birthday.

Business Days Calculator

Count business days excluding weekends and Japanese national holidays.

Character Counter

Count characters, lines, paragraphs and bytes of text in real time.

PDF Tools

Merge, extract and rotate PDF pages locally in your browser.

Markdown Editor

Write Markdown with live preview, HTML copy and .md download.

Unit Converter

Convert length, weight, area, volume, temperature and data size.

Timestamp Converter

Convert between Unix timestamps, ISO 8601 and local date-times.

Percentage Calculator

Percentages, increase/decrease rates, discounts and reverse calculation.

Image Compressor

Compress JPEG, PNG and WebP images in bulk, entirely in your browser.

Image Converter

Convert between HEIC, JPEG, PNG, WebP and more without uploading files.

QR Code Generator

Create QR codes for URLs, text and Wi-Fi credentials in your browser.

Color Palette Extractor

Extract color palettes from images and copy them as CSS variables.

Hash Calculator

Compute and verify MD5, SHA-256 and other hashes for text and files.

Password Generator

Generate strong passwords, passphrases and PINs locally.

HMAC Checker

Compute HMAC signatures and verify webhook signatures in your browser.

Web Page Snapshot

Save the current page as a single self-contained HTML file.

Clipboard Cleaner

Clean invisible characters, extra line breaks and width inconsistencies.

Speed Test

Measure download/upload speed and ping in your browser.

Network Diagnosis

Check connectivity, DNS, IPv6 and the node you are connected through.

JSON Formatter

Format, validate and minify JSON with precise error locations.

URL Encoder / Decoder

Encode and decode URLs and query strings, including non-ASCII text.

Regex Tester

Test regular expressions with live matches, groups and replacement.

Line of Code Counter

Count total, blank, comment and code lines of pasted source code.

DNS Lookup

Query DNS records (A, AAAA, MX, TXT and more) with TTLs, DNSSEC and ASN hints.

CSV Checker & Converter

Check CSV/TSV structure, detect encoding (UTF-8, BOM, Shift_JIS) and convert to JSON.

Text & JSON Diff Checker

Compare two texts or JSON documents and review additions, deletions and changes in your browser.