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
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 Calculator

### 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. Except explicit open source licence (indicated Creative Commons / free), the "Reverse Polish Notation" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "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.) and all data download, script, or API access for "Reverse Polish Notation" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

## Cite dCode

The copy-paste of the page "Reverse Polish Notation" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Reverse Polish Notation on dCode.fr [online website], retrieved on 2024-09-09, 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!