I have seen several people saying the order operation is
- Brackets/Parenthesis
- Orders (roots and powers)
- Divisions
- Multiplications
- Subtractions
- Additions
But I was taught it as
- Brackets/Parenthesis
- Roots and powers, left to right (independently of the exact operation)
- Divisions and multiplications, left to right (independently of the exact operation)
- Subtractions and additions, left to right (independently of the exact operation)
So, what order were you taught and/or use today?


It’s because in any higher level math these rules aren’t needed. Everyone just uses brackets(and mathematical notation) to clearly define an order of operations. There’s no confusion as you’ll never see something potentially ambiguous like “x * y / z / a” .
And even if you did, the division operators would likely be horizontal lines to make it clear what is being divided.
Right the brackets … and functional notation…
Just had a quick read on wikipedia s order of operations an now I know why I can not remember any more… Every peace of software does its own Thing so one can not relay on conventions.
And I think writing “3x” implies the precedence in a way that “3 * x” doesn’t.