← All Tools

RPN (Reverse Polish) Calculator

Postfix calculator with a live stack display, registers, math and bitwise operations, and an infix-to-RPN converter using the shunting-yard algorithm.

Calculator

History

Status

Infix → RPN Converter

Type a normal arithmetic expression and convert it to Reverse Polish using the shunting-yard algorithm.

Operator Reference

+ - * / arithmetic
mod remainder
pow power x^y
sqrt square root
neg negate top
1/x reciprocal
sin cos tan trig (rad)
log ln log10 / natural
pi e push constants
swap swap top two
dup duplicate top
drop remove top
clear empty stack
and or xor not bitwise
shl shr shifts