Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
Q

qalculate-gtk

> 编程语言
Open source

Qalculate! GTK UI

1.2K stars0 likes0 views
WebsiteGitHub

About

Qalculate! GTK UI

Qalculate! GTK UI

Qalculate! is a multi-purpose cross-platform desktop calculator. It is simple to use but provides power and versatility normally reserved for complicated math packages, as well as useful tools for everyday needs (such as currency conversion and percent calculation). Features include a large library of customizable functions, unit calculations and conversion, symbolic calculations (including integrals and equations), arbitrary precision, uncertainty propagation, interval arithmetic, plotting, and a user-friendly interface (GTK, Qt, and CLI).

[!TIP] Visit the website at https://qalculate.github.io/ to see additional screenshots, read the manual, and download the latest version.

Requirements

  • GTK (≥ 3.10)
  • libqalculate (≥ 5.6.0)

Installation

Instructions and download links for installers, binaries packages, and the source code of released versions of Qalculate! are available at https://qalculate.github.io/downloads.html.

In a terminal window in the top source code directory run

  • ./autogen.sh (not required if using a release source tarball, only if using the git version)
  • ./configure
  • make
  • make install (as root, e.g. sudo make install)

If libqalculate has been installed in the default /usr/local path you it might be necessary to specify the pkgconfig path when running configure: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure

The resulting executable is named qalculate-gtk.

Features

Features specific to qalculate-gtk:

Graphical user interface

  • Flexible expression entry with customizable completion, function hints, and continuous display of parsed expression
  • Optional calculate-as-you-type mode
  • History list which allows use of mathematical operations on previous expressions and results, and has support for comments, bookmarks, and search
  • Customizable keypad with access to most features
  • Extensive menus with access to all functions, units, and variables, as well as most settings
  • Everything but the expression entry can be hidden to minimize footprint and distractions
  • Customizable meta modes for quickly switching between different settings
  • Dialogs for management of and easy access to functions, variables and units (with quick conversion)
  • Dialogs for easy entry of all functions
  • Create/edit functions, variables, matrices/vectors, units, and data sets
  • Tools for quick conversion between number bases, floating point conversion, calendar conversion, and percentage calculation
  • Convenient interface for plots and graphs
  • Configurable keyboard shortcuts

Features from libqalculate:

General

  • All basic operators — arithmetic, logical, bitwise, element-wise, (in)equalities
  • Expressions may contain any combination of numbers, constants, functions, units, variables, matrices, vectors, and time/dates
  • Fault-tolerant and flexible input parsing with verbose error/warning messages
  • Arbitrary precision with both rational and floating point numbers
  • Complex and infinite numbers
  • Propagation of uncertainty and interval arithmetic
  • Both exact and approximate output (sqrt(32) = 4 × sqrt(2) ≈ 5.657)
  • Simple and mixed fractions (4 / 6 × 2 = 1.333… = 4/3 = 1 + 1/3)
  • All common number bases, as well as negative and non-integer radices, roman numerals, etc.
  • RPN mode
  • Highly customizable with a myriad of options for every aspect of the calculator

Symbolic calculations

  • Factorization and simplification
  • Differentiation and integration
  • Can solve most equations and inequalities
  • Customizable assumptions (e.g. ln(2x) where x > 0 = ln(2) + ln(x))

Functions

  • Over 400 flexible and diverse functions (trigonometry, exponents and logarithms, combinatorics, geometry, calculus, statistics, finance, time and date, etc.)
  • Easily created and edited, with support for different argument types, subfunctions, and custom conditions

Units

  • Over 400 diverse units and all standard decimal and binary prefixes
  • Includes all SI units, as well as imperial, CGS, and atomic units, and more…
  • Automatic and explicit conversion (e.g. ft + yd + m = 2.2192 m, 5 kg × m/s^2 = 5 N, 5 m/s to mph = 11.18 mph)
  • Currency conversion with daily updated exchange rates

