# OCR API for Math and Science

Image scanning software for Ed Tech companies. Make math equation entry easy for end users.

y=\frac{x}{3}-5

### ↓

11. $z_{1}$ and $z_{2}$ are unimodular complex numbers that satisfy $z_{1}^{2}+z_{2}^{2}=4$ then the value of $\frac{\left(z_{1}+\bar{z}_{1}\right)^{2}+\left(z_{2}+\bar{z}_{2}\right)^{2}}{2}$ is (a) 10 (b) 11 (c) 12 (d) 13

### ↓

\left(\begin{array}{l} c t^{\prime} \\ x^{\prime} \\ y^{\prime} \\ z^{\prime} \end{array}\right)=\left(\begin{array}{cccc} \gamma & -\gamma \beta & 0 & 0 \\ -\gamma \beta & \gamma & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{array}\right)\left(\begin{array}{l} c t \\ x \\ y \\ z \end{array}\right)

Compatible with industry standards like LaTeX, Asciimath, MathML, and Markdown.

Battle-tested with deep functionality, including text, handwritten text, chemical equations, tables, and advanced math.

## The most-trusted, fastest-innovating, limit-pushing OCR provider for STEM

Due to our exceptional accuracy and constant innovation, we are the most trusted brand for OCR among leaders in online math education, like Mathway, Microsoft, Chegg and more.

### Battle-tested reliability

We process over 10 million images every day. Our system is battle tested and reliable with 99.9%+ uptime.

### Low latency

We are constantly pushing the boundaries of what is possible for image recognition while maintaining extremely low latencies.

## An easy-to-implement API for image recognition

Start digitizing images of math, chemistry, and text in a matter of minutes with a simple HTTP request.

We support image URL and base64 formats.

### Example request:

{ "src": "https://mathpix.com/examples/limit.jpg", "formats": ["text", "data", "html"], "data_options": { "include_asciimath": true, "include_latex": true } }

### Example response & rendering:

{ "confidence": 1, "confidence_rate": 1, "is_printed": false, "is_handwritten": true, "text": "\$$\\lim _{x \\rightarrow 3}\\left(\\frac{x^{2}+9}{x-3}\\right) \$$", "html": "
\nlim_(x rarr3)((x^(2)+9)/(x-3))\\lim _{x \\rightarrow 3}\\left(\\frac{x^{2}+9}{x-3}\\right)
\n", "data": [ { "type": "asciimath", "value": "lim_(x rarr3)((x^(2)+9)/(x-3))" }, { "type": "latex", "value": "\\lim _{x \\rightarrow 3}\\left(\\frac{x^{2}+9}{x-3}\\right)" } ] }

## Supported image types

Use Mathpix OCR to very accurately convert images of simple and complicated printed and handwritten math, text, and tables.

We can also recognize printed foreign languages like Hindi, Chinese, Japanese, and Russian.

### Printed English

You can find more example requests and types of images that you can process with Mathpix OCR in the User Guide.

Ed Tech industry leaders trust Mathpix

• ## Solving and Search Apps

With a long tail of advanced math, handwriting, and foreign language features, Mathpix OCR is the #1 choice for solving, tutoring, and search apps like Mathway, Microsoft Bing, Doubtnut, and Toppr. These apps help students of all levels around the world learn math, find tutors, and get the help that they need.

• ## Grading and Assessment Platforms

Whether they provide immediate answers or grade questions in bulk, grading and assessment platforms like Gradescope and Bakpax use Mathpix OCR in their platforms to make it faster and easier for math and science teachers to distribute and grade homework and exams with AI.

• ## Publishing, Bulk Digitization, Accessibility and LMS

Publishing companies use Mathpix OCR to create digital STEM educational material like online math textbooks. Accessible education companies like Benetech use Mathpix to make math and science educational materials accessible to all students.

• $1 one-time setup fee • Visualization Dashboard • Pay only for what you use • Billed on 1st of each month for previous calendar month's API usage • ### Enterprise • Long term contracts • Discounted prices for high volume • 24/7 support • Custom recognition features • On prem (PDF and document conversion processing only) • SLAs ## API pricing by route We price differently based on which endpoints are used. Usage tiers serve as a volume discount. v3/text, v3/strokes, v3/latex, v3/image-results, v3/batch •$0.004/request (1-100K requests)
• $0.002/request (100-300K requests) •$0.001/request (300K+ requests)
• $0.1/page (0-1K pages) •$0.05/page (1K+ requests)