Random Fraction Generator
Generate a random fraction with a denominator up to your chosen maximum, shown both simplified and as a decimal — for fraction practice in the classroom, or anywhere an exact rational value is wanted instead of a rounded one.
What this generator does
Produces a fraction rather than a decimal, for maths practice and for cases needing an exact rational value where a decimal would round.
How to use this tool
- Set a maximum denominator.
- Generate to see a random fraction, simplified, with its decimal value.
Common use cases
- Maths classroom practice with fractions
- Generating a random ratio or proportion
- Quick fraction-to-decimal conversion practice
How this generator works
A numerator and denominator are drawn, then reduced by their greatest common divisor before anything is shown — only the reduced fraction and its decimal value appear, not the original draw.
Limitations and good to know
- Only the reduced fraction is shown, already in lowest terms — the unsimplified numerator and denominator that were actually drawn are not displayed, so this is not a tool for simplification practice.
- The denominator is never zero.
- The fraction is always proper: the numerator is always smaller than the denominator, so a value of one or greater is never produced.
- The decimal form is rounded to three decimal places, so a recurring decimal will not read exactly and converting it back will not return the fraction.
Related generators
- Random Decimal GeneratorGenerate a random decimal number within any range, rounded to four decimal places.
- Best Rational Approximation GeneratorFinds the closest fraction to a decimal within a denominator limit, proved by testing every denominator up to that limit.
- Random Number GeneratorGenerate one or many random numbers within any range, with optional duplicate control and sorting.
- Roman Numeral GeneratorA number converted to Roman numerals, alongside the original figure.
- Fractions Worksheet GeneratorSheets on adding, multiplying, simplifying and comparing fractions, with every answer given in its simplest form and checked.