Math Last updated: July 2026

Egyptian Fractions Calculator

Convert any fraction to Egyptian fractions — a sum of distinct unit fractions. Enter a fraction to see its greedy algorithm decomposition with step-by-step work.

How to Use the Egyptian Fractions Calculator

Interactive calculator available after JavaScript loads.

Loading calculator...

Written by Calculator Archive Team

Math & Finance Experts — Verified Formulas, Peer-Reviewed Sources, Expert Analysis

Looking for a deeper explanation?

Read our comprehensive, peer-reviewed educational article in our Blog to learn the underlying math, formulas, and step-by-step examples.

Read Blog Guide ›

Mathematical Formula & Logic

Greedy algorithm (Fibonacci-Sylvester): At each step, find the largest unit fraction 1/n where n = ⌈b/a⌉ (ceiling of denominator/numerator). Subtract it from the current fraction and repeat with the remainder until the remainder is a unit fraction.
Variable Glossary
a/b The fraction to decompose into unit fractions
⌈b/a⌉ The ceiling of b divided by a — the smallest integer ≥ b/a
Unit fraction A fraction with numerator 1 (e.g., 1/2, 1/3, 1/7)
Greedy algorithm At each step, choose the largest possible unit fraction

Step-by-Step Worked Calculation

Scenario: Converting 5/7 to Egyptian Fractions

Decompose 5/7 into a sum of distinct unit fractions using the greedy algorithm.

1

Step 1: 5/7 — find largest unit fraction: ⌈7/5⌉ = 2, so 1/2 is first.

2

Step 2: Subtract: 5/7 - 1/2 = 10/14 - 7/14 = 3/14.

3

Step 3: 3/14 — find largest unit fraction: ⌈14/3⌉ = 5, so 1/5 is next.

4

Step 4: Subtract: 3/14 - 1/5 = 15/70 - 14/70 = 1/70.

5

Step 5: Result: 5/7 = 1/2 + 1/5 + 1/70. Verify: 35/70 + 14/70 + 1/70 = 50/70 = 5/7. —

How to Use the Egyptian Fractions Calculator

  1. 1. Enter the numerator and denominator of the fraction you want to decompose.
  2. 2. The calculator applies the greedy algorithm to find distinct unit fractions.
  3. 3. Review each step showing how the largest possible unit fraction is subtracted.
  4. 4. See the final Egyptian fraction representation as a sum of unit fractions (1/a + 1/b + ...).

What Is a Egyptian Fractions Calculator?

Egyptian Fractions Calculator is a mathematical computation tool that helps you convert any fraction to Egyptian fractions — a sum of distinct unit fractions. Find the greedy algorithm decomposition with step-by-step explanation. It applies established mathematical principles to deliver accurate results, often showing the underlying formula and step-by-step working so you can understand the computation process.

Why This Calculation Matters

Mathematical calculations form the foundation of science, engineering, finance, and everyday problem-solving. Egyptian Fractions Calculator helps you work through calculations accurately and efficiently, reducing the risk of manual arithmetic errors. Whether you are a student learning concepts, a professional verifying work, or anyone needing quick and reliable math results, this tool ensures precision and saves time.

Historical Background

Mathematics has evolved over thousands of years, from ancient Babylonian clay tablets and Egyptian papyri to Greek formal proofs by Euclid and Archimedes. The development of algebra by Persian mathematician al-Khwarizmi in the 9th century and the invention of calculus by Newton and Leibniz in the 17th century laid the groundwork for modern computation. Egyptian Fractions Calculator continues this tradition by making mathematical operations accessible through digital technology.

Frequently Asked Questions

Complete indexable directory of answers (11 questions)

What are Egyptian fractions?

Egyptian fractions are representations of fractions as sums of distinct unit fractions (fractions with numerator 1). The ancient Egyptians used this system exclusively. For example, 2/3 = 1/2 + 1/6.

What is the greedy algorithm for Egyptian fractions?

The greedy algorithm (also called the Fibonacci-Sylvester algorithm) repeatedly finds the largest unit fraction that fits into the current remainder. At each step, take 1/⌈denominator/numerator⌉ and subtract it from the fraction.

Are there always multiple representations?

Yes. Every fraction can be expressed as Egyptian fractions in infinitely many ways. The greedy algorithm gives one specific decomposition, but there are other methods that may produce fewer terms or different representations.

How do I know when the decomposition is complete?

The algorithm terminates when the remaining fraction is itself a unit fraction (numerator = 1). The greedy algorithm is guaranteed to terminate for any positive fraction.

Can improper fractions be converted?

Yes, but first separate the whole number part. For example, 7/3 = 2 + 1/3, and the fractional part 1/3 is already a unit fraction. So 7/3 = 1 + 1 + 1/3 in Egyptian form.

What is the difference between Egyptian and common fractions?

Common fractions allow any numerator (e.g., 3/7). Egyptian fractions require all numerators to be 1 (e.g., 1/3 + 1/11 + 1/231). Egyptian fractions are always sums of distinct unit fractions.

Why were Egyptian fractions important historically?

The ancient Egyptians (c. 1800 BCE) used only unit fractions in their mathematics, as documented in the Rhind Mathematical Papyrus. They had special symbols for 2/3 and used tables to help decompose other fractions.

Can the greedy algorithm produce many terms?

Yes, the greedy algorithm can sometimes produce very large denominators and many terms. For some fractions, alternative methods may give simpler decompositions with fewer or smaller terms.

What mathematical formula does the Egyptian Fractions Calculator use?

The Egyptian Fractions Calculator uses standard mathematical formulas validated against authoritative references. The specific formula is displayed in the calculator interface with a detailed explanation of each variable.

How can I verify the Egyptian Fractions Calculator results manually?

Each calculator includes a step-by-step worked example showing exactly how the formula is applied. You can follow these steps with pen and paper to verify any result.

What types of inputs does the Egyptian Fractions Calculator accept?

The Egyptian Fractions Calculator accepts numeric inputs including integers and decimals. Invalid inputs (letters, special characters) are rejected with clear error messages.