How to Clone Photomath
Point your camera at a math problem, get step-by-step solutions
What is Photomath?
Photomath is the app that scared every algebra teacher: point your phone at a printed or handwritten math problem and it returns the answer plus a step-by-step worked solution. It was acquired by Google in 2023, sits permanently near the top of the Education charts, and monetizes through a Photomath Plus subscription that unlocks richer explanations, animated steps and textbook solutions.
Under the hood Photomath is two hard problems stitched together: OCR that can read messy handwritten and printed math (fractions, exponents, integrals - not just plain text), and a symbolic math engine that solves the parsed expression and, crucially, explains each step the way a human tutor would. The second part is what users pay for; an answer is a commodity, a clear explanation is not.
For a cloner, be honest with yourself: this is the hardest app on the chart to fully replicate. The good news is that the heavy lifting is now buyable. Math-aware OCR exists as an API (Mathpix), symbolic solving and step generation can lean on Wolfram Alpha or a strong LLM with a computer-algebra tool, and you no longer need a research team. The realistic clone opportunity is a niche: one subject (chemistry, physics, statistics), one exam (SAT, GCSE, a national curriculum), or one language where the incumbents are weak - not a head-on 'better Photomath'.
Who it's for: Students aged 12–22 (and the parents who buy the subscription) struggling with homework - middle school through early college. Clone opportunities target a specific subject, a specific exam, or a non-English curriculum the big apps ignore.
How Photomath makes money
- $ Photomath Plus subscription: roughly $9.99/month or $69.99/year unlocking animated steps, deeper explanations and textbook-specific solutions; the annual plan is the conversion target.
- $ Hard feature gate: free users get answers, paying users get the why - explanations are the single most valuable thing to put behind the wall.
- $ Volume: an education app this broad lives on App Store search and word-of-mouth in schools, so customer acquisition cost stays low and conversion scale carries the revenue.
- $ Upsell to tutoring or textbook bundles: solved problems mapped to specific textbooks create natural cross-sell into homework-help products.
Rough estimate of app-store consumer spend based on public third-party reports; figures predate and exclude Google-internal numbers. CloneMRR is not affiliated with Photomath; figures are for educational purposes.
Features to build
MVP ship this first
-
✓ Camera + crop captureSnap a photo of a problem, crop to a single equation, with a fallback to type the problem in a math keyboard.
-
✓ Math OCRConvert the cropped image to a LaTeX/MathML expression using a math-aware OCR API - the core dependency that makes or breaks the app.
-
✓ Solver + step generationSolve the parsed expression and produce ordered, human-readable steps via a computer-algebra service or an LLM with a math tool.
-
✓ Step-by-step viewerWalk through each step with the rule used ('subtract 3 from both sides'), expandable into a fuller explanation.
-
✓ Paywall + subscriptionsFree tier returns the final answer; the step-by-step breakdown sits behind a subscription with a free trial (RevenueCat / Stripe).
-
✓ HistorySaved list of previously scanned problems with their solutions, re-openable offline.
Full version add later
-
+ Animated stepsVisually animate each transformation (terms moving across the equals sign) the way Photomath Plus does - the premium 'aha' moment.
-
+ GraphingPlot functions, show roots, intercepts and key points for the parsed expression.
-
+ Multi-subject supportExtend beyond algebra to calculus, trig, statistics, and word problems with LLM-assisted parsing.
-
+ Textbook modeMap scanned problems to known textbooks and surface the official worked solution and chapter context.
-
+ Handwriting toleranceTune OCR and add a correction UI for messy handwriting, the most common failure mode.
-
+ Practice + quizzesGenerate similar practice problems from a solved one, with spaced-repetition review to drive retention.
Recommended tech stack
| Layer | Our pick | Why |
|---|---|---|
| Mobile app | React Native (Expo) or Swift | Camera capture, cropping and in-app purchases all work well in Expo; choose Swift if you want the tightest camera and on-device performance. |
| Math OCR | Mathpix API (or Google Cloud Vision + a math model) | Reading handwritten math reliably is a solved-but-not-free problem; Mathpix returns LaTeX from photos and saves months - this is a third-party dependency, own it consciously. |
| Solver + steps | Wolfram Alpha API or an LLM with a SymPy tool | Wolfram gives reliable symbolic answers; an LLM with a computer-algebra tool produces the natural-language step explanations users actually pay for. Combine them. |
| Backend & data | Supabase | Auth, history and entitlements are simple Postgres rows; proxy OCR/solver calls through Edge Functions so API keys never ship in the app. |
| Subscriptions | RevenueCat | Wraps StoreKit/Play Billing, free trials and paywall A/B testing without writing receipt-validation code. |
| Analytics | PostHog or Amplitude | Scan-success rate, scans-per-user and trial-to-paid conversion are the numbers that decide whether this is a business. |
AI prompts to clone Photomath
Pick your builder, copy the prompt, paste it and iterate. Enter your email once to unlock all prompts on every page - we'll also send you this full prompt pack.
Build a math homework-help web app called StepWise, modeled on Photomath.
## Core concept
A student photographs or types a math problem and gets the answer plus a clear step-by-step solution. The final answer is free; the worked steps and explanations sit behind a subscription with a free trial.
## Pages
1. Landing page: clean, friendly hero with a phone mockup showing a scanned equation turning into steps, headline 'Stuck on a problem? Get the steps.', email signup, pricing (monthly $7.99 / yearly $49.99 highlighted), FAQ, trust row ('used by students in 30+ countries')
2. Scan/solve: a large camera/upload zone (drag an image or take a photo) plus a math keyboard to type a problem manually; after submit, show a loading state then the result
3. Solution page: the recognized problem rendered cleanly, the final answer in a card, then a numbered list of steps - first 2 steps free, the rest blurred behind a 'Start free trial to see all steps' overlay for non-subscribers
4. History: list of past problems with thumbnails and answers, re-openable
Tools to build your Photomath clone
Describe your app in plain English and Lovable builds a full-stack web app with auth, database and deployment included.
Best for: Full-stack web apps without writing code
StackBlitz's AI builder. Prompt, run and edit full-stack apps directly in the browser, then deploy in one click.
Best for: Rapid prototypes and web apps
AI app builder with built-in database, auth and hosting. Strong for internal tools and CRUD-heavy products.
Best for: Dashboards, marketplaces and internal tools
The AI code editor. Full control over your codebase with AI agents that write and refactor code for you.
Best for: Developers who want full code ownership
Generates production-grade React + Tailwind UI from a prompt, deployable to Vercel instantly.
Best for: Polished UI and front-ends
Workers, Pages, R2 and D1 - host your clone on a global edge network with a generous free tier.
Best for: Serverless apps and APIs
Cheap VPS and managed hosting with an AI website builder. Easiest way to put a clone online on a budget.
Best for: Budget VPS and WordPress-style sites
How to make money with a Photomath clone
Pick one subject and own it
Don't fight Photomath on general math. Build the best step-by-step app for one painful subject - organic chemistry, statistics, physics word problems - where the incumbents are shallow and a tuned solver plus curated explanations win.
Explanations are the product, not answers
The answer is a commodity students can get free; the clear, animated, exam-style explanation is what converts. Put your effort and your paywall there, and write steps in the voice of a patient tutor.
Exam- and curriculum-specific positioning
Map solutions to a specific exam (SAT, A-Levels, India's JEE) or national curriculum and language. Parents pay premium for an app that speaks their kid's exact syllabus, and the big apps stay generic.
Tutoring and practice upsell
Once a problem is solved, generate similar practice questions and offer a higher tier with live or AI tutoring. The scanned problem is a lead magnet for a deeper homework-help product.
Frequently asked questions
How much money does Photomath make?
Before its 2023 Google acquisition, third-party estimates put Photomath's app-store consumer spend at roughly $1.5–4 million per month from the Photomath Plus subscription. Google no longer breaks the number out publicly, but it remains one of the most-downloaded education apps in the world.
How hard is it to build a Photomath clone?
Honestly, it's the hardest app on this directory to fully replicate - it needs math-aware OCR plus a solver that explains its steps. The shortcut is buying both: Mathpix for OCR and Wolfram Alpha or an LLM-with-math-tool for solving and step generation. A focused niche MVP is feasible in 3–5 weeks; matching Photomath's breadth and handwriting tolerance is a multi-month effort.
Is it legal to clone Photomath?
Building a math-solving app is legal - math is not copyrightable and the category has many competitors (Microsoft Math, Symbolab, Mathway). Don't copy Photomath's name, logo, or app assets, and respect the terms of any OCR/solver API you use. As always this is general information, not legal advice; consult a lawyer for your situation.
What tech stack should I use for a math solver app?
A Next.js PWA or React Native (Expo) front end, Supabase for auth and history, Mathpix for math OCR, Wolfram Alpha or an LLM with a SymPy tool for solving and step explanations, KaTeX for rendering, and RevenueCat for subscriptions. Crucially, proxy every paid API through your server so keys never ship in the app.
How much does it cost to build and run a Photomath clone?
Build cost is mostly your time plus AI-builder subscriptions. Running cost is dominated by per-scan API fees: math OCR runs cents per image and solver/LLM calls add a little more, so a free tier that scans heavily can get expensive fast. Cache results by problem hash, meter free scans, and price so a paying user comfortably covers their API usage.
Can an AI model solve the math instead of Wolfram Alpha?
Partly. Modern LLMs are excellent at writing natural-language step explanations but unreliable at raw arithmetic and symbolic manipulation on their own. The robust pattern is to compute the answer with a deterministic engine (Wolfram Alpha or SymPy) and use the LLM only to narrate the steps - so the math is correct and the explanation is human.
More apps to clone
CloneMRR is not affiliated with, endorsed by or connected to Photomath. Revenue figures are rough estimates based on public reports and are provided for educational purposes only. "Cloning" here means building an original product inspired by a proven business model - never copy a brand's name, logo, content or code.