Search for a tool
Reverse Polish Notation

Tool to write in Reverse Polish Notation RPN: a post-pifex notation which allows to write mathematical expression without parenthesis.

Results

Reverse Polish Notation -

Tag(s) : Arithmetics, Notation System

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Reverse Polish Notation' tool for free! Thank you!

Reverse Polish Notation

Reverse Polish Notation Writing

x
See also: Calculator

Reverse Polish Notation Calculator

x

Answers to Questions (FAQ)

What is the Reverse Polish Notation? (Definition)

Reverse Polish notation (RPN) also called post-fixed notation, is a mathematic notation of arithmetic expressions where operands (numbers) are written before the operators (+, -, *, /) while avoiding the use of parentheses. The RPN is primarily adapted to a technical computer / electronic use, and has the characteristic of avoiding the use of parentheses.

How to write using Reverse Polish Notation?

The NPI notation displays operands before operators. This notation implies to write operands first and then the order of operations.

Example: a × (b + c) is written a b c + ×

The conversion algorithm into RPN is called the Shunting-yard method.

Who uses Reverse Polish Notation?

The notation has the advantage that it no longer uses parentheses, reducing errors, and is sometimes faster than a normal calculation. RPN is also used in some programming languages like Forth, but also in HP calculators and in some scientific computations where the gain up and computation time can be interesting.

Source code

dCode retains ownership of the "Reverse Polish Notation" source code. Any algorithm for the "Reverse Polish Notation" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Reverse Polish Notation" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Reverse Polish Notation" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "Reverse Polish Notation" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source. Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link: https://www.dcode.fr/reverse-polish-notation
In a scientific article or book, the recommended bibliographic citation is: Reverse Polish Notation on dCode.fr [online website], retrieved on 2025-04-26, https://www.dcode.fr/reverse-polish-notation

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Reverse Polish Notation' tool for free! Thank you!


https://www.dcode.fr/reverse-polish-notation
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback