Skip to main content

Calculator

Instant expression calculator with scientific functions, unit conversions, live multi-currency exchange rates (including gold and Bitcoin), Chinese RMB uppercase formatting, and date math.

Free & Open Source Productivity calc calculator math unit
Version 2.2.1 Updated 2026-11-25
Download ZTools to Install Install ZTools, then search for "Calculator" in the Plugin Marketplace

Screenshots

Instant Expression Evaluation

Key Features

Convert length, weight, storage, and temperature units

unit convert / length convert / weight convert / temperature convert

Live exchange rates and multi-currency conversion (including gold and Bitcoin)

exchange rate / currency / currency converter / gold price / btc price

Convert numbers to Chinese financial uppercase RMB format

rmb uppercase / chinese currency / financial uppercase

Overview & Usage Guide

Evaluate expressions as you type with built-in scientific functions, unit and base conversions, live exchange rates (supporting 15 major fiat currencies plus gold and Bitcoin), date math, color value inspection, and Chinese RMB financial uppercase conversion.

Usage

  • Commands: Main Calculator, Unit Converter (unit convert), Currency Converter (exchange rate, currency), and RMB Uppercase Converter (rmb uppercase). Search for calc, calculator, unit convert, exchange rate, or rmb uppercase in the launcher to open.
  • Expression and inline conversion examples:
    • Math: 128 * 4 + 16, 2 ^ 16, sqrt(65536), sin(pi / 2) (trigonometric functions use radians).
    • Unit & base conversion: 10km to miles, 32px to rem, 255 to hex, now + 2 weeks.
    • Inline live exchange rates: Type 100 usd to cny, 5000 jpy to rmb, 1 xau to usd, or 0.5 btc to usd directly in the main calculator for instant conversion.
    • Color inspection: Enter #3B82F6 or rgb(59, 130, 246) to list HEX, RGB, HSL, and CMYK representations along with contrast ratios.
  • Multi-currency board (exchange rate command, or select Currency Converter... in the calculator action panel):
    • Choose the default source currency from the dropdown on the right side of the search box (defaults to CNY), then enter an amount (such as 100, 100 USD, or 100 USD to CNY) to view converted amounts and inverse rates across target currencies at once. Type a currency code or name (such as JPY, gold, or bitcoin) to filter.
    • Select a currency and press Enter to copy the converted amount, ⌘/Ctrl+Enter to copy the conversion equation, or ⌘/Ctrl+D to pin favorite currencies to the top. You can also choose "Use as Source Currency" to fill the converted value back in for chained calculations.
  • Main calculator shortcuts: Enter copies the result and saves it to history; ⌘/Ctrl+Enter pastes into the active window; ⌘/Ctrl+E fills the result back into the input box for further calculation; ⌘/Ctrl+K opens the action panel.
  • Chinese RMB financial uppercase supports up to two decimal places without rounding, up to 999999999999.99.
  • Date math: When a target month lacks the day (such as 2026-01-31 + 1 month), the last day of that month (2026-02-28) is used. Hours and minutes are calculated by elapsed time; local timestamps skipped by Daylight Saving Time report that the time does not exist.
  • Does not use eval; syntax errors, division by zero, and overflows display clear error messages instead of fabricated results.
  • Calculation history keeps up to the most recent 100 entries (pinned items are not counted toward the limit), and the list displays the most recent 15.

Platforms & Requirements

  • Supported: Windows, macOS
  • Built into the client; no separate installation required.

Network & Data

Only when currency conversion is triggered does the client send two read-only GET requests (standard arithmetic, unit conversion, date math, and color inspection are completely offline). Amounts and currencies are converted locally and never sent to any external service:

Domain Request URL Purpose
open.er-api.com https://open.er-api.com/v6/latest/USD Fetch USD-based fiat exchange rate table (ExchangeRate-API, updated daily)
api.coingecko.com https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,tether-gold&vs_currencies=usd Fetch USD prices for Bitcoin and gold (Tether Gold, 1 troy ounce)
  • Exchange rates are cached locally; reusing them within 30 minutes reads from the cache with a timestamp label, and refreshes online automatically after 30 minutes.
  • If fetching fiat exchange rates fails, the error is shown as-is and estimated or sample data is never substituted. If real cached data from within the last 7 days exists locally, it falls back to that cache and clearly marks "Refresh Failed" along with the cache timestamp in the status bar/subtitle.
  • If gold or Bitcoin prices fail to load, those items show "Quote unavailable" while other fiat rates remain usable.
  • Calculation history, default source currency, and pinned currencies are stored only in local plugin storage; if reading fails, existing data will not be overwritten.

Frequently Asked Questions (FAQ)

How do I install and launch "Calculator" in ZTools?

Open the Plugin Marketplace inside ZTools Workbench, search for "Calculator", and install it. Then type its name in the launcher bar to open it.

Is "Calculator" free? Which platforms are supported?

Yes, it is free to install with source code published in the ZTools-extensions repository. Supported platforms: Windows / macOS.