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
| n | aβ | pβ/qβ | Value |
|---|---|---|---|
| 0 | 3 | 3/1 | 3.00000000 |
| 1 | 7 | 22/7 | 3.14285714 |
| 2 | 16 | 355/113 | 3.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βββ)