SwitchCalc – GTK4 calculator

SwitchCalc is a GTK4 calculator application for Linux with Standard, Scientific, Programmer, and Date calculation modes.

This is free and open source software.

Key Features

  • Standard Mode:
    • Basic arithmetic operations (add, subtract, multiply, divide).
    • Percentage calculations.
    • Memory functions (MC, MR, M+, M-, MS).
    • Keyboard support for all operation.
  • Scientific Mode:
    • Trigonometric functions (sin, cos, tan, asin, acos, atan).
    • Hyperbolic functions (sinh, cosh, tanh, asinh, acosh, atanh).
    • Logarithmic functions (log, ln, log2).
    • Exponential functions (exp, 10^x, 2^x).
    • Powers and roots (square, cube, sqrt, cbrt, x^y).
    • Constants (pi, e).
    • Factorial, absolute value, floor, ceil, round.
    • Angle mode selector (Degrees, Radians, Gradians).
    • Keyboard shortcuts: Ctrl+S (sin), Ctrl+C (cos), Ctrl+T (tan), Ctrl+L (log), Ctrl+N (ln), Ctrl+R (sqrt), Ctrl+P (pi), Ctrl+E (e).
  • Programmer Mode:
    • Number base conversion (Decimal, Binary, Octal, Hexadecimal).
    • Live display of value in all bases.
    • Bit width selection (8, 16, 32, 64-bit).
    • Adjustable shift amount (1-63 bits).
  • Bitwise operations:
    • AND, OR, XOR, NOT, NAND, NOR.
    • Left shift, Right shift.
    • Rotate left, Rotate right.
    • Bit count (popcount).
    • Leading zeros, Trailing zeros.
    • Byte swap.
    • Two’s complement.
    • Toggle bit at position.
    • Keyboard shortcuts: & (AND), | (OR), ^ (XOR), ~ (NOT), < (left shift), > (right shift).
    • Hex input via A-F keys.
  • Date Mode
    • Date difference calculator (years, months, days, weeks, hours).
    • Add/subtract time from dates (years, months, days, weeks).
    • Age calculator with next birthday countdown.
    • Unix timestamp converter (to/from date).
    • Today’s info panel (week number, day of year, leap year status).
    • Working days calculation (excluding weekends).

Website: github.com/djwarf/switchcalc
Support:
Developer: djwarf
License: MIT License

SwitchCalc

SwitchCalc is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Calculators
Qalculate!Powerful and easy to use multi-purpose desktop calculator
GeniusDesktop calculator, an educational tool in mathematics, and for research
SpeedCrunchHigh precision and powerful desktop calculator
KCalcScientific calculator designed for KDE
CalculatorSimple and easy to use calculator
KAlgebraReplace your graphing calculator
rpCalcSimple RPN calculator
KalkCross-platform application built with the Kirigami framework
Modular CalculatorAimed at scientific, engineering or computing work
NonpareilHigh-Fidelity calculator simulator
WombatHigh-precision scientific calculator
Uno CalculatorPort of Windows calculator
SwitchCalcGTK4 calculator
SchulrechnerCalculator you know from school
PebblesGTK-based app
CuneoWidget-like calculator and conversion tool
RCalcRPN calculator
galculatorRPN and algebraic calculator
ExtcalcMultifunctional scientific graphic calculator
gdcalcFinancial, scientific, statistical and programming calculator
SumsPostfix calculator designed for quick calculations
Free42HP-42S calculator simulator
Yesser CalculatorExtensible calculator
xcalcSimple scientific calculator that can emulate a TI-30 or an HP-10C
x48ngReboot of the HP 48 emulator
tCalcSimple calculator written in core Tcl/Tk
OxiCalcSmall, simple calculator. It uses GTK4.
MCalcPerform simple mathematical operations
EigenGTK4 matrix calculator

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted