Numbers

Random Fraction Generator

Generate a random fraction, automatically simplified to lowest terms and displayed as a proper stacked fraction — ideal for maths practice and worksheets.

Cryptographically secure Instant, in your browser Free, no sign-up

Generate

Your result will appear here

How the Random Fraction Generator works

Each fraction starts as a random denominator between 2 and your chosen maximum, paired with a random numerator smaller than that denominator, then both are divided by their greatest common divisor so the result is always shown in simplest form — you'll never see an unsimplified fraction like 4/8 when it should read 1/2.

The visual stacked display (numerator over a dividing line over denominator) mirrors how fractions are written on paper, making this a natural fit for generating quick maths practice problems or classroom worksheets.

How to use it

1
Set the max denominatorThis controls how 'fine' the fractions can be — 12 gives friendly denominators like halves, thirds, and quarters.
2
Choose how manyGenerate one fraction, or a whole worksheet's worth at once.
3
GenerateXrandom picks a random numerator and denominator, then simplifies the fraction to lowest terms automatically.

Frequently asked questions

Will I ever see an improper fraction greater than 1?

No, the numerator is always drawn smaller than the denominator, so every result is a proper fraction between 0 and 1.

Why does the denominator sometimes look smaller than my maximum?

After simplifying to lowest terms, the displayed denominator can be smaller than the randomly drawn one — for example 6/12 simplifies to 1/2.

Can I generate improper or mixed fractions?

Not currently — this tool focuses on simple proper fractions for practice; combine two draws manually if you need a mixed number.