Random Generators100% Client-Side

Generate Reduced Random Fractions

Choose the maximum denominator and the number of fractions to generate. The tool selects a denominator of at least two, draws a smaller positive numerator, and reduces each fraction before displaying it. Every result is printed as a numerator and denominator separated by a slash. Use the page to prepare practice problems or to build a short input fixture containing fractions in their reduced form.

Configuration Options
Output

How to Use the Random Fraction Generator Online

  1. 1Set Maximum Denominator from 2 to 100.
  2. 2Choose Fraction Count to control the number of output lines.
  3. 3Use Generate, then inspect each numerator and denominator pair.
  4. 4Copy the results if they should stay fixed in a worksheet or test.

Input & Output Examples

One possible result. Every fraction is reduced and has a denominator no greater than five.

Input Sample
Three fractions, maximum denominator 5
Expected Output
1/5
2/3
3/4

Only one proper fraction is possible at this limit, so both lines are identical.

Input Sample
Two fractions, maximum denominator 2
Expected Output
1/2
1/2

Practical Developer Workflows

  • Create a fraction comparison exercise with several different denominators.
  • Generate inputs for a parser that accepts numerator and denominator notation.
  • Try an example with a very small denominator limit to check how the generator handles repeated results.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

Yes. Each fraction is reduced before display, so a draw of two fourths appears as one half. The final denominator remains at or below the limit, even though it can be smaller than the denominator originally selected.

Explore Other Tools

12 suggested tools

View all tools