Documentation

Expressions that build on each other.

Use live results, saved variables, and your own functions to keep repetitive work small.

Write an expression

Enter a numerical expression in the calculator. Results appear as you type; Enter saves the calculation to History and clears the input. Use Ctrl + L to clear the current expression without saving. Parentheses make the intended order explicit.

125 * 24
(125 + 75) / 4
sqrt(144)

Use scientific functions

Open Scientific functions beneath the expression field to insert a built-in function or type the call directly. Built-in scientific and programmer calls are case-insensitive and do not use a $ prefix.

sin(30 deg)
SIN(30 deg)
sqrt(144)
ln(e)
log(100)
The Scientific functions panel and SIN(30 deg) returning 0.5 in CalciteQuickSolve.
In the appBuilt-in calls do not use $. Here SIN(30 deg) evaluates to 0.5; the explicit deg unit specifies the angle.Select the screenshot to enlarge it.

The Scientific functions panel and SIN(30 deg) returning 0.5 in CalciteQuickSolve.

The Scientific functions panel and SIN(30 deg) returning 0.5 in CalciteQuickSolve.

Save a variable

Prefix a variable name with $. Enter each definition separately, then use the names in later expressions. Update a saved definition when the underlying value changes.

  • Variable names start with $ followed by a letter or underscore, then letters, digits, or underscores.
  • Click a saved name in the sidebar to insert it, or its value to edit the definition.
  • Built-in constants such as pi and ans, and graph coordinates x and y, stay bare.
$rate = 85
$hours = 6.5
$rate * $hours
The calculator multiplying $rate by $hours, with both saved variables visible in the right sidebar.
In the appSave each assignment with Enter. The Variables & functions sidebar keeps $rate and $hours available while their product evaluates to 552.5.Select the screenshot to enlarge it.

The calculator multiplying $rate by $hours, with both saved variables visible in the right sidebar.

The calculator multiplying $rate by $hours, with both saved variables visible in the right sidebar.

Define a function

Custom function names start with $, just like custom variables. Include $ when defining the function and every time you call it. Parameters local to the function stay bare.

  • Use $rate for a saved variable, $cost(...) for a custom function, and hours for a local function parameter.
  • Function bodies use the current saved variables and angle mode when called. Variables keep their assigned value until you update them.
  • Custom names keep their case: use the same spelling and capitalization when calling a saved function.
$square(t) = t^2
$square(12)

$rate = 85
$cost(hours) = hours * $rate
$cost(6.5)
A saved $cost(hours) function called as $cost(6.5), returning 552.5 using the saved $rate variable.
In the appBoth the definition and the call use $cost. The local parameter hours stays bare; $rate refers to the saved variable.Select the screenshot to enlarge it.

A saved $cost(hours) function called as $cost(6.5), returning 552.5 using the saved $rate variable.

A saved $cost(hours) function called as $cost(6.5), returning 552.5 using the saved $rate variable.

Reuse a result

Use ans for the most recent result, recall an expression from history, or copy a result into another application. Pin useful entries so they are easier to find.

  • After saving or recalling a calculation, its Saved calculation ID and Copy link appear beneath the Show steps, Copy expression, and Copy result actions.
  • Copy link creates an internal reference to that saved calculation. The record must exist in the workspace where you open the link.
The saved result 3000 with an empty expression field, the Show steps and copy actions, then Saved calculation ID and Copy link beneath them.
In the appEnter saves the calculation and clears the input. Its ID and Copy link sit below the result actions, ready when you need to reference the saved record.Select the screenshot to enlarge it.

The saved result 3000 with an empty expression field, the Show steps and copy actions, then Saved calculation ID and Copy link beneath them.

The saved result 3000 with an empty expression field, the Show steps and copy actions, then Saved calculation ID and Copy link beneath them.

Understand the scope

Supported expressions can show a numerical evaluation trace. The app evaluates calculations and draws graphs; it does not provide symbolic equation solving.