Word problems · Story problems

AI Word Problem Solver: from the story to the solution

The hard part of a word problem is rarely the algebra — it is turning sentences into an equation. This AI word problem solver reads the story, proposes the equation it thinks the story describes, and waits for you to agree before the math engine solves and checks it.

  • ✓ You approve the equation
  • Paste text or a photo
  • Money, distance, area, ages
  • Verified by substitution

What math problem do you want to solve?

Ctrl+V pastes a screenshot · Shift+Enter: new line (one equation per line)

Try

Typed problems our engine solves stay in your browser. Photos, screenshots, PDFs and AI-helped problems are processed by our AI service — privacy.

Word problems · Story problems · worked example✓ Verified
x+(x+1)=41x + (x + 1) = 41
Subtract 1 from both sides
2x=402x = 40
Divide both sides by 2
x=20x = 20
x=20x = 20Re-checked by a second engine
Word problems · Story problems · worked example✓ Verified
x+0.08x=54x + 0.08x = 54
Multiply both sides by 25
27x=135027x = 1350
Divide both sides by 27
x=50x = 50
x=50x = 50Re-checked by a second engine
Word problems · Story problems · worked example✓ Verified
2(w+3w)=642(w + 3w) = 64
Expand the brackets
8w=648w = 64
Divide both sides by 8
w=8w = 8
w=8w = 8Re-checked by a second engine

1 / 3

How it works

What the AI word problem solver does with a pasted story

Reading the story and solving the math are two different jobs, done by two different systems — and you sit between them.

  1. Paste or snap the story

    Type it, paste it from your homework portal, or take a photo. Include the question sentence — "how many…", "find the…" — not just the numbers.

  2. The AI proposes an equation

    An AI model reads the story, picks the unknown and writes the equation (or system) it describes. It may offer more than one reading if the wording is ambiguous.

  3. You confirm it

    Compare the equation with the story. Does xx mean what you think it means? Nothing is solved until you choose — this is where most word-problem mistakes are caught.

  4. The engine solves and checks

    Our math engine solves the confirmed equation with full steps and substitutes the answer back. Only a passing answer gets ✓ Verified.

Story → equation → answer

Five classic word problems, translated and solved

For each story, the translation is ours and the working is the solver’s. Try covering the equation and writing your own before you read it.

Example 1 · Consecutive integers

x+(x+1)=41x + (x + 1) = 41

Story: The sum of two consecutive integers is 41. What are they? Translate: call the smaller one xx; the next integer is x+1x + 1; their sum is 41.

x=20x = 20
✓ Verified

Independent check

x=20:20+20+1=41x = 20:\quad 20+20+1 = 41

The question asks for both integers: 20 and 21. An answer of "x = 20" alone would lose a mark.

  1. Subtract 1 from both sides
    2x=402x = 40
    Isolate the variable term by moving the constant across.
  2. Divide both sides by 2
    x=20x = 20
    Dividing by the coefficient of x leaves it alone on the left.

Example 2 · Price before tax

x+0.08x=54x + 0.08x = 54

Story: After 8% sales tax, a jacket costs $54. What was the price before tax? Translate: the price xx plus 8% of the price equals 54.

x=50x = 50
✓ Verified

Independent check

x=50:50+0.08⋅50=54x = 50:\quad 50+0.08\cdot 50 = 54

A common wrong move is to take 8% off $54. The tax was 8% of the original price, not of the total.

  1. Multiply both sides by 25
    27x=135027x = 1350
    This clears the fractions.
  2. Divide both sides by 27
    x=50x = 50
    Dividing by the coefficient of x leaves it alone on the left.

Example 3 · Rectangle perimeter

2(w+3w)=642(w + 3w) = 64

Story: A rectangle is three times as long as it is wide, and its perimeter is 64 cm. Find its dimensions. Translate: width ww, length 3w3w, perimeter 2(length+width)2(\text{length} + \text{width}).

w=8w = 8
✓ Verified

Independent check

w=8:2⋅(8+3⋅8)=64w = 8:\quad 2\cdot \left(8+3\cdot 8\right) = 64

Width 8 cm, so length 24 cm. Check: 2(8 + 24) = 64.

  1. Expand the brackets
    8w=648w = 64
    Multiply out each bracket and collect like terms on each side.
  2. Divide both sides by 8
    w=8w = 8
    Dividing by the coefficient of w leaves it alone on the left.

Example 4 · Distance, rate and time

40t+60t=30040t + 60t = 300

Story: Two trains leave the same station in opposite directions at 40 mph and 60 mph. After how many hours are they 300 miles apart? Translate: each covers rate × time; together they cover 300.

