Random Fraction Generator
Generate a random fraction with a denominator up to your chosen maximum, shown both in simplified form and as a decimal.
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 and the fraction is shown as drawn, alongside its lowest-terms form and its decimal value. Showing the unsimplified form first is deliberate — a fraction that arrives already simplified gives a learner nothing to simplify, which is usually the point of asking for one.
Limitations and good to know
- Fractions are produced in the form drawn and are not always in lowest terms, which is often what you want for simplification practice.
- The denominator is never zero.
- Improper fractions — numerator larger than denominator — are produced when the ranges allow, and they are perfectly valid fractions.
- The decimal form is rounded, so a recurring decimal will not read exactly and converting it back will not return the fraction.
Related generators
- Random Decimal GeneratorGenerate random decimal numbers within any range, with control over 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.