gnome-calculator

GNOME desktop calculator application

TLDR

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

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.

INSTALL

sudo apt install gnome-calculator
sudo dnf install gnome-calculator
sudo pacman -S gnome-calculator
sudo apk add gnome-calculator
sudo zypper install gnome-calculator
nix profile install nixpkgs#gnome-calculator

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)