Generate Random Fractions
Generate random fractions with configurable numerator and denominator ranges
Spit out up to 500 random fractions at once, with your own numerator and denominator ranges. Toggle simplify to lowest terms, proper-only, or decimal equivalents depending on what the worksheet or quiz actually needs. And everything runs in your browser. Nothing gets uploaded.
How It Works
You set the max numerator and denominator, choose how many fractions you want, and toggle options like simplify or proper-only. The tool picks random integers within your ranges, pairs them as numerator/denominator, and optionally reduces each fraction using the greatest common divisor. Results show up instantly — copy them with one click.
Examples
Quick Batch for a Pop Quiz
A teacher needs 5 simple proper fractions for a 4th-grade warm-up exercise.
Count: 5
Max Numerator: 9
Max Denominator: 9
Proper only: ON
Simplify: ON
2/7
1/3
4/5
3/8
1/2
Improper Fractions with Decimals for a Study Sheet
A student practicing mixed numbers wants improper fractions alongside their decimal values to check conversions.
Count: 4
Max Numerator: 20
Max Denominator: 10
Proper only: OFF
Show decimal: ON
17/6 = 2.8333
3/2 = 1.5000
11/4 = 2.7500
9/7 = 1.2857
Large Set for App Testing
A developer building a fraction calculator needs 200 random fractions with big denominators to stress-test their parser.
Count: 200
Max Numerator: 999
Max Denominator: 999
Simplify: OFF
437/812
29/541
663/77
... (200 fractions total)
Who Uses This
Generate unique fraction sets for worksheets, quizzes, and homework — no two students get the same problems.
Create test data for math apps, fraction calculators, and educational software without writing seed scripts.
Practice simplifying, converting to decimals, or adding fractions with fresh problems every time.
Pull up random fractions during live sessions instead of reusing the same tired textbook examples.
Common Mistakes
The tool caps the numerator below the denominator when Proper only is enabled, so your max numerator setting gets ignored. If you want fractions like 15/20, make sure the denominator max is at least 21.
Simplify is on by default. If you need raw, unreduced fractions (say, for a GCD exercise), uncheck it first. Otherwise 4/8 will always show as 1/2.
A denominator of 1 just gives you whole numbers, not fractions. The minimum is 2 for a reason. The tool will flag an error if you try.
Technical Details
- Processing: 100% client-side JavaScript
- Max Count: 500 fractions per generation
- Numerator Range: 1 to 1,000
- Denominator Range: 2 to 1,000
- Browser Support: Chrome, Firefox, Safari, Edge
- Simplification: Euclidean GCD algorithm
Frequently Asked Questions
How do I generate only proper fractions?
Check the "Proper only" toggle in the toolbar. This forces every numerator to be smaller than its denominator, so all results fall between 0 and 1. The tool adjusts automatically — you don't need to change your numerator range.
What does simplifying a fraction mean?
Simplifying (or reducing) divides both the numerator and denominator by their greatest common divisor. So 6/9 becomes 2/3, and 12/8 becomes 3/2. Same value, just smaller numbers. Turn this off if you specifically need unreduced fractions.
Can I get fractions with a specific denominator like 8 or 12?
Not directly — the tool picks random denominators from 2 up to your max. But if you turn off Simplify and set a small range (like max denominator 12), you will get denominators in the 2–12 range. For a single fixed denominator, generate a larger batch and filter manually.
Is this truly random or pseudorandom?
Pseudorandom. The tool uses JavaScript's Math.random(), which is a PRNG. More than good enough for worksheets, test data, and practice problems. Not suitable for cryptography — but that is not what fraction generators are for.
Does any data get sent to a server?
No. Zero data leaves your browser. The fractions are generated entirely with client-side JavaScript. There is no server involved, no tracking of what you generate, and nothing stored anywhere. Close the tab and it's gone.