Buttons Reference



This is is the full list of buttons in RPNCalc and what each of them does.

Default Calculator

0-9 these buttons let you enter numbers
. used in decimals like 10.3
+/- change the number (or exponent) from positive to negative and back
+ add the bottom two entries on the stack
- subtract the last entry on the stack from the one above it
* multiply the bottom two entries on the stack
/ divide the second to last entry on the stack by the last entry
enter put the number you're currently typing onto the stack or duplicate the last entry
<- backspace when entering a number
eex multiply by 10 to the eex power. ie 5 eex 3 is 5 * 10^3 = 5000
drop remove the last entry from the stack
swap swap the last two entries on the stack
roll move the last entry on the stack to the top
rem (remainder) divide the last two entries and give the remainder
1/x divide 1 by the last entry on the stack. ie 3 1/x is 1/3
x^y take the second to last entry on the stack and raise it to the power of the last entry. ie 2 enter 8 x^y is 2^8 = 256
sqrt calculate the square root of the last entry on the stack (to do cube root, raise the value to the 1/3 power ie 27 enter 3 1/x x^y is 27^1/3 = 3)
pi put pi (3.14159...) on the stack

Scientific Calculator

log calculate the base 10 logarithm of the last value on the stack
ln calculate the natural log (log base e) of the last value on the stack
e^x raise Euler's number to the power of the last value on the stack
rad toggle between degrees and radians (used by sin, cos, tan, asin, acos, atan)
sin cos tan take the sine, cosine, or tangent of the last value on the stack
asin acos atan give the angle whose sine, cosine, or tangent equals that value

Programmer's Calculator

hex toggle between decimal and hexidecimal notation
A-F used to enter numbers when in hexidecimal
div (integer division) divide the last two entries on the stack and throw out the remainder
mod (modulus) divide the last two entries and give the remainder (same button as rem)
not bitwise negate
and bitwise and
or bitwise or
xor bitwise exclusive or
lsh bitwise left shift
rsh bitwise right shift


RPNCalc Page