Random Fraction Generator
Set a range for the numerator and one for the denominator, press the button and get one random fraction to copy.The Random Fraction Generator gives you one fraction at a time, with the numerator and denominator each picked at random from a range you control. Out of the box it draws both from 1 to 10, so you might get 3/7, 9/2 or 5/5. Change the four boxes and it will happily produce 13/100 or 47/12 instead. It is a quick way to get a fraction you did not choose, which is exactly what you want for practice problems, quizzes and worksheets.
What you can set
- Minimum and maximum numerator (top number). Defaults are 1 and 10.
- Minimum and maximum denominator (bottom number). Defaults are 1 and 10.
All four values must be whole numbers of 1 or more, and both ends of each range are included. If you type a minimum that is larger than its maximum, the tool swaps them for you rather than failing. Because the lowest allowed denominator is 1, you will never get a division by zero, but you can get fractions like 6/1 that are really whole numbers.
What the result looks like
You get a single fraction written as numerator/denominator, for example 7/9, on a card with a copy button. The fraction is shown exactly as drawn: the tool does not reduce it, so 4/8 stays 4/8 rather than becoming 1/2, and it does not convert improper fractions to mixed numbers. That is deliberate. Simplifying and converting are the exercises, and the raw fraction is the question.
There is no "how many" setting. For two random fractions, or a full worksheet, press the button as many times as you need and copy each one.
Ways people use it
- Simplifying practice. Leave the defaults and reduce whatever comes up. About one in three fractions from the 1–10 range can be simplified, which keeps students guessing.
- Improper fraction drills. Set the numerator range to 11–50 and the denominator range to 2–10. Every result will be top-heavy and needs converting to a mixed number.
- Proper fractions only. Set the numerator to 1–9 and the denominator to 10–20 so the top is always smaller than the bottom.
- Two-fraction problems. Generate twice and ask students to add, subtract or compare the pair. A denominator range of 2–12 keeps common denominators manageable.
- Random test data. Developers checking how a form or a parser handles rational input can grab a few odd-looking values like 97/3 quickly.
Choosing ranges for the kind of fraction you want
| Goal | Numerator range | Denominator range | Sample results |
|---|---|---|---|
| Anything (default) | 1–10 | 1–10 | 7/9, 10/4, 5/5 |
| Always proper | 1–9 | 10–20 | 3/14, 8/11, 1/20 |
| Always improper | 11–50 | 2–10 | 23/4, 47/10, 12/2 |
| Unit fractions | 1–1 | 2–12 | 1/3, 1/8, 1/12 |
| Halves, quarters, eighths | 1–7 | 8–8 | 3/8, 6/8, 1/8 |
| Hundredths (for percent work) | 1–99 | 100–100 | 37/100, 5/100, 88/100 |
Setting a range to the same number on both ends pins that part of the fraction, which is how you get the unit-fraction and hundredths rows above. For hundredths you may find the Random Percentage Generator more direct, and for whole numbers with a particular property there are dedicated tools for even, odd and prime numbers, plus a binary number generator if you are working in base 2. You will find the rest under all number generators.
Frequently asked questions
- Can it give me an improper fraction?
Yes. With the default 1–10 ranges roughly half the results have a numerator larger than the denominator. To force improper fractions every time, set the minimum numerator higher than the maximum denominator, for example numerator 11–50 and denominator 2–10.
- Does it simplify the fraction?
No. The fraction is shown exactly as the two numbers were drawn, so you may see 4/8 or 10/10. Reducing it is left to you, which is usually the point of the exercise.
- Can I generate two random fractions at once?
Not in one click. The tool returns one fraction per press. Press Generate Fraction twice and copy each result.
- Can the denominator be zero?
No. Every input has a minimum of 1, so the denominator is always at least 1. A denominator of exactly 1 is possible, which gives a whole number written as a fraction, such as 6/1.
- Can I use decimals or negative numbers in the ranges?
No. The inputs accept whole numbers from 1 upward. Decimal values are truncated to the whole part and negative values are rejected by the form.



