Settings → printable math worksheet PDF with answer key

Math Worksheet Generator

Choose the operations, the size of the numbers and how many problems, and get a printable worksheet in vertical or horizontal layout with an answer key on its own page. A seed makes the sheet repeatable: the same seed and settings always give the same problems, so you can rebuild or share one.

Problems

Operations (several can be mixed on one sheet)

For division the range applies to the divisor and the quotient, so 2 to 9 gives answers like 6 or 7 and dividends up to 81. Fractions are always proper and in lowest terms. Mixed operations multiply and divide with numbers up to 12 and may produce larger totals than the range.

Page

Seed

Same seed and settings, same worksheet.

Preview

Drawing the worksheet…

Math Worksheet Generator

Operator: Abdulla Al Fahad. How tools are built and checked

A child who has just learned to carry needs thirty carrying problems, not ten carrying and twenty that happen not to. A fixed worksheet cannot adapt, but a generator can: say which operation, how large the numbers are and how many problems, and it produces a sheet and its answer key.

This generator makes sheets of addition, subtraction, multiplication, division, fraction arithmetic and mixed expressions. Everything is computed in the browser, and a seed makes each sheet repeatable, so the one you printed on Monday can be rebuilt exactly on Friday for the answer key.

Key features

  • Nine operation types, several of which can be mixed on one sheet
  • Without-carry, without-borrow, remainder and mixed-number options
  • Vertical (stacked, long division) and horizontal layouts, one to five columns
  • Seeded and repeatable, with the seed printed on the sheet
  • Answer key on its own page, or worksheet only, or key only

How each operation is generated and how the seed works

Addition, subtraction and multiplication pick both operands from the range you set (0 to 9,999). Subtraction swaps the operands when needed, so the answer is never negative. Two options shape the digits: without carrying, each digit of the second addend is chosen so that no column adds to ten or more; without borrowing, each digit of the subtrahend is no larger than the digit above it. If your range cannot satisfy the rule, for example a minimum of 90 with no carrying, the generator falls back to ordinary numbers rather than fail.

Division is built backwards so it is always exact: a divisor and a quotient are drawn from the range, and the dividend is their product. With remainders switched on, a remainder from 0 up to divisor minus 1 is added and the key shows it as 6 R 5. For division the range therefore applies to the divisor and the quotient, not to the dividend. Division is drawn as long division, with the divisor outside a bracket, when the layout is vertical.

The four fraction operations use proper fractions with denominators from 2 up to your maximum (3 to 20), with numerators that share no factor with their denominator. Subtraction orders the pair so the result is positive. Answers are reduced to lowest terms, and an improper result is shown as a mixed number, such as 1 5/12, unless you turn that off. An option gives both fractions the same denominator for addition and subtraction practice. Fractions are drawn stacked over a bar.

Mixed operations pick one of eight patterns such as a + b × c, (a + b) × c, a ÷ b + c or a – b × c, so that order of operations matters, and keep every intermediate result a whole non-negative number. The multiplying and dividing numbers are limited to 2 through 12 (capped by your range), so totals can exceed the range. Up to 100 problems per sheet; the generator retries to avoid duplicate problems and, when the range is too narrow to give enough different ones, tells you how many repeat.

The seed is combined with the operation list, the range and the count to start a seeded random generator, so changing any of them changes the sheet, and keeping them all gives the same sheet on any device. Output is A4 or US Letter with one to five columns, optional name and date lines, a title you choose, and the seed printed in the footer. The answer key has its own page, in a compact layout, and can be printed alone.

How it works

Problems are generated as data first, with the question and answer as drawing items, and then laid out by one function that measures text with the real font widths. The preview is a render of the same PDF that you download, so what you see is what prints.

Typical uses

  • Giving a class of 30 three versions of the same 10-problem quiz by changing only the seed
  • Drilling the 6, 7 and 8 times tables with factors from 6 to 8
  • Practising 20 long-division problems with remainders, divisors 2 to 9, before a test
  • Preparing homework on adding fractions with unlike denominators for one child and like denominators for another

Building one

  1. Tick the operations, set the number range and the count, then choose the layout, columns and paper.
  2. Look at both pages in the preview; press New random sheet for a different set.
  3. Download the PDF, and keep the seed if you will want to regenerate it.

Example

Settings

Addition, numbers 10 to 99, 5 problems, vertical, seed abc123

Worksheet and answer key

24 + 86, 95 + 43, 40 + 29, 89 + 77, 83 + 74
Key: 110, 138, 69, 166, 157

Tips for best results

  • Write the seed on the answer key's corner of your lesson plan; it is the only thing you need to rebuild the sheet.
  • For a quick quiz, use 10 problems in 2 columns with vertical layout; the sheet leaves room to write answers.
  • For a mixed review, tick addition, subtraction and multiplication together: the operations are shuffled through the sheet, so it does not come out as three separate blocks.
  • Use multiplication with a range of 2 to 12 for a times-table drill, and add division with the same range to get the inverse facts on the same sheet.

Things to check before you rely on it

Changing the count changes every problem, not just the length of the sheet, because the count is part of the seed.

The minus sign in the PDF is an en dash, the closest character in the standard PDF fonts.

Common errors and how to fix them

"fewer than N different problems"
The range is too small to make that many distinct problems; multiplication with factors 2 to 3 has only four. Widen the range or lower the count.
Carry-free addition shows an unavoidable carry
When the minimum forces a high first digit the rule cannot be met, so the generator uses ordinary pairs. Lower the minimum or the number of digits.

Best practices

  • Print the answer key on its own sheet and keep the seed with it; the key is the same sheet in a compact layout, so a second print later gives the same answers.

Frequently asked questions

Can I get negative numbers or decimals?

Not in this version. Subtraction is kept non-negative and all arithmetic is on whole numbers and fractions.

Will two people with the same seed get the same sheet?

Yes, as long as the operations, range and count are also the same. The number generator is deterministic, so it does not depend on the device.

Can I print only the answer key?

Yes. The output choice offers worksheet and key, worksheet only, or key only, so you can print the key for the marker and give the worksheet to the students from a separate run.