Continued Fraction Calculator

Convert fractions to continued fraction representation and calculate convergents.

Enter Fraction

About Continued Fractions

A continued fraction has the form:

aβ‚€ + 1/(a₁ + 1/(aβ‚‚ + 1/(a₃ + ...)))

Notation: [aβ‚€; a₁, aβ‚‚, a₃, ...]

Continued Fraction

[3; 7, 16]

= 3.1415929204

Terms
3
Type
Finite

Convergents

naβ‚™pβ‚™/qβ‚™Value
033/13.00000000
1722/73.14285714
216355/1133.14159292

Properties

  • Rational numbers have finite continued fractions
  • Irrational numbers have infinite continued fractions
  • Convergents give best rational approximations
  • |x - pβ‚™/qβ‚™| < 1/(qβ‚™ * qβ‚™β‚Šβ‚)