Online LaTeX Equation Converter
Math ToolsType LaTeX expressions and preview equations in real time. Download as PNG, SVG, or MathML.
How to Write LaTeX Math
Basic Formulas
LaTeX uses special commands to express mathematical notation. Here are the most commonly used basics.
| Description | LaTeX Code | Result |
|---|---|---|
| Fraction | \frac{a}{b} | |
| Exponent | x^{2} | |
| Subscript | x_{i} | |
| Square root | \sqrt{x} | |
| Bar (mean) | \bar{x} | |
| Hat (estimate) | \hat{x} |
Calculus
Common notations for integrals, limits, and other calculus expressions.
| Description | LaTeX Code | Result |
|---|---|---|
| Derivative | \frac{dy}{dx} | |
| Partial derivative | \frac{\partial f}{\partial x} | |
| Definite integral | \int_{a}^{b} f(x) dx | |
| Limit | \lim_{x \to 0} | |
| Summation | \sum_{i=1}^{n} | |
| Product | \prod_{i=1}^{n} |
Linear Algebra
Common notations for vectors, dot products, and matrices.
| Description | LaTeX Code | Result |
|---|---|---|
| Vector (arrow) | \vec{a} | |
| Vector (bold) | \boldsymbol{a} | |
| Dot product | \vec{a} \cdot \vec{b} | |
| Norm | \|\vec{a}\| | |
| Parenthesized matrix | \begin{pmatrix} a & b \\ c & d \end{pmatrix} | |
| Bracketed matrix | \begin{bmatrix} a & b \\ c & d \end{bmatrix} | |
| Inverse matrix | A^{-1} | |
| Transpose matrix | A^{T} |
Common Greek Letters
Greek letters frequently used in math and physics.
| Description | LaTeX Code | Result |
|---|---|---|
| Alpha | \alpha | |
| Beta | \beta | |
| Gamma | \gamma,\ \Gamma | |
| Delta (change) | \delta,\ \Delta | |
| Epsilon | \epsilon,\ \varepsilon | |
| Eta (learning rate) | \eta | |
| Theta | \theta,\ \Theta | |
| Lambda | \lambda,\ \Lambda | |
| Mu (mean) | \mu | |
| Pi | \pi,\ \Pi | |
| Rho (density / correlation) | \rho | |
| Sigma (std. dev. / summation) | \sigma,\ \Sigma | |
| Phi | \phi,\ \Phi | |
| Omega | \omega,\ \Omega |
FAQ
- Q: What is the difference between LaTeX and TeX?
- A: TeX is a typesetting system created by Donald Knuth. LaTeX is a macro package that makes TeX easier to use. Today, "TeX" usually refers to LaTeX.
- Q: My formula is not rendering correctly
- A: Check for missing backslashes (\) or unclosed braces ({}). Misspelled command names are also a common cause.
- Q: What is the difference between download formats?
- A: PNG is easy to paste as an image. SVG scales without losing quality. MathML is ideal for web pages and accessibility.