Calculeaf Features Blog Guide Pricing Open app

Expressions and assignment

Click a math region and type. The field renders as you go. What Calculeaf stores is the plain expression; what you see is the printed form.

The Math ribbon with Algebra, Compare, Solve block, Matrix, Operators, Functions, Constants, Units, and Symbols.
The Math tab. Operators, functions, units, and symbols insert into the focused math region.

Define a name

Type a name, then :=, then a value. The getting-started tour shortens this to “colon for definition”; the token you type is :=. Names stay in scope for regions after them — see variables and scope.

w := 12 kN/m

You can insert := from the Math tab: Operators ▾Define.

Show the result

Put = at the end of the line. Calculeaf evaluates the expression and draws the result in a chip after it.

w := 12 kN/m =
R := w * L / 2 =

Remove the trailing = if you only want the definition, with no result on the page. Typing the first = at the end of a finished line is the result marker. A second = there turns it into a comparison.

Compare two values

Use == in the middle of an expression, or the = button in the Math tab’s Compare group (that button inserts ==). The other Compare buttons insert ≠, <, >, ≤, ≥, ∧, and ∨.

R == 24 kN =

In a Given/solve block, a top-level = is a constraint, not a result marker. That workflow is in Given and solve.

Operators and functions

Type them, or click the Math ribbon:

  • Algebra — +, −, ·, /, powers, roots, absolute value, factorial, parentheses.
  • Operators ▾ — the same plus calculus and Define.
  • Functions ▾ — trig, stats, matrix, and more. See the function catalog.
  • Constants — π, e, ∞, and g (standard gravity).

^ is a power. % is percent (dimensionless). // starts a comment; the rest of that line is ignored.

One expression per region

A math region holds a single expression. The ↵ marker under Operators ▾Define is a visual line break only — it does not start a second statement. Press Enter after an assignment to place the next math region below and run Evaluate All.