Latex Equation Editor Calculator

Type ordinary calculator notation to get LaTeX, or paste LaTeX to get calculator notation. A backslash anywhere means it is read as LaTeX.
Give a value to each letter to evaluate the expression as well as convert it.
LaTeX
\frac{a + b}{2}
LaTeX Equation Editor
Calculator notation
(a + b)/2
LaTeX with display delimiters
\(\frac{a + b}{2}\)
Conversion verified by round trip
yes
Worked out from LaTeX2e for authors, section on mathematical formulas (\frac, \sqrt, superscripts, log-like functions) and 1 other source.
No value was given for a, b, so the expression was converted but not evaluated.

How this is worked out

2 steps
  1. Parsed (a + b)/2 into an expression tree.
  2. LaTeX: \frac{a + b}{2}
Variables foundtable
a, b

Results are general information, not financial, tax, legal, medical or engineering advice.