User Interface

Main Window

Figure 1. Main Window

Main Window

The main window provides a menu bar, the expression entry, the result display and a calculator keypad or history view which can be shown/hidden by clicking on Keypad and History, respectively. There are three buttons to the right of the expression entry and the result display. The upper button performs calculation of the entered expression (same as Enter), the one below saves the current result as a variable (see the section called “Variable creation/editing”), while the last button opens a dialog for conversion of units in the result (see the section called “Conversion”). When non-default options for the interpretion of expressions have been selected, the choice will be indicated in a small status area below the expression entry, to the right.

Expression Entry

The expression entry is the most important part of the Qalculate! user interface. The normal calculation procedure in Qalculate! is to type in a mathematical expression (ex. “5+5”) and press Enter (or click Execute). The result (“10”) is then displayed below the expression entry in the result display.

Figure 2. Completion


Qalculate! helps out with the expression by giving a list of possible endings to words representing functions, variables and units. The list will narrow with each letter typed. Select an item in the list and the name will be completed. If a function was selected, parenthesis will be added and the position moved for immediate entry of arguments.

As the expression is typed in, the area directly direclty below the expression entry, to the left, will show useful information. By default the calculator's interpretation of the expression is shown (ex. “5 * meter” for “5m”). The interpretation will be displayed in red (configurable) if there are errors in the expression or in blue for lesser errors (for example too many arguments in a function). If the last typed in text represents a function and arguments are about to be entered, the functions name and its arguments will be displayed. The first argument in the information text is highlighted and includes information about its type and restrictions and when an argument has been entered, the next will be highlighted.

After execution of an expression, the whole expression will be marked. This normally means that if something new is entered, the old expression will be overwritten. If, however, an operator (+, −, *, /, ^) is entered first, the old expression will instead be the target of action. The operator will then apply to the whole expression, which is put in parenthesis. This works on all marked ranges, meaning that this way an expression can conveniently be put in parenthesis. Functions set the selection as their first argument.

The Page Up and Page Down keys will access previously entered expressions. With focus in the expression entry, Page Up traverses backwards in the expression history and Page Down forward.

The font used for the expression entry can be selected in the preferences dialog (Edit->Preferences).

Result Display

The result of calculations is displayed in the open area below the expression entry. The font used for the result display can be selected in the preferences dialog (Edit->Preferences). Use of Unicode signs can be turned off in the same dialog. Otherwise Qalculate! will try to make the result as fancy as possible and print π for pi, √ for sqrt, € for euro, and so on. Information about customization of the mathematical result output is available in the section called “Calculator Modes”.

In front of the result an equals or approximately equals sign is shown. This indicates whether Qalculate! was able to calculate/display the result exact or only approximate, in the current mode.

The result display has a context menu, which pops up when clicking with the right mouse button anywhere in the field. This menu provides a subset of the display alternatives from the mode menu (Table 4, “Mode Menu”) and some actions from the edit menu (Table 3, “Edit Menu”). See more info in the section called “Calculator Modes”.

To copy the result, either select Edit->Copy Result, press Ctrl-Alt-C, or copy the text from the history window.


The keypad provides access to a fairly small set of traditional calculator buttons, which work as expected. The top buttons (from left to right) toggles exact calculation, toggles fractional number display, selects display mode and selects number base in result (see the section called “Calculator Modes”).

Figure 3. Keypad


Calculation History

The history view provides access to previous calculation results (50 rows are reloaded on restart). Previous expressions and results, as well as errors and warnings, are displayed in plain text and can be marked and copied (from the right-button context menu or with Ctrl-C) to the expression entry or elsewhere.

Figure 4. Calculation History

Calculation History

Menu Bar

The menus in the menu bar provides access to most of the functionality of Qalculate!. Their contents are listed and described below.

Table 1. File Menu

Menu Item



Submenu for creation of new objects. See Table 2, “New Menu”.

Import CSV File...

Opens a dialog for import of a data file as a matrix or vectors.

Export CSV File...

Opens a dialog for export of a matrix or vector to a data file.

Store Result... (Ctrl-S)

Stores the current result as a variable. See the section called “Variable creation/editing”.

Save Result Image...

Saves the result display to a PNG image.

Save Definitions

Saves all user definitions (variables, functions and units).

Update Exchange Rates

Downloads current exchange rates from the Internet.

Plot Functions/Data

Opens the plot dialog. See the section called “Plotting”.

Convert Number Bases (Ctrl-B)

Opens the number bases converter. See the section called “Convert Number Bases Dialog”

Periodic Table

Shows a periodic table, with property values which can be inserted in the expression, in a new window.

Quit (Ctrl-Q)

Exits Qalculate!

Table 2. New Menu

Menu Item



Opens the variable edit dialog for creation of a new variable.


Opens a dialog for entry of a new matrix variable.


Opens a dialog for entry of a new vector variable.

Unknown Variable

Opens the variable edit dialog for creation of a new unknown variable.


Opens the function edit dialog for creation of a new function.

Data Set

Opens the data set edit dialog for creation of a new data set.


Opens the unit edit dialog for creation of a new unit.

Table 3. Edit Menu

Menu Item


Manage Variables (Ctrl-M)

Opens the variable manager. See the section called “Variable/Function/Unit Managers”.

Manage Functions (Ctrl-F)

Opens the function manager. See the section called “Variable/Function/Unit Managers”.

Manage Units (Ctrl-U)

Opens the unit manager. See the section called “Variable/Function/Unit Managers”.

Manage Data Sets

Opens the data set manager.


