7 of the Best Free Linux Calculators
An anonymous reader writes "One of the basic utilities supplied with any operating system is a desktop calculator. These are often simple utilities that are perfectly adequate for basic use. They typically include trigonometric functions, logarithms, factorials, parentheses and a memory function. However, the calculators featured in this article are significantly more sophisticated with the ability to process difficult mathematical functions, to plot graphs in 2D and 3D, and much more. Occasionally, the calculator tool provided with an operating system did not engender any confidence. The classic example being the calculator shipped with Windows 3.1 which could not even reliably subtract two numbers. Rest assured, the calculators listed below are of precision quality."
No maxima? How about kmplot?
Don't thank God, thank a doctor!
While technically not a "calculator", unless you run it in interactive mode, RPL/2 is one of the oldest and most mature of any HP28/48/49/50 style UserRPL interpreters.
What makes it so awesome is its ability to interface with the OS via POSIX compliant commands -- it's almost like using your HP48 as a scripting tool for Unix.Too bad they didn't mention it.
jdb2
#!/bin/bash
echo `$[2+2]`
#fuckbeta #iamslashdot #dicemustdie
# cat
Damn, my RAM is full of llamas.
'dc' is the only calculator you'll ever need!
anything more complicated than adding a few numbers, it's easier to open a spreadsheet than to learn how any particular calculator functions.
DC or BC are more than adequate, are already in 99% of the distros out there and are chock full of features!
why no digg button? Is it because they already posted this story and have that dupe thing figured out?
Do you even lift?
These aren't the 'roids you're looking for.
I'm amazed they left out the hp48 emulator. It was an amazing calculator, and the emulator does exactly what it it is supposed to do - everything.
It did everything a calculator is supposed to do, and it was _almost_ able to boil my coffee.
After my 10 years working with programming, this is still the environment i love the most. Actually it is probably the only thing i still know the exact location of at all times.
I love beeing a geek :)
I still use the TI89 that I've had for almost 10 years, because to this day I have yet to find a desktop symbolic calculator that satisfies me.
I use matlab for work, and its command line interface to maple is decent. What I really want, though, is to somehow combine a command line interface with a nice typeset display - visually parsing the results is so much faster that way. Does such a thing exist?
Half the people on this site probably weren't even alive when Windows 3.1 came out... could you guys give the pointless Microsoft bashing a rest? Just once, ever?
Could we maybe just get over it instead of posting another "LOLZ Microsoft BOB is bad guyz!!"
This shit pisses me off.
Comment of the year
Yep, it's "bc". If bc isn't sufficient, it's "bc -l". If even that won't do it, I move to sage.
And if you're younger than Windows 3.1... GET OFF MY LAWN.
I use bc and I like better than any GUI based calculator. Compiled with readline functionality, it just rocks in my humble opinion:
~$ bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
scale=5
(2*80/3.333)^3
110625.18091
((2*80/3.333)^3)/21
5267.86575
man bc for details
Everything I write is lies, read between the lines.
Calculators are useful as handheld devices, but you may as well use an interpreted programming language if you're on a computer. That is particularly true if you consider yourself a Unix user. So my favourites are:
bc: fast to use, arbitrary precision, and it seems to be universally available
awk: faster to use when you are performing the same calculation many times over
python: has a richer library of mathematics functions
I gave up on all the software calculators a few years back. Now I use python almost exclusively. In fact if I could get a Ti-82 form factor that ran nothing but Python I'd be happy.
This was a natural progression, not something that I forced myself to do. I really like how you can create the rules of the universe and make your own python modules and re-use them. I've done this for my DC and AC theory classes. As well as microprocessor.
The only downside to this is when I need to give the data to someone else to look at. Now I can export to XLS via python as well.
http://nonpareil.brouhaha.com/ Calculator sim. I think one of the older versions can emulate the HP 15C.
Emacs Calc, i.e. "M-x calc" in Emacs is by far the best calculator I've ever seen.
Here's the blurb from the manual:
That list gives you a bit of an idea, but doesn't really capture how just darn cool Calc is; it just seems to do everything.... (The things I particularly value are the vector/matrix operations and the symbolic manipulation operators.)
It's (default) model is HP-style RPN, except of course with a much larger visible stack, and multi-level undo.
[You have to be careful tho because recent releases of Emacs come with two calculators -- a "simple" one, which you get with "M-x calculator", and the super incredible one you get with "M-x calc"... (yes it's kind of silly, but as usual with Emacs, there are historical reasons...]
We live, as we dream -- alone....
To how many significant digits? We need to know what level of precision we're working with.
--GrouchoMarx
Card-carrying member of the EFF, FSF, and ACLU. Are you?
Slightly OT, but if you're a Mac user, I highly recommend the PEMDAS Widget, which is just that tiny bit more powerful than a typical desktop calculator to make it 100x as useful.
-- If you try to fail and succeed, which have you done? - Uli's moose
My vote is for Thomas Okken's HP42S simulator. My favorite calculator from university days is resurrected!
Google's quick calculator does a lot more than I ever realized before I started using it for quick one-liners.
Just type your equation into Google. Works on Windows, Linux, Mac, iPad, BSD, etc.
I've really come to like the SpeedCrunch calculator, which is available as a Debian package, and (according to their website) also runs on Windows and Mac. It's probably not inteded for scientific calculations, and it can't display graphs, but it has a very simple interface ideal for quick calculations. The tooltip with the current result of unfinished expressions is a nice touch, as is the history of past calculations (session).
CJ
Ah, arrogance and stupidity, all in the same package. How efficient of you. -- Londo Mollari
I mean really, use your head.
Input: typically ears or eyes, or fingers if you are blind.
Output: fingers (written) or mouth (oral)
Processor: brain
I don't know about those in the article (never heard of any of them), but here's what I use: Emacs M-x calc, maxima and QtOctave. Gnuplot for graphs. Often Google or python shell for quick things, if I'm too lazy to open emacs calc. I'm surprised none of those were mentioned in article.
what more could you possibly want?
On a related note, does anyone know of a good arbitrary precision decimal math library, preferably for Mono/.NET? Everything I've tried seems to crap out on division of numbers in the range of 10^100000. So far I've had to use arbitrary precision integer libraries, then use the old fixed point math hacks that used to be common before CPUs had floating point support.
I prefer the Python interactive shell and GNU Octave (or any other Matlab-compatible environment, including Matlab itself) for numerical calculations, Asymptote for plots and other methods of data visualisation, Maxima when a CAS is in order and LaTeX to turn all the stuff generated by those packages into something readable and publishable.
Throw in some scripted links between all those tools, a few functions from Peter Acklam's Matlab Utilities, your favourite function for converting a matrix to a LaTeX table and saving it into a file in a single call, a few exec()-equivalents here and there, and you'll get a rig that auto-regenerates your report/publication/thesis/shopping list/whatever else you might have been doing, in a single run of a single program, should you spot a mistake somewhere deep in the calculations, or a typo in the input.
For one, I don't think I'll ever understand people who use spreadsheets. And copy their results to the word processor. And then spot a mistake in a formula, fix it and proceed to copy the new, correct results from scratch. And then spot a typo in the data.
Why biased? Well, I'm studying control systems and robotics. It's all about task automation. Besides, everything in this field involves using Matlab for something, and just about everyone in the academia (the technical side of it, at least) is using LaTeX, so you just kind of get used to using those two for just about anything after a while, and automating everything with scripts.
Of course, the above assumes somtheing more complicated than a few basic operations in a single line. We're talking about sophisticated calculators here. For simple tasks I'm just using Google...
This is Slashdot. Common sense is futile. You will be modded down.
OK linux calculator and math geeks, here's a question I have wondered about before. This is just for fun, show off your leet skillz. Start with the first released linux kernel, get the size, look at some major releases, etc, do your magic as of today's sized kernel, and give us the best guess in your graph or projection when the kernel will reach or exceed one gigabyte in size, the release date as close as possible.
Why hasn't anyone mentioned sage yet? It is quite bloated for a calculator (it's intended to rival Mathematica, not MS Calc), but it does plain old arithmetic, calculus, equation solving, factoring and plotting (2d, 3d, 2d/3d implicit, complex, complex implicit) quite well.
Are we worried now about the math results of people who can't figure out a calculator? Why?
Help stamp out iliturcy.
Try Sage (sagemath.org). It can be finicky to install, but is a great CAS! It also will integrate with Octave, Maxima, R, GAP, Python, and several other programs. The typesetting is great and the graphs look good too.
Anyone know of such a thing on linux?
The Linux calculator we use at work is gtapecalc: http://gtapecalc.sourceforge.net/
It is oldler, but a great business calculator. The best feature it has is the ability to emulate a calculator WITH A PRINTOUT TAPE! So you can see everything you did, edit those numbers, add comments, even print the "tape".
i found orpie http://pessimization.com/software/orpie/ to be very useful during intro to AC circuits back at university. it handles input in both polar and rectangular notation and will output the answer in either. a fast RPN calculator. The only thing i haven't found is a calculator to do symbolic algebra, as in solve things in terms of sqrt(2)'s and such for me.
All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
---
Linux Feed @ Feed Distiller
What more could you need? (Acceptable answer: Sage?)
there is no god but truth, and reality is its prophet
I've heard that RPN calculators save keystrokes, but my precalculus book listed RPN and algebraic keystrokes for various problems, and it seemed that the savings was only due to unnecessary keystrokes with the algebraic version. Looking at several examples in that book, I couldn't find one where an efficient user of an algebraic order calculator couldn't do the problems in just as few keystrokes. Could someone give an example of a problem where RPN uses fewer strokes than an algebraic order calculator (including what strokes are needed on the RPN)?
Nothing. I repeat: Nothing beats Qalculate!! (It’s so hot, Firefox’s spell checker suggests “Ejaculate”!)
If you go any bigger, you “explode” into a math suite, and not a calculator anymore.
Ignore the silly screenshot with the “button” view. Most calculator software tries to imitate a physical calculator, with buttons and LED displays. Which is just an EPIC FAILure in UI design. This screenshot shows a real usage example of Qalculate!: ;)
http://navid.radiantempire.com/pub/Haskell-Synth-Entwicklung.png (The BG contains a Haskell programming editor and a sound analyzer. Yes, I’m still a noob at this.
Any sufficiently advanced intelligence is indistinguishable from stupidity.
octave???
Red to red, black to black. Switch it on, but stand well back.
A full fledged HP 48g(x) emulator that actually looks like an HP48. It is not supported anymore, but it works great on my system still.
Clearly the most robust is Sage:
http://www.sagemath.org/
for the nerdiest linux topic on slashdot for 2010.
The calc2 program from page 144 of my yellowed copy of The AWK Programming Language is all I have needed for 98% of the calculations I make. If I need a spreadsheet, I'll use one, but specifying the RPN on the command line and getting the answer right there is the most convenient. Nothing else to load and unload, just type a command and get an answer. It even supports named variables! I save it as rpn.awk on the *nix or Windows systems I spend any time on. I spent about 10 minutes adding percentage and modulus operators, sometime in the last 17 years or so. It works!
Sadly, I mis-read the headline and came here expecting a photo of Miss Ubuntu February and Miss RedHat April....
Wolfram Alpha is not a Linux calculator per se, but it's a calculator you can use while on Linux! :)
"In our tactical decisions, we are operating contrary to our strategic interest."
sage is the best calculator ever. it's scriptable in python, comes with a web interface and can typeset results, too.
sagemath.org
No TI-85 emulators?
Seriously. OK, sometimes the expression becomes a few lines long and at some point I'll write it to a file and fire up vim, but that happens rarely.
thegodmovie.com - watch it
Uh.. the seven best Linux calculators...? Okay, I take it back, can we go back to the Apple news please?
"I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)
This one is so advanced most people don't know how to use it.
SuperbCalc is great. Java. Runs on Windows, Linux, and Mac
http://www.mariottini.net/roberto/superbcalc/index.php
The linked page has 24 lines of useful text. It also has 10 ads, and at least 50 links of marginal value.
In other words, it's spam.
I prefer this one: http://www.isthe.com/chongo/tech/comp/calc/ No gui. Scriptable, with a c-style language. Very usefull.
A put down of the MS calculator and not a ONE even asks how are all the calculators mentioned vetted?
Obviously an rpn calculator, pretty much the basic trig and exponential (in some ways less than an HP-45 - my first calculator). On the other hand, it does have a deep stack limited by screen space, complex numbers, some matrix ops and an instruction called "rip" - resistors in parallel, which also works with complex numbers.
A Shadeless room is a brighter room.
The best calculator for you may not be the best calculator for me. For programmers, ycalc is the best. It is the ONLY calculator that supports bitwise operations and lets you toggle bits in binary mode as well.
Half the people on this site probably weren't even alive when Windows 3.1 came out... could you guys give the pointless Microsoft bashing a rest? Just once, ever?
Could we maybe just get over it instead of posting another "LOLZ Microsoft BOB is bad guyz!!"
This shit pisses me off.
Except every few years they remind us how much they really suck.
And 3.1 wasn't that bad. Except when you compared it with an Amiga.
But since then they've had Windows ME, and Vista to remind us how much they suck.
If someone is passing you on the right, you are an asshole for driving in the wrong lane.
I checked some of them out...
Most were considerably *worse* than Windows' built-in calculator - which I didn't think was possible.
No sig today...
I'm using kalc (http://kalc.sourceforge.net/). It's a pleasure to use. Plain and simple and fast. It's not being developed anymore but the latest stable version is almost perfect ...
Hanno
Now, I understand that Windows 7 is quite good. But I would not go as far as calling it the best calculator for linux. It's also not free....
(In best /. tradition I'm not even reading the summary and misreading the headline... what? There is an article, too???)
Amazingly, your sequence [ 2 + 4 = * ( 5 + 6 = ] works (on Kcalc), apparently because "=" also closes parenthesis -- efectively meaning ")=".
So you have a point in that keystroke count differ by not so much. OTOH, the whole point of calling something "algebraic" is to signal direct transposition of formulas from paper to calculator -- without extra work, like the RPN method implies.
In fact, your use of an intermediary "=" works similar to pressing Enter to store a temporary result on the stack.
If one is to use such a convoluted form, I'd go with RPN which seems to have simpler rules.
Of course, that's just me.
~$ cat bin/=
#!/bin/bash
echo "scale=5; $1" | bc
or
octave
R.
It's interesting that I come here exactly looking for a calculator that could handle units and be used from a CLI. Gnuplot integration is a nice plus.
Rethinking email
.
Move on, there is little to see in TFA.
>>> import math
>>> math.log(reduce(lambda x,y: x*y, range(1, 501), 1))
2611.330458460156
>>>
Meh, I'm still used to my old HP48 engineering calc from college, so I run EMU48 via WINE. Works like a champ! :)
I think a SAGE notebook is what you are looking for. It's basically multiple different open source mathematics software packages (such as Maxima) glued together with python. The notebook can typeset it automatically for you or you can output the LaTeX. Well you may like the custom system you have better, but SAGE is pretty slick since it goes into a wide range of math. I suppose any customizations you would like could be contributed to SAGE.
I do think that GUI calculators needn't look like the ones you can hold in your hands. The numbers are already on the keyboard why use a mouse to access them. So a simple command line tool is fine with me.
PARI (or gp) seemed to do well for me. I like the fact that it supports arbitrary precision arithmetic and uses rational numbers as long as possible. The part that irks me is that it doesn't deal well with other number systems like hexadecimal or binary especially as far as output is concerned.
If you know something better, I'm open for suggestions. I didn't try the ones suggested in the article though.
Je me souviens.
I generally use bc for straightforward numerical calculations and R for more complicated things. Another nice cli program is frink, which understands and tracks a huge set of units. It's free as in beer but not open source.
Are there are any emulators and or interface and or "WINE" style programs that can interface with / run the said calculator or it's software? Anything else is just ungay.
.
Voting up, Voting down - If I really gave a fuck about your approval or not, I'd come and ask you.
The <enter> is not part of the RPN. More correctly, you don't need it exactly because you're using RPN, which works on a stack. Values get pushed on, operations pop values off the stack. 2 4 + 5 6 + * P works just fine.
You add 2 and 4 to the stack, then execute + (on TOS and TOS-1), so TOS is now 6. You then add 5 and 6 to the stack, exec + again to get a stack of 6 and 11, on which finally you execute * to get a TOS of 66.