t=3t = 3
✓ Verified

Independent check

t=3:40⋅3+60⋅3=300t = 3:\quad 40\cdot 3+60\cdot 3 = 300
  1. Divide both sides by 100
    t=3t = 3
    Dividing by the coefficient of t leaves it alone on the left.

Example 5 · A linear cost model

12+0.5m=2012 + 0.5m = 20

Story: A taxi charges a $12 pickup fee plus $0.50 per mile. The fare was $20. How far was the ride? Translate: fixed part + rate × miles = total.

m=16m = 16
✓ Verified

Independent check

m=16:12+0.5⋅16=20m = 16:\quad 12+0.5\cdot 16 = 20
  1. Multiply both sides by 2
    m+24=40m + 24 = 40
    This clears the fractions.
  2. Subtract 24 from both sides
    m=16m = 16
    Isolate the variable term by moving the constant across.

Translation guide

Words that turn into symbols

Most word problems are built from a short list of phrases. Learn these and the equation often writes itself.

The story saysWriteExample
sum, total, more than, increased by+“5 more than a number” → x+5x + 5
difference, less than, decreased by−“7 less than a number” → x−7x - 7 (not 7 − x)
product, times, of (with fractions or %)ד15% of the price” → 0.15x0.15x
quotient, per, ratio, split equally÷“the cost per person” → Cn\frac{C}{n}
is, was, equals, gives, results in=“twice a number is 18” → 2x=182x = 18
consecutive integersx, x+1, x+2x,\ x + 1,\ x + 2Consecutive even or odd: x, x+2x,\ x + 2

Doing it yourself

A five-step routine for any word problem

Whether or not you use the solver, the same routine works on almost every story problem in middle school and high school algebra:

  1. Find the question. Read the last sentence first. What exactly are you asked for, and in what units?
  2. Name the unknown. Write "let xx = …" in words. Vague definitions ("x = the train") cause most wrong equations.
  3. Express everything else in terms of xx. "Three times as long" becomes 3x3x; "the other train" gets its own expression, not a new letter, if you can help it.
  4. Write one true sentence as an equation. Usually a total, a perimeter, a distance or a cost — the fact the story gives you a number for. Motion stories with speeds and accelerations follow the same pattern on the AI physics solver.
  5. Solve, then answer the question asked. Translate xx back into words with units, and check it makes sense: a negative length or 2.5 people means something went wrong.

Our guide on how to solve word problems works through more examples, and the equation solver is there when you already have the equation. A story that also involves a photo of the worksheet works the same way in the homepage AI math solver: it shows what it read, then the equation, and solves only after you confirm both.

Fair warning

When to trust — and question — the AI’s equation

Language is ambiguous in ways equations are not. "A number decreased by 5, then doubled" and "a number decreased by twice 5" are different equations, and an AI can pick the wrong one just as a student can. That is the reason the solver shows its reading and never solves silently.

The math engine then guarantees one thing: the answer is correct for the equation you confirmed. It cannot know whether that equation matches the story — only you can, by reading both. Once you have checked the setup, the rest is verified.

Reading a story uses the AI service, so word problems count toward a fair limit of 30 a day. If you type the equation yourself, solving it is unlimited and stays on your device.

FAQ

Frequently asked questions

Can AI solve math word problems?

Yes — with a caveat. AI is good at turning a story into an equation and occasionally wrong about it, especially with phrases like "less than". This solver shows you the equation it proposes and lets you correct it, then our math engine solves and verifies it.

Is the AI word problem solver free?

Yes, with no sign-up. Because reading a story uses an AI service, word problems have a fair limit of 30 a day per visitor. Typing the equation yourself is unlimited.

Can I take a picture of a word problem?

Yes. Use the camera button or paste a screenshot. The text is read from the image, then the equation is proposed for you to confirm. See the photo math solver for tips.

What kinds of word problems can it handle?

Age, consecutive integers, money and percent, distance-rate-time, work, mixtures, perimeter and area, linear cost models and systems such as tickets or coins. Probability and statistics stories are read too; see the statistics solver for what is verified there.

Why did it ask me to choose between two equations?

Because the wording could honestly mean either. Rather than guess, the solver shows both readings. Re-read the sentence it highlights and pick the one that matches the story.

Does it give the answer in words?

It gives the solved value with full steps. Writing the final sentence — "the jacket cost $50 before tax" — is still your job, and teachers usually award a mark for it.

Paste the story that is stuck

Copy the whole problem into the box at the top. You will see the equation first, so you stay in charge of the setup.