Math word problems generator

Generate math word problems for any grade K-8: all four operations, fractions, ratios, and equations, in contexts you pick. Free, printable, with answer key.

Free · No account · Up to 40 problems · Answer key included

Tip: Describe the specific skill or topic. The generator calibrates complexity to the grade level you pick.

GradeWithAI is used by 21,000+ teachers, including teachers at

What is a math word problem?

A math word problem states a math question as a short story, so students have to read, pick out the quantities, choose the operation, and then compute. This generator writes word problems for kindergarten through 8th grade, in all four operations and in fractions, ratios, and equations, with an answer key.

What each grade band covers

The problems follow the Common Core strands for Operations and Algebraic Thinking, Number and Operations, and Ratios and Proportional Relationships, with numbers and reading load scaled to the grade:

  • K-2: addition and subtraction, within 10 in kindergarten and within 100 by 2nd grade

  • Grades 3-5: multiplication, division, fractions, and decimals

  • Grades 6-8: ratios, percents, negative numbers, and equations

How you control the output

Say the grade, the operation (or 'all four operations'), the number of problems (up to 40), and a theme such as sports, cooking, or money. Ask for one-step, two-step, or multi-step stories, or a specific structure such as compare problems.

Classroom uses

For differentiation, run the same request at two grade levels and give each group its own page.

How the math problem generator works

  1. 1

    Describe the set

    The topic and the format, such as two-step equations or fraction word problems about cooking.

  2. 2

    Set the details

    Grade, difficulty, and number of problems. It usually takes 10 to 20 seconds.

  3. 3

    Check and print

    Work a few problems yourself, then print the student copy and the answer key.

What teachers say

Teachers across subjects, from AP history to astrophysics, on grading with GradeWithAI.

“I've really enjoyed using the GradeWithAI program. It saves me a ton of time, especially when I have class sizes of 35 or 36 students times five.”
Rebecca Ford
Rebecca Ford
Astrophysics
“GradeWithAI doesn't just grade. It gives the student reasoning as to why every point is awarded or not awarded. That is a very valuable thing for the students.”
Ken Brenan
Ken Brenan
Computer Science
“More impressive though is that it corrects student answers not simply using a pre-written answer, but by following the thought process they've pursued.”
Aaron Braskin
Aaron Braskin
T&E Department Head
“For Chadwick users, GradeWithAI has improved feedback efficiency and effectiveness, as it is grounded in existing platforms and is highly adaptable.”
Erin Nordlund
Erin Nordlund
Director of Teaching and Learning
“GradeWithAI [provides] students with timely individualized feedback on their homework assignments and formative assessments. This is a job that is virtually impossible for a teacher to do on a regular basis.”
Jason Robertson
Jason Robertson
AP Calculus
“Students have also appreciated the consistency and immediacy of the feedback I can provide through GradeWithAI. This has enabled them to make necessary corrections and achieve their desired scores on any assignment.”
Freddy Polanco
Freddy Polanco
AP US History

Grading the completed problem sets?

GradeWithAI reads handwritten math from scans or phone photos and gives partial credit under your rubric or answer key. You review each score before it posts.

Grading the completed math work? See how the AI math grader gives partial credit

GradeWithAI grading a handwritten Algebra II quiz with partial credit, showing the scanned student work next to step-by-step AI feedback

Math problem generator FAQ

Questions about this tool? Email john@gradewithai.com.

Yes. Choose 6th, 7th, or 8th grade and you get ratio, percent, negative-number, and equation word problems written to those standards.

Yes, as a separate step. Upload scans or phone photos of the finished pages to GradeWithAI with this answer key or your own rubric. It reads handwritten work, gives partial credit, and lets you review every score before students see it. You can also sync assignments from Canvas or Google Classroom. Grading needs a free account.

Addition, subtraction, multiplication, division (including long division), fractions, decimals, ratios, percents, pre-algebra, Algebra 1 and 2, and geometry.

Yes. Ask for word problems in the description, and add a context such as sports, animals, or food if you like.

Pick the grade, which sets the kind of numbers and operations, then choose easy, medium, or hard.

Yes. Every problem has an answer, printed on a separate page. Work a few problems yourself before handing the set out, since AI-generated math can contain mistakes.

No. It writes problems. To grade completed work, upload it to GradeWithAI, which reads handwritten math and gives partial credit under your rubric or answer key.

Yes, with no account.

Grade the completed math work

21,000+ teachers use GradeWithAI to grade essays, tests, and handwritten work, and report saving 10+ hours a week.

The free plan grades 25 submissions every 30 days. No credit card.

10+hours saved per week

Reported by teachers using GradeWithAI, with feedback on every submission they grade.

  • Erin Nordlund
  • Rebecca Ford
  • Ken Brenan
Teachers at 1000+ schools