Continued Fraction Calculator

Convert a number to a continued fraction with convergents, or evaluate a continued fraction.

Results

Enter your details and click Calculate to see your results.
About This Calculator

aₖ = floor(x), then x ← 1/(x − aₖ).

Example

Example: the default inputs → Continued Fraction: [3; 7, 15, 1, 288, 1, 2, 1, 3, 1].

Assumptions

Exact maths — check the input format shown in each field.

Frequently Asked Questions

What is π as a continued fraction?

[3; 7, 15, 1, 292, …].

What are convergents?

Best rational approximations like 22/7 and 355/113.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile