TERMINAL CALCULATOR

A powerful calculator with a terminal-style interface.

  • Up to 1,000 digits of decimal precision
  • Advanced calculator functions
  • Live preview as you type
  • Unit and base conversions
  • Cross-platform
  • Free web version
  • Windows, MacOS, Terminal Versions
    $10 lifetime license for unlimited machines
Free Web version
Manual
The native Terminal Calculator Mac app shows live previews, a square root, a unit conversion, a variable, the previous answer, and mixed-base arithmetic.

WHY THIS CALCULATOR

Keep the calculation close to the decision.

Terminal Calculator is built around one Rust calculation engine, then gives that engine a window and a command line. The point is continuity: expressions, definitions, history, and scripts stay useful after the first answer.

01

Expressions that stay readable

Use exact integers, high-precision real arithmetic, parentheses, currency literals, and unit conversions in one expression language.

02

Definitions you can reuse

Variables and custom functions make repeated calculations explicit instead of hiding them in a copied result.

03

Sessions and scripts

Save the transcript, history, script buffer, variables, functions, custom units, ans, and settings in a session.

04

One calculator, three ways to use it

Open the free web version for a quick calculation, use the desktop app for a dedicated window, or run tcalc right in your terminal.

All features

Core calculation tools are shared. Interface and workflow features vary by edition.

Math and precision

  • Exact large integers and up to 1,000 digits of calculation precision
  • Arithmetic, powers, roots, logs, trigonometry and factorials
  • Constants, random values, comparisons and logic
  • Degrees or radians, rounding and configurable display precision

Units and number bases

  • Physical-unit conversions, compound units and custom units
  • SI prefixes and arithmetic with dollar amounts
  • Binary, decimal and hex input and display
  • Bitwise operations, shifts and optional two’s-complement display

Expressions and reuse

  • Variables, custom functions and ans for the last result
  • Implicit multiplication and automatic closing brackets at the end of an expression
  • Calculation history and reusable expressions
  • Live calculation previews in the desktop and web apps

Sessions and scripts

  • Run multi-step calculator scripts with comments
  • Keep session data locally: history, variables, functions and custom units
  • Save and reopen .tcalc sessions in the desktop and web apps
  • Search or remove history and manage definitions in the desktop and web apps

Desktop workspace

  • Always-on-top mode, adjustable window opacity and remembered window placement
  • Edge docking, tray access and global shortcuts where the operating system supports them
  • System, light, dark, contrast and custom themes

Terminal and web workflows

  • tcalc: interactive terminal UI, plain prompts, one-off expressions and batch scripts
  • tcalc: pipe input and write text or JSON output
  • Web: free without registration, with calculations and workspace stored in the browser

SEE IT RUN

Examples

01

Convert inches to centimeters

Convert ten inches directly from your shell.

Shell command
tcalc --no-state -e '10 in->cm'

Result 25.4 cm

02

Measure a 20-pin header

Convert the 0.1-inch pitch to millimeters, then multiply by the 19 gaps.

Calculator input
0.1 in->mm
ans * 19

Result 2.54 → 48.26 mm from first pin to last

03

Set a register bit

Set bit 4 (counting from zero) in 0x2C without changing the other bits.

Calculator input
display hex
0x2C | (1 << 4)

Result 0x3C

04

Find resistor current

Use Ohm’s law for 3.3 V across a 220 Ω resistor.

Calculator input
voltage = 3.3
resistance = 220
voltage / resistance * 1000

Result 15 mA through the resistor

USE IT WHERE YOU ARE

From a single expression to a saved workspace.

Start small, then keep the parts of the calculation that are worth returning to.

1

Evaluate a value

10 in->cm
$84 + $36
sqrt(2)

Use tcalc -e for one result, or open the interactive terminal for a running transcript.

2

Name the useful parts

rate = 12.5
hours = 7.5
rate * hours

Variables and functions keep a repeatable calculation legible. The exact boundaries after trial are still under development.

3

Save the next session

tcalc --state work.tcalc
:save project.script
:export history.script

Session and script files preserve work without requiring an account or a network service.

Need the complete command reference? Read the manual →Compare Editions →

EDITIONS

Desktop, Terminal and Free Web Version at a glance

Swipe or scroll to compare all three editions.

CompareDesktopTerminalFree Web
Runs onmacOS, Windows, Linux targetsmacOS, LinuxBrowser
How you workApp windowtcalc, shellBrowser workspace
ConnectivityOffline calculationOffline calculationOnline
Access30-day trial / Pro30-day trial / ProFree, no account
Calculator features
PrecisionUp to 1,000 digitsUp to 1,000 digitsUp to 1,000 digits
Scientific functions✓✓✓
Live preview✓Interactive UI only✓
Unit conversions & BIN/DEC/HEX✓✓✓
Variables, functions & ans✓✓✓
Sessions & historyLocal, .tcalcLocal state fileBrowser, .tcalc
Scripts & automationScript editorEditor, pipes, batch, JSONScript editor
Windows & appearancePinning, snap to edge--

AT A GLANCE

What the current implementation covers.

These are implementation details supported by the current source and local verification records. They are not a final commercial feature list.

Calculation coreExact integers · high-precision real arithmetic · expression parser
ExpressionsArithmetic, parentheses, unit conversions, currency literals, scripts, and saved definitions
Desktop targetsmacOS · Windows · Linux · Tauri 2 + Svelte front end
Terminal targetsmacOS and mainstream Linux · interactive TUI, plain, batch, JSON, and script modes
PersistenceLocal sessions, history, variables, functions, custom units, scripts, and settings
Network requirementNone for calculation or local sessions
License$10 lifetime license · short activation code shown right after purchase

TRIAL AND ACCESS

30-day full-feature trial

Try every feature in the desktop and terminal editions for 30 days. Basic arithmetic remains available after the trial.

LIFETIME LICENSE$10 one-time purchase

Use it on unlimited supported machines. Future upgrades are included, with no subscription.

Secure checkout with Stripe. Your activation code appears right after payment.

FAQ

A few practical answers.

Why should I use Terminal Calculator?

Terminal Calculator is a powerful, keyboard-first calculator for engineers and software developers. It handles high-precision math, scientific functions, unit conversions, and binary and hex with bitwise operations. See results as you type, reuse named variables or ans, and use tcalc to run repeat calculations from shell scripts.

Which version should I use?

Start with Free Web if you want to try it without installing anything. Choose Desktop if you want a calculator you can pin beside your work. Choose Terminal if you want to calculate from the command line or run calculations in a script.

What does the $10 license include?

A one-time $10 payment gives you a lifetime license for personal use. It unlocks all features in both the desktop and terminal versions on as many of your own devices as you like. Future upgrades are included. No subscription.

How do I get and activate my license?

Buy it with the Buy a lifetime license button. Checkout is handled by Stripe, and your activation code (TC followed by 10 letters and numbers) appears on the order page right after payment. In the desktop or terminal edition, choose Enter License Key and paste the code.

Do I need an internet connection?

You need an internet connection to open the free web version. The desktop and terminal versions work offline, including during the trial. Short-code activation requires an internet connection; after activation, you can keep calculating offline.

Where’s the full command reference?

The Manual lists all supported commands, functions, and operators, with examples you can try.

Questions or feedback?

Need help or have a suggestion? Email me at hi@doer.ee.