gdcalc(1) - a Financial, Scientific, Statistical & Programming calculator for GTK+


1. Introduction

gdcalc is a financial, statistics, scientific and programmers calculator for Unix and Linux. The GUI was written with glade(1) and uses the Gnome/Gtk-2 toolkit - so it may well be compatible with themes and other whiz-bang features of those systems.

gdcalc has both Algebraic notation (ie. conventional, TI or Casio style) and Reverse Polish Notation (RPN or Hewlett-Packard style). If you've not heard of RPN before, you are probably familiar with algebraic calculators. Very briefly, while simpler and more natural to use, RPN calculators need some study eg. they have an Enter key instead of the equals key.

See the new web site at My Wiki

Note: if you are using a locale other than English, please make sure you run gdcalc with the command

bash$ LC_NUMERIC=en_US gdcalc &

(thanks to Gösta)

2. Major modes

All functions are available in both algebraic and RPN modes):

3. Conversions

  • There is a full set of unit conversions including

    ... and anything else that units(1) can cope with. Metric, US and British units are supported - e.g. a US gallon is a measly 3.78 litres as opposed to the much more generous British gallon at 4.54 litres.

    gdcalc is fully programmable (you've got the source, ninny) and I've left loads of blank keys on the GUI for you to add in your favourites. If you add functions that you think would be interesting for the world at large, please let me have the diffs and I'll put them in. Fixes also welcome ... upgrade ideas tolerated.

    gdcalc is based on my venerable dcalc RPN calculator which I wrote about a million years ago to learn C and curses - about 1983, I suppose.

    The original dcalc for curses (Unix console) is at dcalcCurses.html

    There is another version of this for the Psion (RPN only) at: ../psion and it has a manual which is pretty much applicable to the Unix version (the main exception being the lack of OPL on Unix - hence programmable keys and graphics).

    If you want to know more about RPN calculators (and why they are more intuitive than algebraic calculators) take a look at

    Have fun with it! Bob Hepple:

    4. Screenshots

    4.1 Algebraic (Casio/TI), financial mode:

    4.2 RPN (HP), scientific mode:

    4.3 Programming mode:

    4.4 Statistics mode:

    5. Download & Repository

    6. Copyright

    Copyright (C) 1997-2018 Bob Hepple

    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

    This site built with Linux

    This page last updated on Mon Dec 24 11:22:58 AEST 2018
    For corrections/additions/suggestions for this page, please send email to:

    Copyright© 1997-2018 Bob Hepple. All rights reserved.'