Variables and constants

  • All common basic constants (π, e, φ, etc.)
  • Fundamental physical constants with 2022 CODATA values (including standard uncertainty and optional units)
  • CSV file import and export
  • Easily created and edited, including by using simple assignment expressions (e.g. x = 2 s)
  • Data sets with objects and associated properties (a data set with chemical elements is included)

Plots and graphs

  • Uses Gnuplot
  • Can plot functions or data (matrices and vectors)
  • Can be customized using several options, and saved as image files

…and more…

[!TIP] For more details about the syntax, and available functions, units, and variables, please consult the manual (https://qalculate.github.io/manual/).

Examples (expressions)

[!NOTE] Semicolon can be replaced with comma in function arguments, if comma is not used as decimal or thousands separator.

Basic functions and operators

…

Units

[!TIP] to can be replace with an arrow (➞ or ->).

r
5 dm3 to l                    # = 5 dm^3 to L = 5 L

20 miles / 2 h to km/h        # = 16.09344 km/h

1.74 to ft                    # = 1.74 m to ft ≈ 5 ft + 8.5039370 in

1.74 m to -ft                 # ≈ 5.7086614 ft

100 lbf * 60 mph to hp        # ≈ 16 hp

50 Ω * 2 A                    # = 100 V

50 Ω * 2 A to base            # = 100 kg·m²/(s³·A)

10 N / 5 Pa                   # = (10 N)/(5 Pa) = 2 m²

5 m/s to s/m                  # = 0.2 s/m

€500 - 20% to £               # ≈ £347.12

500 megabit/s * 2 h to b?byte # ≈ 419.09516 gibibytes

Physical constants

bash
k_e / G * a_0
# = (CoulombsConstant / NewtonianConstant) × BohrRadius ≈ 7.126e9 kg·H·m^−1

ℎ / (λ_C * c)
# = planck ∕ (ComptonWavelength × SpeedOfLight) ≈ 9.1093837e-31 kg

5 ns * rydberg to c
# ≈ 6.0793194E-8c

atom(Hg; weight) + atom(C; weight) * 4 to g
# ≈ 4.129e-22 g

(G * planet(earth; mass) * planet(mars; mass))/(54.6e6 km)^2
# ≈ 8.58e16 N (gravitational attraction between earth and mars)

Uncertainty and interval arithmetic

[!NOTE] Results with interval arithmetic activated are shown in parenthesis.

r
sin(5±0.2)^2/2±0.3   # ≈ 0.460±0.088 (0.46±0.12)

(2±0.02 J)/(523±5 W) # ≈ 3.824±0.053 ms (3.825±0.075 ms)

interval(-2; 5)^2    # ≈ interval(−8.2500000; 12.750000) (interval(0; 25))

[!TIP] "±" can be replaced with "+/-".

Algebra

…

Calculus

ruby
diff(6x^2)                                    # = 12x

diff(sinh(x^2)/(5x) + 3xy/sqrt(x))            # = (2/5) × cosh(x^2) − sinh(x^2)/(5x^2) + (3y)/(2 × √(x))

integrate(6x^2)                               # = 2x^3 + C

integrate(6x^2; 1; 5)                         # = 248

integrate(sinh(x^2)/(5x) + 3xy/sqrt(x))       # = 2x × √(x) × y + Shi(x^2) / 10 + C

integrate(sinh(x^2)/(5x) + 3xy/sqrt(x); 1; 2) # ≈ 3.6568542y + 0.87600760

limit(ln(1 + 4x)/(3^x - 1); 0)                # = 4 / ln(3)

Matrices and vectors

…

Statistics

r
mean(5; 6; 4; 2; 3; 7)             # = 4.5

stdev(5; 6; 4; 2; 3; 7)            # ≈ 1.87

quartile([5 6 4 2 3 7]; 1)         # = percentile((5; 6; 4; 2; 3; 7); 25) ≈ 2.9166667

normdist(7; 5)                     # ≈ 0.053990967

spearman(column(load(test.csv); 1); column(load(test.csv); 2))
# ≈ −0.33737388 (depends on the data in the CSV file)

Time and date

…

Number bases

…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言