Free42 is a simulator of the Hewlett-Packard HP-42S scientific programmable calculator and HP-82240 printer. It recreates the calculator’s behaviour and user interface while providing a number of enhancements over the original hardware.
Unlike emulators that depend on copyrighted calculator firmware, Free42 is a complete independent implementation. It does not require an HP-42S ROM image and can execute programs written for the original calculator.
Free42 supports the HP-42S calculation model, including Reverse Polish Notation, a programmable calculation stack and the calculator’s mathematical functions. This makes it useful to people familiar with classic Hewlett-Packard calculators, as well as users who want a programmable RPN calculator on a modern computer.
The application provides two alternative numerical representations. Decimal mode uses high-precision decimal floating-point arithmetic, while binary mode uses native binary floating-point arithmetic. Each has different performance and precision characteristics.
Free42 also supports exchanging calculator programs and saving complete calculator states. These capabilities allow existing programs and customised working environments to be retained between sessions.
This is free and open source software.
Key Features
- Independent reimplementation of the HP-42S scientific programmable calculator.
- Simulates the HP-82240 printer.
- Compatible with programs written for the original HP-42S.
- Does not require a calculator ROM image.
- Reverse Polish Notation calculation model.
- Supports scientific and programmable mathematical operations.
- Matrix and complex-number calculations.
- Decimal floating-point mode with 34 digits of precision.
- Binary floating-point mode using native double-precision arithmetic.
- Import and export calculator programs.
- Save and restore complete calculator states.
- Printer output simulation.
- Additional mathematical and programming capabilities beyond the original calculator.
- Cross-platform support – runs on Linux, macOS, Windows, Android, and iOS.
Website: codeberg.org/thomasokken/free42
Support:
Developer: Thomas Okken
License: GNU General Public License v2.0

Free42 is written in C++ and C. Learn C++ with our recommended free books and free tutorials. Learn C with our recommended free books and free tutorials.
Related Software
| Calculators | |
|---|---|
| Qalculate! | Powerful and easy to use multi-purpose desktop calculator |
| Genius | Desktop calculator, an educational tool in mathematics, and for research |
| SpeedCrunch | High precision and powerful desktop calculator |
| KCalc | Scientific calculator designed for KDE |
| Calculator | Simple and easy to use calculator |
| KAlgebra | Replace your graphing calculator |
| rpCalc | Simple RPN calculator |
| Kalk | Cross-platform application built with the Kirigami framework |
| Modular Calculator | Aimed at scientific, engineering or computing work |
| Nonpareil | High-Fidelity calculator simulator |
| Wombat | High-precision scientific calculator |
| Uno Calculator | Port of Windows calculator |
| SwitchCalc | GTK4 calculator |
| Schulrechner | Calculator you know from school |
| Pebbles | GTK-based app |
| Cuneo | Widget-like calculator and conversion tool |
| RCalc | RPN calculator |
| galculator | RPN and algebraic calculator |
| gdcalc | Financial, scientific, statistical and programming calculator |
| Sums | Postfix calculator designed for quick calculations |
| JRPN | RPN programmer's calculator inspired by the classic HP-16C |
| Free42 | HP-42S calculator simulator |
| COSMIC Calculator | Native COSMIC desktop calculator with calculation history |
| Yutovo | Visual calculator combining mathematical notation and editable text |
| Yesser Calculator | Extensible calculator |
| xcalc | Simple scientific calculator that can emulate a TI-30 or an HP-10C |
| x48ng | Reboot of the HP 48 emulator |
| tCalc | Simple calculator written in core Tcl/Tk |
| OxiCalc | Small, simple calculator. It uses GTK4. |
| NumNum | Calculator supporting variables, units and currencies |
| MCalc | Perform simple mathematical operations |
| Eigen | GTK4 matrix calculator |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.