Free tool · Math
AI math solver
Type any math problem, from a percentage to an integral, and get a numbered, checked solution: 1 free run a day on GPT-6 Luna, no account needed. Signed in, pick any model and see every step.
1 free run a day, no account needed
GPT-6 LunaBy running it, you agree to the Terms and Privacy Policy and confirm you’re 18 or older. We keep what you send and its answer for 7 days, or in your account if you sign up.
Test runs checked . Updated .
AI math solver: three examples
Three inputs and the solution a free run gave each, made once on September 28, 2026 with GPT-6 Luna and shown as it came back. The example buttons in the box above show the same.
Solve for x: 2x^2 - 7x + 3 = 0
1. Factor the quadratic by finding two numbers whose product is 2·3 = 6 and whose sum is -7: -6 and -1. 2x^2 - 7x + 3 = 2x^2 - 6x - x + 3 2. Group the terms and factor each group. = 2x(x - 3) - 1(x - 3) = (2x - 1)(x - 3) 3. Set each factor equal to zero, since their product is zero. 2x - 1 = 0, so x = 1/2 x - 3 = 0, so x = 3 4. Check by substitution. For x = 1/2: 2(1/2)^2 - 7(1/2) + 3 = 1/2 - 7/2 + 3 = 0. For x = 3: 2(3)^2 - 7(3) + 3 = 18 - 21 + 3 = 0. Final answer: x = 1/2 or x = 3
A phone costs ₹18,000 after a 25% discount. What was its price before the discount?
1. A 25% discount means the phone costs 100% - 25% = 75% of its original price. 2. Let the original price be P. 0.75P = 18,000 3. Divide both sides by 0.75. P = 18,000 / 0.75 = 24,000 4. Check: 25% of ₹24,000 is ₹6,000, and ₹24,000 - ₹6,000 = ₹18,000. Final answer: ₹24,000
Find the derivative of f(x) = x^3 · ln(x), and the slope of the curve at x = 1.
1. The function is f(x) = x^3 · ln(x). Since it contains ln(x), we consider x > 0. 2. Use the product rule: the derivative of u · v is u' · v + u · v'. Here, u = x^3 and v = ln(x). 3. Differentiate each factor: u' = 3x^2 v' = 1/x 4. Apply the product rule: f'(x) = 3x^2 · ln(x) + x^3 · (1/x) 5. Simplify: f'(x) = 3x^2 ln(x) + x^2 6. Find the slope at x = 1 by substituting 1: f'(1) = 3(1)^2 ln(1) + (1)^2 7. Since ln(1) = 0: f'(1) = 0 + 1 = 1 8. Check: substituting x = 1 into the derivative gives 1, so the slope there is 1. Final answer: f'(x) = 3x^2 ln(x) + x^2; the slope at x = 1 is 1.
Which AI model is best at this? We tested every one
Every one of the 15 models we ran passed all 5 of our AI math solver test inputs, so choose on speed and price: GLM 5.3 was quickest, at 1.2 s a run on average. GPT-6 Luna, the model a free run is on, took 2.8 s.
Run on September 28, 2026: 5 inputs on 15 models, each with this tool's own instructions.
| Model | Passed | Hard ones | Messages used on Pro | Cost per run | Time per run |
|---|---|---|---|---|---|
| GPT-6 LunaOpenAIThe free run's model | 5 of 5 | 2 of 2 | 1 each, of 60 a day on Pro | $0.0001 | 2.8 s |
| GLM 5.3 FlashZ.ai | 5 of 5 | 2 of 2 | 1 each, of 60 a day on Pro | $0.0002 | 2.2 s |
| DeepSeek V4.1 FlashDeepSeek | 5 of 5 | 2 of 2 | 1 each, of 60 a day on Pro | $0.0005 | 2.6 s |
| Gemini 3.8 FlashGoogle | 5 of 5 | 2 of 2 | 1 each, of 250 a month on Pro | $0.0010 | 2.6 s |
| GLM 5.3Z.ai | 5 of 5 | 2 of 2 | 1 each, of 250 a month on Pro | $0.0011 | 1.2 s |
| Claude Haiku 4.5Anthropic | 5 of 5 | 2 of 2 | 1 each, of 250 a month on Pro | $0.0024 | 3.5 s |
| DeepSeek V4 ProDeepSeek | 5 of 5 | 2 of 2 | 1 each, of 250 a month on Pro | $0.0035 | 8.7 s |
| Grok 4.7xAI | 5 of 5 | 2 of 2 | 1 each, of 250 a month on Pro | $0.0055 | 16.3 s |
| GPT-6 SolOpenAI | 5 of 5 | 2 of 2 | 1 each, of 125 a month on Pro | $0.0016 | 3.8 s |
| Kimi K3Moonshot | 5 of 5 | 2 of 2 | 1 each, of 125 a month on Pro | $0.0043 | 25.9 s |
| Claude Sonnet 5Anthropic | 5 of 5 | 2 of 2 | 1 each, of 125 a month on Pro | $0.0044 | 4.4 s |
| Gemini 3.1 Pro (preview)Google | 5 of 5 | 2 of 2 | 1 each, of 125 a month on Pro | $0.0078 | 10.8 s |
| Claude Opus 5.5Anthropic | 5 of 5 | 2 of 2 | 1 each, of 62 a month on Pro | $0.0116 | 5.1 s |
| GPT-6 AstraOpenAI | 5 of 5 | 2 of 2 | 1 each, of 31 a month on Pro | $0.0069 | 3.1 s |
| Claude Fable 5.1Anthropic | 5 of 5 | 2 of 2 | 1 each, of 31 a month on Pro | $0.0242 | 5.4 s |
Side by side: a remainder of a large power
The same input on GPT-6 Luna and GLM 5.3 Flash, as each answered it, unedited.
Solve this math problem step by step. Number the steps, check the result, and end with a line that starts "Final answer:". --- What is the remainder when 7^100 is divided by 13?
1. Reduce powers of 7 modulo 13: 7^2 = 49 ≡ 10 (mod 13). 7^3 ≡ 10 × 7 = 70 ≡ 5 (mod 13). 7^6 ≡ 5^2 = 25 ≡ 12 ≡ -1 (mod 13). 2. Therefore, 7^12 ≡ (-1)^2 = 1 (mod 13). 3. Write 100 = 8 × 12 + 4, so: 7^100 ≡ (7^12)^8 × 7^4 ≡ 7^4 (mod 13). 4. Compute the remaining power: 7^4 ≡ (7^2)^2 ≡ 10^2 = 100 ≡ 9 (mod 13). 5. Check: 100 = 13 × 7 + 9, so the remainder is indeed 9. Final answer: 9
Step 1: Use Fermat's little theorem: since 13 is prime and 13 does not divide 7, we have 7^12 ≡ 1 (mod 13). Step 2: Reduce the exponent: 100 = 8·12 + 4, so 7^100 = (7^12)^8 · 7^4 ≡ 7^4 (mod 13). Step 3: Compute 7^2: 7^2 = 49 = 3·13 + 10, so 7^2 ≡ 10 (mod 13). Step 4: Square again: 7^4 ≡ 10^2 = 100 = 7·13 + 9, so 7^4 ≡ 9 (mod 13). Check: 9 · 7^96 inverse-style check — alternatively compute 7^100 mod 13 by repeated squaring: 7^2 ≡ 10, 7^4 ≡ 9, 7^8 ≡ 81 ≡ 3, 7^16 ≡ 9, 7^32 ≡ 3, 7^64 ≡ 9. Then 7^100 = 7^64 · 7^32 · 7^4 ≡ 9 · 3 · 9 = 243 = 18·13 + 9 ≡ 9 (mod 13). Consistent. Final answer: 9
How the inputs are scored
- Final answer: the answer's last “Final answer:” line must hold the right value; nothing else in it is judged.
The inputs: a linear equation, a discount word problem, two dice that add up to 8, a remainder of a large power, and a definite integral by parts. Every model gets the tool's own instructions and up to Pro's reply limit. The method is the same as our other test runs.
How to use the AI math solver
Type or paste one problem, up to 1,000 characters. Write powers as x^2, roots as sqrt(x) and fractions as (a+b)/c.
Pick how much explaining you want, and the language.
Press “Solve it”. The solution streams in; without an account you see its first part (1 free run a day, no account needed).
Signed in, pick any model your plan has, get the whole solution, and carry on in a chat to ask about any step.
Tips for a better answer
One problem at a time
One problem a run. A worksheet of ten gets a rushed answer to each; ten runs (or one chat, signed in) get ten careful ones.
Give it everything the problem gives
Copy the problem exactly, with every number and unit. For a word problem, keep the whole story: the numbers often hide in it.
Name the method you need
Add “by factoring”, “without a calculator” or “using the chain rule” to the problem, and the solution follows your class's method.
Use it to practise, not just to check
Cover the solution after step 1 and try the next step yourself, then compare. It's the fastest way to learn the method rather than the answer.
What a good solution looks like
Every step follows from the last
Each line should follow from the one above it by one move you can name: expand, collect like terms, divide both sides. A jump you can't follow is where mistakes hide.
The answer is checked
A good solution puts the answer back into the original problem (or estimates it) before it states it. Do the same: it takes a few seconds and catches most slips.
Watch for the usual slips
Moving a term across the equals sign without changing its sign, taking only the positive square root, and rounding in the middle of a calculation are the three slips we see most.
Units carried through
Word problems need their units all the way through: if the question is in km/h and minutes, the answer should say which it's in.
What's free, and what signing up adds
Without an account: 1 free run a day, on GPT-6 Luna, shared with the free message on our home page. It takes up to 1,000 characters, writes up to about 600 tokens (roughly 450 words), and shows you the start of the solution.
Signing up is free, with an email link and no card. The solution you ran comes with you as your first chat, and you get 5 free messages on almost every model (all but Claude Fable 5.1, Claude Opus 5.5, and GPT-6 Astra).
Signed in, the tool runs on the model you pick, on your plan, shows the whole answer, and you can carry on in the chat with any model, or ask another model the same thing.
More free tools are on the tools page, and what each plan gives is on pricing.
Questions
Is the AI math solver free?
Yes. Without an account you get 1 run a day on GPT-6 Luna, shared with the free message on our home page: you see the start of the solution, and the rest when you sign up. Signing up is free and adds 5 free messages on almost every model in llmwise (all but Claude Fable 5.1, Claude Opus 5.5, and GPT-6 Astra), with no card.
What kinds of math can it solve?
Arithmetic, percentages, algebra, equations and inequalities, geometry and trigonometry, probability and statistics, and calculus (limits, derivatives, integrals), including word problems. Long proofs and problems with many parts may not fit in one free run's answer; ask one part at a time.
Can it solve a math problem from a photo?
Not in the free run, which takes typed text. After you sign up you can attach a photo of the problem in a chat, pick a model that reads images, and ask for the same step-by-step solution.
How do I know the answer is right?
It shows every step and the check it did, and ends with a line that starts “Final answer:”. Put that answer back into the original problem yourself: if both sides agree, it's right.
Can it explain the steps, not just give the answer?
Yes: pick “Every step, explained” and it says why each step follows, in plain words. You can also ask for the method your class uses, such as “by factoring” or “using the quadratic formula”, in the problem box.
Which AI is best for this, in your tests?
Every one of the 15 models we ran passed all 5 of our AI math solver test inputs, so choose on speed and price: GLM 5.3 was quickest, at 1.2 s a run on average. GPT-6 Luna, the model a free run is on, took 2.8 s. The table on this page has every model's result, what a run counts as on Pro, and the time it took.
Claude, GPT, Gemini, DeepSeek, Grok, Kimi, and GLM, in one chat.
See what a message costs before you send it. Free is 5 messages to try; sign in with an email link, no password or card.