Factorizes the current result. For multivariate rational polynomials, only square free factorization is supported.


Simplifies the current result. Note that easy simplifications are always automatically performed.

Set Unknowns...

Opens a dialog where the values of unknown variables in the result can be set and the result recalculated.

Convert To Unit

Submenu with units. Select a unit to convert the current result.

Set Prefix

Submenu for choice of unit prefix in current result.

Convert To Unit Expression (Ctrl-T)

Opens the convert to unit dialog for conversion of result to custom unit expression. See the section called “Conversion”.

Convert To Base Units

Splits up unit(s) in the current result into base units.

Convert To Best Unit

Tries to convert the units in the current result so that as few units as possible is used. Base units are prioritized.

Copy Result (Ctrl-Alt-C)

Copies the current result to the clipboard.


Opens the preferences dialog, which controls settings for visual appearance and start/exit actions.

Table 4. Mode Menu

Menu Item


Number Base

Submenu which switches between binary, octal, decimal, hexadecimal, sexagesimal (normal or time format), and other bases, and roman numerals in result and expression.

Numerical Display

Submenu which selects numerical display mode. See the section called “Calculator Modes”.

Fractional Display

Submenu which selects decimal, fractional or combined fractional display. See the section called “Calculator Modes”.

Unit Display

Submenu which controls the display of units and prefixes. See the section called “Calculator Modes”.

Angle Unit

Submenu which sets the default angle unit for trigonometric functions.

Abbreviate Names

Toggles on/off use of abbreviation for unit, prefix, variable and function names in result display.

Enabled Objects

Submenu which enables/disables variables, functions, units and unknowns (will not affect defined unknown variables and quoted unknowns), and calculation of variables (If calculation of variables is not on, all variables will be treated as unknown). Here you can also disable complex and infinite results.


Submenu which switches between different approximation modes.


Submenu which changes default assumptions for unknown variables.

Algebraic Mode

Submenu with options to automatically simplify or factorize the final result. Note that even if this is set to none, easy simplifications will be performed. In this menu, the option toggle on/off use of the assumption that unknown denominators not are zero is also found. This alternative makes it possible to avoid the situation where expressions such as “(x-1)/(x-1)” can not be further simplified because the denominator might be zero (if x equals 1).

Read Precision

Enables/disables interpretation of input numbers with decimals as approximate with a precision equal to the number of digits (after preceding zeroes).

Limit Implicit Multiplication

Activates/deactivates limits to implicit multiplication when parsing and displaying expressions. For details see the section called “Calculator Modes”

RPN Mode (Ctrl-R)

Toggles use of Reverse Polish Notation syntax in expressions on/off.


Opens a dialog to change precision in calculations.


Opens a dialog to change displayed number of decimals.

Meta Modes

Provides a list of available meta modes for loading and menu items to save and delete modes.

Save Default Mode

Saves the current calculator mode as the startup default.

Table 5. Functions Menu

Menu Item


(Recent functions list)

Select a function to open the insert function dialog.

(Function list)

Select a function to open the insert function dialog.

Table 6. Variables Menu

Menu Item


(Recent variables list)

Select a variable to insert it into the expression entry.

(Variable list)

Select a variable to insert it into the expression entry.

Table 7. Units Menu

Menu Item


(Recent units list)

Select a unit to insert it into the expression entry.

(Unit list)

Select a unit to insert it into the expression entry.

Table 8. Help Menu

Menu Item


Contents (F1)

Opens this help.


Info about Qalculate!

Variable/Function/Unit Managers

The manager windows provide a structural way of working with variables, functions and units (collectively referred to as objects). The managers for the three different objects are essentially similar. They can be opened from the edit menu and the keypad. Ctrl-M, Ctrl-F and Ctrl-U can also be used for variables, functions and units respectively. The function manager can also be opened with the f(x) button in the keypad.

Figure 5. Variable Manager

Variable Manager

To the left is a category tree and beside that is a list of all objects in the selected category, including all subcategories. Objects without a category are put under “Uncategorized”. The top category, “All”, provides a list of all objects, except those that are deactivated and available in the second top-level category — “Inactive”. The object list does, in addition to descriptive names, for variables have an extra column for values of variables, and units have additional columns for abbreviation/singular/plural and base unit.

The buttons on the right work on the selected object in the list. New opens a dialog for creation of a new object, while Edit opens the same dialog to edit the selected unit. Insert inserts the object into the expression entry in the main window, Delete removes the object and (De)activate toggles recognition in expressions on/off. The unit manager has an additional button for conversion of the current result and the variable manager a button for export to a data file.

Figure 6. Function Manager

Function Manager

The function manager has a description box at the bottom, which shows the syntax, description and arguments of the selected function.

Figure 7. Unit Manager

Unit Manager

The unit manager has an area for quick conversion between units. This converts between the selected unit in the list and the selected unit in the option menu. The menu contains the same units that are available in the list. Units are converted by specification of a quantity, in the entry next to the unit to convert from, followed by Enter.

For more information about variables, functions and units, see the section called “Variables”, the section called “Functions” and the section called “Units”.

Convert Number Bases Dialog

The number bases dialog, accessible from the File Menu or Ctrl-B, is an efficient and convenient tool for conversion between binary, octal, decimal and hexadecimal numbers. This dialog contains entries for each number base. When a number is typed in any of the entries, the others are automatically updated to display the current number in their format. Numbers, or expressions, entered follow the same rules as expressions in the main expression entry.

Figure 8. Convert Number Bases Dialog

Convert Number Bases Dialog