User Interface

Shortcut notation: Ctrl means Ctrl on Windows/Linux and Cmd on macOS. Platform-specific shortcuts spell out Cmd when they differ from this convention.

Widgets

Apart from the main display, SpeedCrunch offers a number of extra panels, referred to as widgets here. Most of them are dockable panels that can be moved around the main window and enabled or disabled via the View menu.

Panels docked on the left or right fill the available height. Panels above or below the display and keypad fit between the side panels.

Use the cross in a dock panel’s title bar to hide the panel, or the square to detach it into a floating window. Hidden panels can be shown again via the View menu. Opening another panel leaves floating panels in their own windows.

On Linux with Wayland, drag a floating panel by its title bar to move it. Use its square button or double-click the title bar to attach it to the main window again.

Drag a table’s column headers to change their order. Each window keeps its column order between launches, including for panels that are hidden.

  • Formula Book

    The formula book provides access to commonly used formulas and calculations. Simply insert a formula into the expression editor by clicking on it.

    You can help expanding the formula book by posting your requests to the issue tracker.

  • Constants

    The constants widget shows a large list of scientific constants (including CODATA-based entries), grouped by category and subcategory.

    The columns show each constant’s name, value, and unit. Use the Domain and Subdomain selectors to narrow the list, or search by name or unit. Press Up and Down in the search field to select a result while continuing to type. Press Enter or double-click an entry to insert its value and unit and return to the editor. The mathematical constants pi and Euler’s number are inserted as π and e.

  • User Variables

    The variables widget lists all user-defined variables. Any of them can be inserted into the editor by double-clicking it. Additionally, it is possible to delete a variable by selecting it and pressing the Delete key on your keyboard.

  • Functions and User Functions

    Similar to the variables widget, these show built-in and user-defined functions respectively.

  • User Units

    Similar to the user functions widget, this lists user-defined units. Double-click inserts [name] in the editor, and the context menu supports edit/delete operations.

  • Bit Field

    The bit field dock is designed to make working with binary numbers easier. It shows a field of 64 squares, each representing a bit in the current result. Any bit can be toggled by clicking its square; the resulting number is automatically inserted into the editor. Additional buttons allow you to shift, invert and reset all the bits at once. While the mouse cursor is hovering over the bit field, scrolling the mouse wheel will also shift the bits.

  • Keypad

    The on-screen keypad provides clickable input for common operations and symbols. It supports multiple presets and a custom layout, so you can adapt it to your workflow. You can also adjust the keypad zoom level for better readability or touch area on touchscreens. For fast and full-featured input, SpeedCrunch’s keyboard interface is still recommended.

    Available entries in View ‣ Keypad are:

    • Basic

    • Scientific (wide) (default)

    • Scientific (narrow)

    • Custom

    • Disable (shown as Disabled when selected)

    Custom selects your saved custom layout. To create or edit that layout, choose Settings ‣ Edit Custom Keypad. You can open the editor while any keypad layout is selected, even when the keypad is disabled.

    DEL deletes the character before the cursor. Both scientific layouts also include C, which clears the expression. Custom layouts saved with the older ⌫ and ⌧ labels switch to these labels automatically, and the older xʸ and ⁿ√ labels switch to x^y and root.

    Both scientific layouts include ln for the natural logarithm and log10 for the common (base-10) logarithm. These buttons insert ln( and log10(, respectively. Copying a scientific preset into a custom layout uses the same labels and function names.

    Since version 1.2, both scientific layouts show root for the nth root in place of the cube-root button. It inserts root( so you can enter a root index and a value, for example root(5; 32). Copying either scientific preset into a custom layout includes this button.

    The scientific layouts also include x², which inserts ^2, and ; to separate function arguments. These replace the x and x= shortcuts in version 1.1. Related buttons sit together: √ and x², x^y and root, E and exp, ln and log10, and each trigonometric function with its inverse.

    Available entries in Settings ‣ Appearance ‣ Keypad ‣ Zoom are:

    • 50%

    • 75%

    • 100% (default)

    • 150%

    • 200%

    The zoom level scales the keypad buttons, including their text. Each window keeps its own zoom level. The Zoom submenu is unavailable while the keypad is disabled. You can also right-click the keypad and choose Zoom.

    Settings ‣ Edit Custom Keypad opens a dialog where you can set the number of rows and columns and configure each button. For each position in the grid, you can set:

    • The button label shown in the keypad

    • The button behavior: Insert text, Backspace, Clear expression, or Evaluate expression

    • The text to insert (for Insert text behavior)

    To start from a built-in layout, choose Basic, Scientific (wide), or Scientific (narrow) in the Preset selector, then click Copy Preset. This replaces the table, including any edits you have made. Selecting a preset alone does not change the table.

    Double-click a Label or Text cell to edit it. The label is what you see on the button, while the text is what the button inserts into the expression. Long values are shortened in the table. Hover over a cell to see its full value, or open it for editing. Resizing the grid keeps buttons at positions that still fit. Positions outside the new grid are removed, and new positions start empty. Click OK to save the layout and select Custom in the active window. Cancel discards the changes made in the dialog and leaves the current layout selected.

    Custom keypad settings are saved and restored automatically. Unicode labels and inserted text are preserved.

    You can also right-click directly on the keypad to choose a layout, open Edit Custom Keypad, or change the zoom level.

    Added in version 1.0.

    Changed in version 0.11: The keypad was removed in SpeedCrunch 0.11; however, it was added back in 0.12.

  • History

    The history widget lists all previous inputs. Double-click a line to recall it. Note that the main result display also provides this functionality.

  • Main Menu

    Toggle the main menu bar visibility via View ‣ Main Menu. This option is available on Windows and Linux. On macOS, this option is not available because the application menu is managed by the system menu bar (outside the window), so SpeedCrunch cannot hide it like on Windows and Linux. On Windows and Linux, when the top main menu is hidden, a navigable Main Menu (mirroring the top menu structure) is available from the right-click context menu on the result-display.

    Added in version 1.0.

Session Tabs and Panes

New blank tabs receive an Untitled-XXX name that is not already used in any open window, including by empty tabs that have not been saved.

When a pane contains more than one session, SpeedCrunch shows a tab bar above the result display. Click a tab to switch sessions, drag tabs horizontally to reorder them within the pane, or drag a tab away from the tab bar to move it to another pane. Dropping a dragged tab outside the current window creates a new window for that session; dropping it on a pane in another SpeedCrunch window moves it there. Use Session ‣ Rename… to rename the active session. You can also double-click its tab, choose Rename… from the tab context menu, or choose Session ‣ Rename… from the result display context menu. Choose Session ‣ Clone… to copy the active session under a new name, including its unfinished expression. This command is also available as Clone… in the tab context menu and Session ‣ Clone… in the result display context menu. Use Session ‣ New Window to open a blank session in a new window that copies the current window and dock layout. Closing a window closes only that window. SpeedCrunch exits when you close the last window or choose Session ‣ Quit, and its next start restores the windows that were open at that moment. Choose Session ‣ Close Tab to close the active tab, or Session ‣ Reopen Closed Tab to restore the last ordinary tab you closed. Private tabs cannot be reopened. Closing a window’s last tab also closes the window. In the only open window, SpeedCrunch opens a blank tab instead. Both commands are also available from the tab context menu. When a floating dock has focus, session commands apply to its window. Use View ‣ Split to add a pane in any direction, and View ‣ Close Pane to close the active pane. The tab context menu also provides Split and Close Pane.

Choose Edit ‣ Clear History or press Ctrl+L (Cmd+L on macOS) to clear the active session’s calculations and unfinished expression. Session variables, functions, and units are kept. The tab context menu’s Clear History command does the same for that tab. SpeedCrunch asks for confirmation by default. To skip this dialog, check Settings ‣ Results ‣ Skip Clear History Confirmation. Choose Session ‣ Reset to clear the calculation history, current expression, and session variables, functions, and units. Reset always asks for confirmation. Global user definitions are kept. Delete in the tab context menu removes the session itself after confirmation. When SpeedCrunch restores multiple windows after a restart, each window keeps its own dock layout, dock visibility, keypad visibility, layout and zoom, and—when window position saving is enabled—its own size and position.

Private Sessions

Use Session ‣ New Private Tab or Ctrl+Shift+N (Cmd+Shift+N on macOS) to open a session that stays in memory. Private sessions are named Private-1, Private-2, and so on, using the first available number. A shield icon marks their tabs. The window title also identifies the active private session, even after you rename it. The tab bar is hidden when a private session is the only session in a single pane, just as it is for an ordinary session.

Private sessions do not save their history, unfinished expressions, variables, functions, or units automatically. They are excluded from the workspace restored at the next launch. Closing a private session discards its contents, and it cannot be reopened with the Restore Closed Tab shortcut. Copying and explicit export remain available. Cloning a private session creates another private session.

Choose Session ‣ Keep to save a private session, including its current contents. It receives the first available Untitled-XXX name and behaves like an ordinary session from then on.

Choose Session ‣ Make Private… to convert an ordinary session. SpeedCrunch asks for confirmation before deleting its saved JSON file. Its contents stay open under the first available Private-XXX name until you close it or exit. If the file cannot be deleted, the session remains ordinary. If a private session cannot be saved during conversion, it remains private.

These actions are also available from the tab and result display context menus. In the result display, open the Session submenu and choose Keep or Make Private…. Privacy belongs to the session, so renaming it does not change whether it is saved. Ordinary sessions can remain open alongside private ones.

Enable Settings ‣ Window ‣ Open a Private Tab on Startup to open and focus a fresh private tab whenever SpeedCrunch starts. This option is off by default. Saved ordinary sessions are restored as usual, with one new private tab in the active window, even when several windows are restored. An empty active Untitled-XXX session is used for the private tab instead of opening an extra ordinary tab. Sessions with history, unfinished expressions, or their own definitions stay open. When there are no sessions to restore, SpeedCrunch starts with just the private tab. Opening another window while the app is running still creates an ordinary session.

Added in version 1.1.

Expression Editor Features

Turn off Settings ‣ Editing ‣ Automatic Input Adjustments to enter text without automatic text adjustments or character restrictions.

With automatic adjustments enabled, you can subtract a negative number by typing 3--2, which gives 5. For unit conversion, use -> or in.

The expression editor provides some advanced features:

  • Undo and redo

    Choose Edit ‣ Undo or Edit ‣ Redo. Press Ctrl+Z to undo the last edit. On Windows/Linux, use Ctrl+Shift+Z or Ctrl+Y to redo it. On macOS, use Cmd+Shift+Z. Each key press is a separate undo step. Automatic changes made by that key, such as inserting a closing bracket or converting an exponent to superscript, are undone together. Text committed through an input method is undone as a single edit.

    Edit ‣ Cut cuts selected input text. Copy also works on selected result text. These actions are disabled when unavailable. Edit ‣ Wrap in Parentheses wraps the selected input, or the whole expression if nothing is selected.

  • Automatic closing parentheses and square brackets

    Typing ( or [ with no text selected inserts the matching closing character only when the cursor is at the end of the expression or only whitespace follows it. The cursor stays between the pair. If non-whitespace text follows the cursor, only the opening character is inserted.

  • Autocompletion

    If you start typing a name (e.g. of a variable, function, or unit), a pop-up with matching names will appear below the editor, aligned with the start of the name being completed. It appears above the editor when there is insufficient space below and shifts horizontally to stay on screen. The list becomes shorter and scrollable when needed to avoid covering the editor. On Wayland with Qt 6.6 or later, the compositor chooses below or above according to the available screen space. With older Qt versions on Wayland, the list stays within the application window. Alignment follows the visible text even when the expression wraps or scrolls. Press Tab to insert the current suggestion. Pressing Enter evaluates the expression by default. If you explicitly navigate the popup with arrow/page/home/end keys or click a suggestion with the mouse, then Enter accepts that selected suggestion. Enable Settings ‣ Editing ‣ Autocomplete ‣ Accept with Enter to accept the current suggestion with Enter immediately, without first using the arrow keys. Pressing Escape dismisses the autocomplete popup.

  • Function signature tooltip

    While typing a function call, the live result area can show the function signature (parameter list). The parameter currently being edited is highlighted. This also works for user-defined functions. Pressing Escape will dismiss the tooltip.

  • Quick constant insertion

    Press Ctrl+K (Cmd+K on macOS) to search the same constants as the constants widget (see above). If your system already uses that shortcut, choose another one for Search Constants in Settings ‣ Keyboard Shortcuts. Type a name or unit to filter the list. Each result shows its unit beside the name using the theme’s unit color. Press Up and Down to select a result. Press Tab or Enter, or click a result, to insert it and return to the editor. Shift+Tab moves focus backward. With no matches, Tab leaves the popup open. Press Escape to cancel. Search text does not change the expression. The list follows the cursor’s horizontal position and uses the same below-or-above placement rules as autocompletion.

    Added in version 1.1: Search in the quick constant popup and select dock search results with Up and Down.

  • Context help

    Pressing F1 will show the manual page for the function under the cursor, providing quick access to detailed usage information for a function. Pressing Escape will dismiss the manual window again.

  • Selection results

    If Settings ‣ Results ‣ Show Live Result Preview is enabled, selecting a partial expression in the expression editor or in the result display will show you the result of the selected expression. You can dismiss this preview by pressing Escape or by clicking the × button at the top-right corner of the preview.

Import/Export

SpeedCrunch automatically stores your sessions and lets you restore them with Session ‣ Open. Use Session ‣ Open Sessions Folder to open the folder where SpeedCrunch stores these session files when you want to back them up or clean them up manually. You can also export the current session as JSON (Session ‣ Export ‣ JSON) and later import it with Session ‣ Import. The data is stored in a SpeedCrunch-specific file format. [1] While the session files are human-readable, they are designed for use by SpeedCrunch. If you want to export your calculations to work on them in another program or hand them to a colleague, the other export options are preferable.

Import validates the selected JSON file as a SpeedCrunch session and opens it as a new tab. If the file is not valid SpeedCrunch session JSON, SpeedCrunch shows an error and leaves the current session unchanged.

You can export the session as HTML (Session ‣ Export ‣ HTML). The resulting file will consist of the contents of the result display and can be viewed in any web browser. This feature can also be used to print a SpeedCrunch session by printing the exported HTML document. Since the syntax highlighting and color scheme are maintained in the HTML output, it is recommended to select a color scheme with a white background (e.g. Standard) prior to exporting if you intend to print the document.

The final, most basic option is to export your session as a plain text file (Session ‣ Export ‣ Plain text). In contrast to the HTML export option, the syntax highlighting will be lost.

User Definitions

Added in version 1.0.

To define user variables, user functions and user units that are loaded globally, use Settings ‣ User Definitions….

This dialog provides:

  • A multi-line editor (one definition per line), with syntax highlighting and line numbers.

  • A clear reminder that these definitions are global, loaded into every session and override same-name session definitions.

  • Apply to apply definitions immediately.

  • Validate to validate and preview results without applying.

When applying or testing, SpeedCrunch reports:

  • Imported variable count

  • Imported function count

  • Imported unit count

  • Line numbers with errors

Invalid definitions are ignored. Variable definitions that evaluate to NaN are also ignored.

Settings

SpeedCrunch’s behavior can be customized to a large degree using the configuration options in the Settings menu. This section explains the settings that are available.

Resetting Settings

Choose Settings ‣ Reset All Settings… to restore the default preferences. SpeedCrunch asks for confirmation before making any changes. The reset applies to all open windows immediately and is saved for the next launch. It includes appearance, editing options, number and result formats, language, keyboard shortcuts, and window preferences, including dock visibility and keypad settings.

Your calculation history, open session tabs and panes, and user definitions are kept. Existing calculations keep their recorded result formats. New calculations and live previews use the default settings.

Added in version 1.1.

Result Display Interactions

The result display supports mouse-driven interactions for navigation and editing.

  • Scroll to bottom

    When you scroll away from the bottom, a down-arrow button appears in the lower-right corner of the result area, beside the scrollbar. Click it to return to the latest calculation. The button hides when you reach the bottom.

  • Right-click context menu

    Right-clicking an expression/calculation block in the result display opens a context menu for that specific block. The Copy submenu starts with Selection to copy the selected text. Select All selects all text in the display. Open the Copy submenu and choose Calculation to copy all displayed lines of the calculation at once, including the expression, any simplification, and every result format. The lines are copied as plain text in the order shown, without the blank line between calculations. Expression and Result let you copy either part separately. Remove offers This Calculation, All Calculations Above, and All Calculations Below. This menu includes an entry to toggle the main menu bar visibility. Use its Split submenu to add a pane to the left, right, above, or below the current pane. New Tab and New Private Tab create sessions directly. The Session submenu starts with Open…, Import…, and Export. It also groups actions to duplicate, rename, change privacy, clear, delete, or close the current session.

    Added in version 1.0.

    The Copy submenu also offers Calculation as Single Line to join all displayed lines of the calculation with spaces, for example 120 / 8 = 15.

    Added in version 1.1.

  • Hover highlighting of calculation blocks

    When Settings ‣ Appearance ‣ Hover Highlighting is enabled, moving the mouse over the result display highlights the calculation block under the cursor. The highlighted block also shows quick-action icons for deleting, editing, and copying.

    Added in version 1.0.

  • History rewriting from highlighted blocks

    From the hovered/highlighted calculation block, you can re-edit an earlier expression and apply it as a history rewrite. SpeedCrunch then recalculates all expressions below that edited entry.

    Added in version 1.0.

  • Calculation settings from highlighted blocks

    The calculation settings action opens a tabular layout with one mandatory Main Line row and four optional extra result-line rows. The table shows line enablement, notation, and decimal places together so the stored calculation context can be adjusted before SpeedCrunch recalculates the affected history.

Notation

This section allows selecting the result notation to use (for example in Settings ‣ Results ‣ Notation & Precision… or from the status-bar notation selector). You can select one of the following options. On first launch, the default is Automatic decimal.

  • Automatic decimal

    Use fixed-point decimal form for most results; values with exponent larger than 14 or smaller than -9 are shown in scientific notation. With a finite precision setting, very small values may switch to scientific notation earlier.

  • Fixed-point decimal

    Display results in fixed-point decimal form. For excessively large or small numbers, this format may still fall back to scientific notation.

  • Engineering decimal

    Display results in engineering notation. This is a variant of scientific notation in which the exponent is divisible by three.

  • Scientific decimal

    Display results in normalized scientific notation.

  • Rational

    Try to display real results as fractions (for example, 1/3) using continued-fraction approximation with bounded denominator. If no close match is found, results are displayed in decimal form. For common trigonometric and inverse-trigonometric results, SpeedCrunch prefers symbolic exact forms such as pi/2, 7⋅pi/6, 1/2, sqrt(2)/2, and sqrt(3)/3. Example:

    arcsin(1)
    = pi/2
    
    sin(45)    (angle mode = degree)
    = √(2)/2
    
    arcsin(sqrt(3)/22)
    = 0.07881114207211010205
    

    Added in version 1.0.

  • Binary

    Display results as binary numbers, i.e. in base-2.

  • Octal

    Display all results as octal numbers, i.e. in base-8.

  • Hexadecimal

    Display all results as hexadecimal numbers, i.e. in base-16.

  • Sexagesimal

    Display dimensionless and time results as sexagesimal values, i.e. with minutes and seconds. All other results are displayed in fixed-point decimal form.

    Added in version 1.0.

Angle Mode

Select the angular unit to be used in calculations. For functions that operate on angles, notably the trigonometric functions like sin() or cos(), this setting determines the angle format of the arguments.

  • Radian

    Use radians for angles. A full circle corresponds to an angle of 2π radians.

  • Degree

    Use degrees for angles. A full circle corresponds to an angle of 360°.

  • Gradian

    Use gradians for angles. A full circle corresponds to an angle of 400 gradians.

    Added in version 1.0.

  • Turn

    Use turns for angles. A full circle corresponds to an angle of 1 turn.

  • Revolution

    Use revolutions for angles. A full circle corresponds to an angle of 1 revolution.

    Added in version 1.0.

Complex Numbers

Choose a result form via Settings ‣ Results ‣ Complex Form and a symbol via Settings ‣ Results ‣ Imaginary Unit. Complex numbers are always enabled.

  • Imaginary Unit ‣ i

    Use i as the imaginary unit symbol.

  • Imaginary Unit ‣ j

    Use j as the imaginary unit symbol.

  • Complex Form ‣ Rectangular

    Display complex results in rectangular form.

  • Complex Form ‣ Exponential

    Display complex results in exponential form.

  • Complex Form ‣ Trigonometric

    Display complex results in trigonometric form.

  • Complex Form ‣ Cis

    Display complex results in cis form.

  • Complex Form ‣ Phasor

    Display complex results in phasor form.

When the angle mode is set to radians, simple phase multiples of pi are shown symbolically in these complex forms. Other angle modes show their numeric phase values.

Number Format

Choose how decimal numbers are displayed and interpreted via Settings ‣ Number Format….

This shared setting controls result formatting and, when Settings ‣ Editing ‣ Group Digits in Input is enabled, digit grouping in the input field.

Added in version 1.0.

This dialog replaces the older separate Radix Character and Digit Grouping menus with a single combined Number Format selection.

The default option is no digit grouping with dot decimal separator (1234567.12345).

A manually entered grouped number such as 1,234,567 keeps its grouping marks in the input field, even with this default format selected.

Additional options let you choose:

  • no digit grouping with dot or comma decimal separator

  • SI grouping with space separators (integer and fractional grouped in 3s)

  • 3-digit grouping with comma, dot, space, or underscore

  • Indian/South Asian 3-2-2 grouping with comma separators

Some options include grouped fractional digits; those are separate explicit choices.

The apostrophe ('), commonly used as a thousands separator in some locales and contexts (for example Switzerland, Liechtenstein, and some technical writing in Austria/Germany), is intentionally not offered because SpeedCrunch reserves it for sexagesimal notation.

For input, SpeedCrunch remains permissive across styles to support copy/paste from other applications. In clear mixed-separator cases, it accepts the number and normalizes it by ignoring non-digit grouping characters as needed.

When a single comma or dot could be either a decimal point or a grouping mark, the selected decimal separator takes priority. In any dot-decimal format, 1,234 means 1234 and 1.234 means 1.234. This also applies to 1234567.12345, which displays numbers without grouping. In comma-decimal formats, the roles are reversed. A grouping mark must separate one to three leading digits from a group of three digits. For numbers with only one comma or dot, the selected decimal mark remains a decimal point regardless of how many digits follow it. The other mark is also accepted as a decimal point when the number does not match the thousands-grouping pattern. With 1234567.12345 selected, for example, 1,2, 35,6, 987,1, and 2,34567 mean 1.2, 35.6, 987.1, and 2.34567. These inputs are accepted without changing their commas in the editor. This applies to every number format, including styles that display spaces, underscores, or fractional grouping. Accepted decimal values are displayed with the selected decimal separator and grouping pattern. For example, 2,34567 has the same value in every format, but appears as 2.345 67 with 1 234 567.123 45 selected or 2,345.67 with 1.234.567,123.45 selected. With a dot-decimal format selected, 0,123 means 123. Leading zeroes do not change the grouping rule. In contrast, 1234,567 means 1234.567 because four leading digits do not form a conventional single thousands group. Comma-decimal formats apply the same rules with the marks reversed. These rules also apply when pasting a number or entering scientific notation. Clear mixed-separator input such as 1.000,23 is accepted as 1000.23 when it does not also match the selected fractional-grouping format.

When input contains both commas and dots and has two possible readings, SpeedCrunch assumes the fractional part is not grouped unless the selected format explicitly groups fractional digits with those marks. For example, with 1234567.12345 selected, 1.000,000 * 2 means 1000 * 2 and gives 2000. The same applies to 1,000.000 * 2.

For formats that group fractional digits with commas or dots, valid input in the selected format takes priority. With 1,234,567.123,45 selected, 1.234,56 means 1.23456. With 1.234.567,123.45 selected, 1,234.56 has that same value. Other formats read these inputs as 1234.56. Spaces can separate groups on either side of the decimal point, for example 1 234.567 89 means 1234.56789.

With 1,234,567.123,45 selected, 1.000,000 * 2 instead gives 2 because the comma groups fractional digits. The matching case with 1.234.567,123.45 selected is 1,000.000 * 2, which also gives 2.

Repeated commas or dots used for integer grouping must follow three-digit grouping or Indian 3-2-2 grouping. Empty groups are rejected. For example, 1,2,3, 1.2.3, and 1,,234 report an error instead of having their punctuation removed. Spaces remain permissive, so 12 34 and 1 2 3 mean 1234 and 123 respectively.

The editor keeps commas and dots as you type or paste them, even when they differ from the selected format. The interpreted expression and results use the selected number format. Digit grouping in the editor can add visual separators, but does not replace punctuation you enter.

The interpreted expression keeps leading and trailing zeroes from the input. With 1234567.12345 selected, 0,123 is shown as 0123 and evaluates to 123. With 1234567,12345 selected, the same input is shown as 0,123 and evaluates to 0,123. Scientific notation keeps its exponent in the interpreted expression, using the selected decimal and grouping marks.

History Size Limit

This setting controls how calculation history is stored for the active session. It is available from Session ‣ History Size Limit….

Calculation history in ordinary sessions is saved automatically when a session changes and restored on the next launch. Private sessions keep history only while they are open.

The history size limit sets the maximum number of stored history entries for that session. By default, SpeedCrunch keeps up to 1000 entries per session and automatically removes the oldest ones when this limit is exceeded. When a calculation fills the last available history slot, SpeedCrunch warns that future calculations will remove the oldest calculation from that session. Set the value to 0 to disable the limit for the active session.

Added in version 1.0.

Window

This section contains settings that control window behavior.

  • On Subsequent Launch

    Choose what happens when you launch SpeedCrunch while it is already running. Activate Existing Window is the default. Open New Window opens a blank session in another window. Each window closes on its own, and SpeedCrunch keeps running until you close the last one. Open New Tab opens a blank session in the most recently active calculator window, using its active pane if the window is split. The choice applies to all windows and is saved between launches.

    This setting works on Windows, macOS, and Linux with X11 or Wayland. On macOS, reopening the app from Finder or clicking its Dock icon also follows this choice. Switching between apps or clicking an existing window does not create a window or tab. On other desktops, the launcher or taskbar action must launch the application again to use this setting.

    If SpeedCrunch is not running, it starts normally and restores saved sessions regardless of this choice. Requests received during restoration wait until it finishes. If a modal dialog is open, finish or dismiss it before SpeedCrunch creates the requested window or tab. The desktop’s focus policy still determines whether a window can come to the foreground.

  • Open a Private Tab on Startup

    Open and focus a fresh private tab after restoring saved sessions. If there are no sessions to restore, or the active session is an empty Untitled-XXX tab, start without an extra ordinary tab. This option is off by default.

  • Save Window Position on Exit

    Controls if the window position is saved and restored.

  • Always on Top

    Keep the SpeedCrunch window on top of other windows. This option is hidden on Wayland (non-X11 Linux desktop sessions), because many Wayland compositors do not honor it reliably. It remains available on Windows, macOS, and Linux X11 sessions.

Results

This section contains settings that control result output and post-evaluation behavior.

  • Show Live Result Preview

    If set, SpeedCrunch will display partial results as you type your expression as well as results when selecting a partial expression in the editor.

  • Notation & Precision…

    Open a tabular layout with one mandatory Main Line row and four optional extra result-line rows. Each row has columns for enabling the line, notation, and decimal places. Extra lines are ignored unless their row is enabled.

    Applying changes from this dialog updates only the current editor previews immediately (live/selection) without rewriting already displayed calculation history.

  • Remove Trailing Zeroes

    Hide trailing fractional zeroes after rounding to the selected decimal places. For example, at three decimal places, 3.140 becomes 3.14 and 12.000 becomes 12. This option is off by default and applies to the main and extra result lines. Changing it refreshes editor previews without rewriting displayed history.

    Added in version 1.1.

  • Rounding Mode

    Choose how displayed results are rounded when formatting to a finite number of digits. The default is Nearest, Half Away (round). Available modes are: Nearest, Half Away (round), Nearest, Half Even (roundeven), Toward Zero (trunc), Round Up (ceil), Round Down (floor).

    • Nearest, Half Away (round)

      Round to nearest; ties increase magnitude. This matches the round() function. Example at 1 fractional digit: 2.250 -> 2.3, -2.250 -> -2.3.

    • Nearest, Half Even (roundeven)

      Round to nearest; ties go to the nearest even last kept digit. This is Banker’s rounding and matches the roundeven() function. Example at 1 fractional digit: 2.250 -> 2.2, 2.350 -> 2.4, -2.250 -> -2.2.

    • Toward Zero (trunc)

      Discard extra digits without rounding up. This matches the trunc() function. Example at 1 fractional digit: 2.290 -> 2.2, -2.290 -> -2.2.

    • Round Up (ceil)

      Always round upward. This matches the ceil() function. Example at 1 fractional digit: 2.210 -> 2.3, -2.210 -> -2.2.

    • Round Down (floor)

      Always round downward. This matches the floor() function. Example at 1 fractional digit: 2.290 -> 2.2, -2.210 -> -2.3.

    This setting affects result formatting (including live previews), not the numeric value of expressions. Use the named function in parentheses when a calculation must apply the same rounding strategy explicitly. Like other result-format settings, changes apply to subsequent calculations and previews; already stored history entries keep their original display.

  • Complex Form and Imaginary Unit

    Configure the complex result form and imaginary unit. See Complex Numbers.

  • Unit Notation

    Configure whether unit results use exponential notation, such as m·s⁻¹, or fractional notation, such as m/s.

  • Copy New Results Automatically

    Automatically copy each newly evaluated result to the clipboard.

  • Skip Clear History Confirmation

    Clear the history and unfinished expression without asking for confirmation. Session variables, functions, and units are kept. This applies to Edit ‣ Clear History, Ctrl+L (Cmd+L on macOS), and the clear commands in the tab and result display context menus. This option is off by default and is shared by all windows.

  • Simplify Displayed Expressions

    When enabled (default), SpeedCrunch adds an extra symbolic line before numeric results, simplifying the interpreted expression for readability (for example, combining repeated factors into powers and folding simple constant terms). This interpreted line also makes implicit-multiplication association explicit. Disable this option to keep only the unsimplified interpreted expression and numeric results.

    An extra line appears only when there is a useful reduction. For example, ans / 9 stays as written instead of becoming 1 / 9 · ans.

    Entering the expression 2.1 − 1 cos(pi)^2 cos(pi) 5 cos pi  / −cos^2(pi) + 3.4 gives the following interpretation and simplification:

    2.1 − 1 ⋅ cos²(π) ⋅ cos(π) ⋅ 5 ⋅ cos(π) / (−cos²(π)) + 3.4
    = 5 ⋅ cos²(π) + 5.5
    = 10.5
    

    Added in version 1.0.

Editing

  • Automatic Input Adjustments

    Automatically replace operators, adjust spacing, insert closing brackets, convert powers to superscripts, and restrict input to valid characters. Turn it off to keep typed and pasted characters as entered. Tab still accepts the selected completion. Digit grouping and automatic insertion of ans follow their own settings. Pasting several lines evaluates each expression as usual. Invalid expressions can be entered, but still report an error when evaluated.

    This option is enabled by default. Changes apply immediately to all open editors and are saved between launches. Switching modes leaves existing text unchanged.

    Added in version 1.1.

  • Auto-Insert ans

    If a new expression starts with +, -, *, or /, SpeedCrunch inserts ans first. For example, type +3 and you get ans+3. This option is off by default.

  • Group Digits in Input

    Group digits as you type, using the separator and grouping pattern selected in Settings ‣ Number Format…. For example, 1000 appears as 1 000 with a space grouping format or 1,000 with a comma grouping format. This option is enabled by default. A number format with no grouping adds no separators.

    Integer digits are grouped in threes for decimal and octal numbers, or in fours for binary and hexadecimal numbers. The Indian format uses 3-2-2 grouping. Fractional digits are grouped only when the selected format includes fractional grouping. Scientific exponents are left unchanged. The separators only affect how the input looks, so copying the expression keeps the original text.

    This setting works even when syntax highlighting is disabled.

    Added in version 1.1.

  • Blinking Cursor

    Make the cursor blink in the expression editor. This option is enabled by default. Turn it off for a steady cursor. Changes apply immediately to all open session panes and windows, and the choice is saved between launches.

    Added in version 1.1.

  • Escape Clears Editor

    Press Escape to clear the focused expression editor. If a popup or result preview is open, Escape dismisses it first. Press Escape again to clear the expression. Cancelling a history edit still works as usual. This option is off by default and is saved between launches. Changes apply to all session panes and windows.

    Added in version 1.1.

  • Keep Expression After Evaluation

    If selected, the entered expression remains in the editor after evaluating it.

  • Autocomplete

    Controls how suggestions are accepted and which names appear in editor autocompletion.

    • Accept with Enter lets Enter insert the current suggestion without first selecting it with the arrow keys. It is off by default. When no autocomplete popup is open, Enter still evaluates the expression. Tab always accepts the current suggestion. The setting is saved between launches and applies to all session panes and windows.

      Added in version 1.1.

    The following suggestion categories are all enabled by default:

    • Built-in functions includes built-in function names.

    • Built-in variables includes built-in constant names.

    • Units includes spelled-out unit names (for example, meter).

    • User functions includes user-defined function names.

    • User variables includes user-defined variable names.

    Outside unit brackets, each suggestion is marked with a letter for its kind: f for functions, x for variables and k for built-in constants. Unit suggestions inside [ ] have no marker.

    Added in version 1.0.

  • Up/Down Arrow History

    Controls whether Up and Down in the editor navigate history:

    • Never always moves the cursor inside the editor.

    • Always (default) always navigates history.

    • Only for Single-Line Expressions navigates history only when the expression fits in one visual line; otherwise, it moves the cursor.

    Added in version 1.0.

User Interface Settings

  • Settings ‣ Appearance ‣ Theme…

    Open the theme dialog. Themes are listed in Light Themes and Dark Themes groups. Selecting a theme updates the preview immediately. When no saved theme preference exists, as on first launch, SpeedCrunch uses the One Dark theme.

    The Preview area shows representative result-display and editor content so that syntax-highlighting, result, and background colors are visible while editing. The selected background color generates nearby OKLCH surface colors for the expression editor and surrounding application chrome, followed by progressively offset surface colors for dock titles, dock controls and table headers, dock search and content areas, pane splitters, and scrollbars. It also generates the primary/accent color unless the theme specifies a primary color.

    Text on generated surfaces, including docks and popups, targets a contrast ratio of at least 10:1 against its own background. SpeedCrunch keeps a tint from the theme where possible. If a surface cannot reach that ratio, it uses black or white, whichever gives better contrast.

    The Colors area provides per-role color selection buttons showing both the #RRGGBB value and the actual color. Changing any color creates a custom theme based on the current selection.

    The dialog also includes:

    • Import… to copy a theme JSON file into SpeedCrunch’s user theme directory and refresh the theme lists;

    • Export… to save the current theme as JSON in the same user theme directory.

    Import and export refuse theme names that collide with built-in themes. Import asks for confirmation before overwriting an existing custom theme.

    SpeedCrunch also supports loading additional theme files from the following directory:

    • Windows: C:/Users/<USERNAME>/AppData/Roaming/SpeedCrunch/color-schemes/

    • Linux/Unix: ~/.local/share/SpeedCrunch/color-schemes/

    • Linux (Flatpak): ~/.var/app/org.speedcrunch.SpeedCrunch/data/SpeedCrunch/color-schemes/

    • OS X: ~/Library/Application Support/SpeedCrunch/color-schemes/

    • Portable version (any OS): color-schemes subdirectory in the application directory.

    Theme files use JSON and map role names to color values. Supported role names are: number, parens, list, unit, result, comment, function, operator, variable, separator, background, and optional primary. The editor surface and scrollbar colors are generated from background. For the full schema, see Theme JSON Schema.

    Added in version 1.0: The Theme… dialog, including live preview and JSON import/export.

  • Settings ‣ Appearance ‣ Style Presets

    Apply a set of appearance choices in one step:

    • Classic uses the system appearance for menus, docks, the status bar, and tooltips, with Classic input, results, and keypad styles. It gives SpeedCrunch an appearance similar to version 0.12.

    • Modern uses the SpeedCrunch theme for menus, docks, the status bar, and tooltips, with Modern input, results, and keypad styles.

    • Hybrid matches Classic, except that docks use the SpeedCrunch theme.

    The checkmark shows which preset matches these six settings. Custom is checked when no preset matches. It is an indicator, not a selectable preset. Changing an individual setting updates the checkmark automatically, including when you restore a matching combination by hand.

    Presets apply immediately to all windows. They keep the selected color theme, System Color Mode, fonts, keypad layouts and zoom levels, dock positions, and visibility choices.

    SpeedCrunch starts with Classic the first time it runs, and Reset All Settings… applies it again. Existing settings stay as they are when you upgrade, so earlier installations keep their appearance. SpeedCrunch identifies the matching preset without changing your appearance.

    Added in version 1.2.

  • Settings ‣ Appearance ‣ System Color Mode

    Choose the light or dark appearance for controls that use the system style:

    • Follow System (the default) follows the operating system’s current appearance, including automatic light and dark changes.

    • Light keeps the system controls light.

    • Dark keeps the system controls dark.

    It affects menus, docks, and the status bar when their appearance is set to System, along with other native controls and dialogs. It does not change the selected SpeedCrunch theme or the Input and Results appearance.

    Windows 10’s native control style has no dark version. While the appearance is dark there, SpeedCrunch draws its controls and dialogs with Qt’s Fusion style instead. Menus, panels and lists keep the native sizes and spacing, and shortcut letters are still underlined only after pressing Alt.

    A system high-contrast accessibility theme may take precedence over the selected light or dark mode, depending on platform support.

    Added in version 1.2.

  • Settings ‣ Appearance ‣ Menus

    Choose how menus look:

    • System uses the system’s menu colors and styling, including highlighted and disabled items. With Follow System selected under System Color Mode, menus follow changes to the system theme while SpeedCrunch is running.

    • SpeedCrunch Theme uses the selected SpeedCrunch theme for menu backgrounds and text, including highlighted items. Menu icons also follow the theme’s text colors. In popup menus, disabled labels, shortcut hints, and icons appear dimmed.

    This setting applies to the menu bar shown inside the application window, dropdown menus, context menus, and dropdown lists in attached and floating docks that use the SpeedCrunch theme. Closed dropdown controls follow the Docks setting. The macOS system menu bar keeps its native appearance. Popup menus drawn by Qt can look slightly different from native macOS menus. On GNOME, popup menus use the GTK theme’s popup hover colors when GTK is available and System Color Mode is set to Follow System. Otherwise they use Qt’s system palette. The choice applies to all SpeedCrunch windows and is saved between launches.

    Selections in the expression editor and result display use the SpeedCrunch theme. Dock list selections follow the Docks setting.

  • Settings ‣ Appearance ‣ Docks

    Choose how attached and floating docks look, including their title bars:

    • System uses the system’s colors and widget styles for lists, search fields, dropdown controls, scrollbars, dock title bars, and the tabs used to switch between overlapping docks. Close and float buttons use the system style. Dropdown lists also use the system appearance, regardless of the Menus choice. The Formula Book and bitfield use system colors as well. Formula and navigation links use the system link color directly. On bits use the system selection colors, with a separate hover color for off bits.

    • SpeedCrunch Theme uses the selected SpeedCrunch theme for dock content, title bars, and tabs, including list selections and search fields.

    The choice applies immediately to all SpeedCrunch windows and is saved between launches. With Follow System selected under System Color Mode, system colors follow changes to the system theme while SpeedCrunch is running.

    Added in version 1.1.

  • Settings ‣ Appearance ‣ Status Bar

    Choose how the status bar looks:

    • System uses the system’s palette and widget styles for the status bar, its labels, and its buttons. With Follow System selected under System Color Mode, colors follow changes to the system theme while SpeedCrunch is running.

    • SpeedCrunch Theme uses the selected SpeedCrunch theme for the status bar background and text.

    The choice applies immediately to all SpeedCrunch windows and is saved between launches. Popup menus follow the Menus setting. Show or hide the status bar with View ‣ Status Bar.

    Added in version 1.1.

  • Settings ‣ Appearance ‣ Tooltips

    Choose how tooltips and popup lists look. This includes the current result, function hints, the function and constant lists in the input field, and the tooltips in the keypad, session tabs, results, and docks:

    • System uses the system style. The tooltips and lists look like those in other apps, and they change when the system theme changes.

    • SpeedCrunch Theme uses the colors of the selected SpeedCrunch theme.

    The change applies at once to all SpeedCrunch windows. SpeedCrunch keeps it the next time it starts.

    Added in version 1.2.

  • Settings ‣ Appearance ‣ Input and Results

    Choose the layout of the expression editor and result display:

    • Modern uses a rounded input box with compact padding and a small gap around it. History aligns with the left edge of the box.

    • Classic uses a compact, full-width editor directly below the results and a small history gutter. All editors use the Modern input background color across the whole input area. Text and editor popups share a small inset from the edge, with enough space below the input for rounded window corners. A top line marks the active pane, using the same thickness and accent color as the Modern outline. This line is hidden when there is only one window and one pane, regardless of how many session tabs it contains. Vertical pane dividers remain visible through the input area.

    Both styles keep the same editing features, including input that grows as expressions wrap. The input grows to five visible lines, then scrolls to keep the cursor in view. Line spacing follows the selected font. The choice applies immediately to every window and pane and is saved between launches.

    Added in version 1.1.

  • Settings ‣ Appearance ‣ Input and Results ‣ Font…

    Select the font to use for the expression editor and result display. On macOS 27 and later, SpeedCrunch uses Qt’s font dialog.

  • Settings ‣ Appearance ‣ Keypad

    Choose the shape and spacing of the keypad buttons:

    • Classic uses shallow rectangular buttons with smaller gaps, similar to the keypad in SpeedCrunch 0.12.

    • Modern keeps the larger square buttons.

    The choice applies immediately to all windows and is saved between launches. It works with every preset and custom keypad. Each window keeps its own layout, selected from View ‣ Keypad, and zoom level, selected from Settings ‣ Appearance ‣ Keypad ‣ Zoom.

    Added in version 1.1.

  • Settings ‣ Appearance ‣ Syntax Highlighting

    Enable or disable syntax highlighting.

  • Settings ‣ Appearance ‣ Hover Highlighting

    Enable or disable hover highlighting.

  • Settings ‣ Language

    Select the user interface language.

Help

  • Help ‣ App Diagnostics

    Show system information and app settings. Use Copy to Clipboard to share the report when reporting a problem.

  • Help ‣ About SpeedCrunch

    Show the SpeedCrunch version, the short source commit hash in parentheses, the Qt version, and the operating system and its version, in that order. Portable builds display Portable next to the SpeedCrunch version. Builds made from a source archive without Git information leave out the commit hash.

  • Help ‣ Check for Updates

    Trigger an update check and show information when a newer version is available. Update checks are enabled in official SpeedCrunch builds. Other distributors can choose whether to enable them. When enabled, this menu entry is available and SpeedCrunch also checks for updates after the window first paints, at most once a week. Each network request has a five-second deadline, including redirects. Receiving data does not extend that deadline. Oversized update responses are rejected before their contents are parsed or saved. Closing a window requests that its update worker stop. Cleanup finishes in the background, without making the window wait for network setup. See BUILDING.md at the repository root for build options and package provider guidance.

    Added in version 1.0.

Keyboard Shortcuts

Choose Settings ‣ Keyboard Shortcuts to change keyboard shortcuts. Search by action name, menu category, or the shortcut shown in the list. Click an action’s box in the Custom column, then press the keys you want to use. You can also double-click the action to focus its box. Recording finishes after a short pause or when you move to another box. Click Apply or OK to save your changes.

The Default column shows the original bindings. The Custom boxes show Use default until you change an action’s shortcut. They show Disabled when you explicitly clear the binding. Notation and precision shortcuts are grouped under Settings / Results in the list.

Each action can have one custom shortcut. A shortcut may be a single key combination or a sequence of up to four combinations, such as Ctrl+K followed by Ctrl+C. Some existing defaults have alternatives, such as Ctrl+N and Ctrl+T for a new tab. Those alternatives remain available until you assign a custom shortcut to that action.

If a shortcut is already assigned, SpeedCrunch lists the conflicting actions. Choose Reassign to remove their conflicting bindings and use the shortcut for the selected action. Sequences also conflict when one begins with the complete shortcut of another action. Other bindings for those actions are kept. SpeedCrunch cannot detect shortcuts that the operating system or another application intercepts before they reach it.

Open the menu beside an action’s box and choose Disable Shortcut to leave it without a binding, or Restore Default to restore its original shortcuts. Clearing a custom shortcut with the box’s clear button also disables it. Use Restore All Defaults to restore every shortcut. Changes take effect in all open windows when you click Apply or OK, and are saved for later launches. Cancel discards changes made since the last click on Apply. Settings ‣ Reset All Settings also restores the default shortcuts.

The configurable actions include session commands, clipboard and editing commands, dock visibility, keypad presets and zoom, pane splitting, tab navigation, focus navigation, selected calculation settings, and manual help. The expression editor also provides these actions:

  • Search Constants.

  • Previous History Expression and Next History Expression. Their default arrow keys follow Settings ‣ Editing ‣ Up/Down Arrow History. A custom shortcut recalls history directly.

  • Zoom In and Zoom Out, also available in the View menu.

  • Result scrolling by page or line, and scrolling to the first or last result.

The expression editor actions work while the expression editor has focus. Evaluation with Enter, ordinary cursor movement, text selection, and popup controls keep their usual keys. For example, Escape still dismisses a popup, and its arrow keys still move through the suggestions. Appearance preferences and other settings without configurable shortcuts remain available from their menus.

The following list shows the default shortcuts. On macOS, the dialog displays the native Command and other modifier symbols.

Added in version 1.2: Configurable keyboard shortcuts.

Editing

  • Ctrl+O

    Open session.

  • Ctrl+Q

    Quit SpeedCrunch (Cmd+Q on macOS).

  • Ctrl+N

    Create a new session in the current session pane.

  • Ctrl+T (Cmd+T on macOS)

    Create a new session tab in the current session pane.

  • Ctrl+Shift+N (Cmd+Shift+N on macOS)

    Create a new private tab in the current session pane.

  • Ctrl+Shift+T (Cmd+Shift+T on macOS)

    Reopen the most recently closed session tab.

  • Ctrl+W (Cmd+W on macOS)

    Close the active session tab.

  • Ctrl+L (Cmd+L on macOS)

    Clear the active session’s history and unfinished expression, keeping its variables, functions, and units. Ask for confirmation unless Settings ‣ Results ‣ Skip Clear History Confirmation is checked.

  • Ctrl+C

    Copy selected text to clipboard.

  • Ctrl+R

    Copy last result to clipboard.

  • Ctrl+V

    Paste from clipboard.

  • Ctrl+A

    Select entire expression.

  • Ctrl+( or Ctrl+)

    Wrap the current selection in parentheses. If no text is selected, the entire expression is wrapped.

Session Tabs

  • Cmd+Alt+Left and Cmd+Alt+Right (macOS)

    Move to the previous or next session tab or pane.

  • Ctrl+Page Up and Ctrl+Page Down (Windows/Linux)

    Move to the previous or next session tab or pane.

Widgets and Docks

  • Ctrl+1

    Show/hide formula book.

  • Ctrl+2

    Show/hide constants widget.

  • Ctrl+3

    Show/hide functions widgets.

  • Ctrl+4

    Show/hide variables widget.

  • Ctrl+5

    Show/hide user functions widget.

  • Ctrl+6

    Show/hide user units widget.

  • Ctrl+7

    Show/hide history widget.

  • Ctrl+8

    Show/hide bit field dock.

  • Ctrl+B

    Show/hide the status bar. The status bar provides quick selectors for Angle Mode, Results ‣ Notation, and Results ‣ Precision. On narrow windows, selectors that do not fully fit are hidden automatically. Status bar visibility is set separately for each window; the main menu always shows and changes the setting for the active window. Angle mode, notation, and precision selections are also retained separately for each window.

Scrolling

  • Page Up and Page Down

    Scroll the result window page-wise.

  • Shift+Page Up and Shift+Page Down

    Scroll the result window line-wise.

  • Cmd+Page Up and Cmd+Page Down (macOS)

    Scroll to the top or bottom of the result window.

Focus Navigation

  • F6 and Shift+F6

    Move focus forward or backward between the expression editor and visible dock controls. Focus navigation applies to the current window, including its floating docks.

Notation

  • F2

    Set result notation to automatic decimal.

  • F3

    Set result notation to fixed-point decimal.

  • F4

    Set result notation to engineering decimal.

  • F5

    Set result notation to scientific decimal.

  • F7

    Set result notation to octal.

  • F8

    Set result notation to hexadecimal.

  • F9

    Set result notation to sexagesimal.

  • F10

    Set result notation to binary.

    Added in version 1.0.

Various

  • F1

    Show context help (dismiss with Escape).

    Added in version 0.12.

  • F11

    Toggle full screen.

  • Ctrl + mouse wheel, Shift + mouse wheel, or Shift+Up and Shift+Down

    Change the font size. The keyboard bindings can be changed with Zoom In and Zoom Out in Settings ‣ Keyboard Shortcuts.

  • Ctrl+Shift + mouse wheel

    Change the window opacity.

    Added in version 0.12.

Footnotes