Mathematical Formulas

Main Menu: Measurements > Set Formulas
Shortcut: Ctrl-F

Since version 7.1 Mathematical Formulas can be applied to the measurements. Formulas are applied after the measurement is adjusted by the conversion factor, in case it is used.

Since version 7.25 the maximum number length supported is (+/-)9.80...*10^(10^37), 306 valid decimal digits.

Formulas are applied to the different values associated with measurements. Each measurement tool produces a different set of values, if you measure an angle, the formula will be applied to the angle, but if you use the Multiple Segment Tool , the formula will be applied both to the length/perimeter and to the area.

The formulas can include functions, as shown below:


n is the measurement value.

When a formula is applied to a measurement, both on the image and in the Measurements Pane, the measurement value will be preceded by the letter F, to indicate that the value is the result of a formula applied to the measurement.

The Measurements > Set Formulas menu opens the Formula Editor, which has two tabs, Formulas, and Options.

Formulas Tab

One formula can be applied to all kind of measurements, or different formulas can be specified for each kind of measurement.

Select All Measurements to use a single formula for all measurements, or Only selected ones to apply different formulas to only specific kind of measurements. When applying a formula to a specific kind of measurements, select the corresponding checkbox.

If None is selected, no formula will be used at all.

The Check button will calculate the formula and show the result. When checking formulas from this window, N will take 100 as its value.

The fn button opens the Insert function window, where you can select functions, operators or values will be used in the formula.

When selecting a function, one or two text boxes will be enabled to enter the values passed to the function.

To read an explanation about values, functions and operators usage, select the item and a short explanation will be displayed.

Some Formula Examples

N + 2

(1 + 2) * N




log(N;10)   There's a semicolon here (not a comma), we use it in functions for separating parameters.

Options Tab

This Tab defines how the formula result will look on screen and the precision used for calculating it.


There are tree degrees of precision, Small, Medium and Big.
The left image shows the supported maximum number length for each one.


If No rounding is selected the generated number will be very long. To use shorter numbers set a rounding value to specify how many numbers after the decimal point will be shown.

Convert to scientific notation when the exponent is over

The numbers will be shown in scientific notation when the exponent is over the indicated value.

Trigonometric functions

By default trigonometric functions use Radians, but they can as well use Degrees or Grads.