Maths and Computing:

menu
Home
Books
Coding
Computing
Data
Encoding
Mathematics

Reverse Polish Activity

Reverse Polish Activity: Conversion

Infix to Reverse Polish

Tool to convert a standard mathematical expression (infix) to RPN (postfix)

Infix:

Postfix:

Reverse Polish Stack


















Add data to the stack by entering a value and then selecting "Push".

Remove data from the stack by entering a value and then selecting "Pop".

Perform an operation on the top two values in the stack by selecting an operation. The values are removed from the stack and then the result is placed at the top of the stack.

Contents Copyright 2026 Andy Abraham

Please email comments to info@mathsandcomputing.co.uk