LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gnome-calculator

GNOME desktop calculator application

TLDR

Launch the GNOME Calculator GUI
$ gnome-calculator
copy
Solve an equation without launching the GUI
$ gnome-calculator --solve "[2^5 * 2 + 5]"
copy
Launch in programming mode
$ gnome-calculator --mode programming
copy
Launch in financial mode
$ gnome-calculator --mode financial
copy
Display version
$ gnome-calculator --version
copy

SYNOPSIS

gnome-calculator [options]

DESCRIPTION

gnome-calculator is the official calculator application for the GNOME desktop environment. It provides multiple modes: Basic for simple arithmetic, Advanced for scientific functions and trigonometry, Financial for interest and currency conversion, and Programming for bitwise operations and base conversion.The calculator supports variables, unit conversions, and complex mathematical expressions. The --solve option allows using it as a command-line calculator without opening the GUI window.

PARAMETERS

-s, --solve EQUATION

Solve equation and print result without launching GUI.
-e EQUATION
Equivalent to --solve.
-m, --mode MODE
Start in specific mode: basic, advanced, financial, programming.
--version
Display version information.
--help
Display help message.

CAVEATS

Requires GTK and GLib libraries. Some advanced features may require additional libraries. Currency conversion requires network access for current rates.

HISTORY

gnome-calculator evolved from the original gcalctool, which was part of GNOME since its early versions. The modern gnome-calculator was rewritten in Vala and introduced with GNOME 3.0 in 2011, providing a cleaner interface and improved functionality.

SEE ALSO

bc(1), dc(1), qalc(1), expr(1)

Copied to clipboard
Kai