Egyptian Fraction Calculator

Decompose fractions into sums of distinct unit fractions with greedy-method steps, improper-fraction handling, term visuals, and exact checks.

Greedy Egyptian-fraction rule
For a proper fraction n/d, choose the first unit fraction 1/ceil(d/n), subtract it, simplify the remainder, and repeat until the remainder is zero.
Egyptian form
1/2 + 1/3
Distinct unit fractions produced by the greedy method
Input fraction
5/6
Normalized for decomposition
Whole-number part
0
Extracted before unit-fraction decomposition when needed
Proper remainder
5/6
Only the proper remainder is broken into unit fractions
Unit-fraction terms
2
More terms usually mean a longer but still exact expansion
Largest unit fraction
1/2
The earliest greedy term contributes the most
Smallest unit fraction
1/3
The last term is usually the finest remaining piece
Decimal check
0.833333
Matches the original fraction exactly

Term-size visual

1/20.500000
1/30.333333

Greedy decomposition steps

StepChosen unit fractionRemaining fraction
11/21/3
21/30/1

Reference unit fractions

Unit fractionDecimal valueApproximate percent
1/20.50000050.00%
1/30.33333333.33%
Planning notes, formulas, and examples

About the Egyptian Fraction Calculator

<p>The <strong>Egyptian Fraction Calculator</strong> rewrites a fraction as a sum of distinct unit fractions such as 1/2, 1/6, or 1/42. This style of representation goes back to ancient Egyptian mathematics, where fractions were commonly written as sums of reciprocals of positive integers. Today, Egyptian fractions still appear in number theory, proof exercises, mathematical history, and enrichment activities that explore how many different ways a rational number can be represented.</p> <p>This calculator uses the standard greedy method: at each step, it chooses the largest possible unit fraction that does not exceed the remaining fraction, subtracts it, simplifies the remainder, and repeats. That produces a transparent step-by-step decomposition table rather than only a final symbolic answer.</p> <p>It can also handle improper fractions by extracting the whole-number part first, which makes the remaining work a proper-fraction decomposition. The output includes term counts, largest and smallest unit fractions, decimal verification, and a visual comparison of term sizes so you can see how the sum is built piece by piece.</p>

When This Page Helps

Egyptian-fraction decomposition is easy to get lost in by hand because every step creates a new subtraction and a new simplification problem. This calculator automates the bookkeeping while still exposing the greedy logic, so you can learn the method, verify classwork, or explore how different fractions break into distinct unit terms.

How to Use the Inputs

  1. Enter the numerator and denominator of the fraction you want to decompose.
  2. Choose whether improper fractions should be split into a whole number plus a proper remainder first.
  3. Select whether the fraction should be simplified before decomposition begins.
  4. Set the maximum number of unit-fraction terms to allow.
  5. Choose your decimal precision for the verification output.
  6. Review the Egyptian-fraction sum, the greedy-step table, and the term-size visual.
Formula used
For a proper fraction n/d, choose the next term as 1/ceil(d/n), subtract it from n/d, simplify the remainder, and repeat until the remainder is zero.

Example Calculation

Result: 5/6 = 1/2 + 1/3

The largest unit fraction not greater than 5/6 is 1/2. Subtracting leaves 1/3, which is already a unit fraction, so the decomposition is 1/2 + 1/3.

Tips & Best Practices

  • Simplifying before decomposition usually reduces the size of later denominators.
  • The greedy method is standard, but it is not the only possible Egyptian-fraction representation for a given rational number.
  • Improper fractions are easier to read if you extract the whole-number part first.
  • Later unit fractions usually have much larger denominators than the first term.
  • A decimal check is useful for confirming that the full unit-fraction sum still matches the original fraction exactly.

Egyptian Fractions and Mathematical History

Ancient Egyptian scribes developed a system that represented most fractions as sums of unit fractions. That historical approach is still studied because it connects arithmetic, number theory, and the history of mathematical notation.

How the Greedy Method Works

The greedy method always takes the largest unit fraction possible at each step. It is systematic, easy to automate, and guaranteed to finish for positive rational numbers, which makes it a natural classroom algorithm.

Why Distinct Unit Fractions Matter

Egyptian fractions are not just about splitting a value into any small pieces. The unit fractions are distinct, which forces the decomposition to be more structured and often more interesting than an ordinary sum of equal parts.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • An Egyptian fraction writes a positive rational number as a sum of distinct unit fractions, where each unit fraction has numerator 1.