Skip to main content
Skip to calculator
Advertisement

Last updated: July 31, 2026

Egyptian Fractions Calculator

Helpful
Not helpful
Save as image
Share
Embed
Cite
Write feedback

Formula

numerator/denominator = Σ(1/di) using greedy Egyptian-fraction decomposition

Where:

  • numerator=numerator
  • denominator=denominator
Egyptian Fraction DecompositionThe fraction 3/4 is decomposed into the sum of two distinct unit fractions, 1/2 and 1/4.3/41/2 + 1/4Greedy AlgorithmRepeatedly subtract thelargest unit fraction thatfits in the remainder
An Egyptian fraction expresses a fraction as a sum of distinct unit fractions (numerator 1).

Worked Examples

4/13 decomposition

Classic greedy decomposition example.

  1. 1Pick 1/4 then reduce remainder
  2. 2Continue greedily until remainder is zero
Final Answer: unitFractions = 1/4 + 1/18 + 1/468, termCount = 3

2/3 decomposition

Simple two-term decomposition.

  1. 1Pick 1/2
  2. 2Remainder is 1/6
Final Answer: unitFractions = 1/2 + 1/6, termCount = 2

3/7 decomposition

Another proper fraction.

  1. 1Pick 1/3 then reduce
  2. 2Finish with 1/11 and 1/231
Final Answer: unitFractions = 1/3 + 1/11 + 1/231, termCount = 3

Introduction

Decompose a proper fraction into distinct unit fractions using the Fibonacci-Sylvester greedy algorithm.

Formula and Method

Egyptian Fractions Calculator uses: numerator/denominator = Σ(1/di) using greedy Egyptian-fraction decomposition

  • Enter all required inputs

  • Apply the underlying math formula(s)

  • Compute supporting terms where needed

  • Round numeric outputs for stable display

Input Fields

Provide values for: numerator, denominator.

  1. 1

    numerator: numerator

  2. 2

    denominator: denominator

Output Fields

The calculator returns: unitFractions, termCount.

  1. 1

    unitFractions: Egyptian fraction expansion as a sum of unit fractions

  2. 2

    termCount: Number of unit-fraction terms in the expansion

Validation Rules

Input validation is applied before calculation to prevent invalid math states.

  • numerator and denominator must be positive integers.

  • numerator must be smaller than denominator (proper fraction).

  • Algorithm is capped at 20 terms for safety.

  • If decomposition fails, the calculator returns an error state.

How to Use This Calculator

Fill in the inputs, run the calculator, and review primary output first.

  • Enter the required values

  • Click calculate

  • Check the primary output

  • Use example scenarios for verification

Practical Uses

This calculator supports learning, quick checks, and day-to-day technical problem solving.

  • Homework and exam preparation

  • Engineering and science sanity checks

  • Classroom demonstrations

  • Fast recalculation with different inputs

FAQs

What does the Egyptian Fractions Calculator compute?

Decompose a proper fraction into distinct unit fractions using the Fibonacci-Sylvester greedy algorithm.

Which inputs are required?

Required inputs: numerator, denominator.

How should I format numbers?

Use finite numeric values; decimals and negative numbers are allowed unless restricted by validation rules.

How are results rounded?

Numeric outputs are rounded to about 6 decimal places for readability.

Why might I see an error?

numerator and denominator must be positive integers.

Can I use this for learning and verification?

Yes. Use the examples and formula section to verify manual calculations quickly.